Michael Yang
2025-05-07 c7c7713c377eabd95f2a1fda4e269b2d0f1935cf
chore: 升级 Tinyflow 到最新版本
4个文件已修改
82 ■■■■ 已修改文件
aiflowy-modules/aiflowy-module-ai/pom.xml 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
aiflowy-ui-react/package-lock.json 76 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
aiflowy-ui-react/package.json 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
pom.xml 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
aiflowy-modules/aiflowy-module-ai/pom.xml
@@ -32,7 +32,7 @@
        <dependency>
            <groupId>dev.tinyflow</groupId>
            <artifactId>tinyflow-java-core</artifactId>
            <version>1.0.2</version>
            <version>1.0.3</version>
        </dependency>
        <!--使用 enjoy 模板引擎-->
        <dependency>
aiflowy-ui-react/package-lock.json
@@ -11,7 +11,7 @@
        "@ant-design/icons": "^5.6.1",
        "@ant-design/pro-components": "^2.8.7",
        "@ant-design/x": "^1.1.0",
        "@tinyflow-ai/react": "^0.1.5",
        "@tinyflow-ai/react": "^0.1.6",
        "ahooks": "^3.8.4",
        "aieditor": "^1.3.6",
        "antd": "^5.24.6",
@@ -1565,26 +1565,29 @@
      }
    },
    "node_modules/@floating-ui/core": {
      "version": "1.6.9",
      "resolved": "https://registry.npmjs.org/@floating-ui/core/-/core-1.6.9.tgz",
      "integrity": "sha512-uMXCuQ3BItDUbAMhIXw7UPXRfAlOAvZzdK9BWpE60MCn+Svt3aLn9jsPTi/WNGlRUu2uI0v5S7JiIUsbsvh3fw==",
      "version": "1.7.0",
      "resolved": "https://registry.npmjs.org/@floating-ui/core/-/core-1.7.0.tgz",
      "integrity": "sha512-FRdBLykrPPA6P76GGGqlex/e7fbe0F1ykgxHYNXQsH/iTEtjMj/f9bpY5oQqbjt5VgZvgz/uKXbGuROijh3VLA==",
      "license": "MIT",
      "dependencies": {
        "@floating-ui/utils": "^0.2.9"
      }
    },
    "node_modules/@floating-ui/dom": {
      "version": "1.6.13",
      "resolved": "https://registry.npmjs.org/@floating-ui/dom/-/dom-1.6.13.tgz",
      "integrity": "sha512-umqzocjDgNRGTuO7Q8CU32dkHkECqI8ZdMZ5Swb6QAM0t5rnlrN3lGo1hdpscRd3WS8T6DKYK4ephgIH9iRh3w==",
      "version": "1.7.0",
      "resolved": "https://registry.npmjs.org/@floating-ui/dom/-/dom-1.7.0.tgz",
      "integrity": "sha512-lGTor4VlXcesUMh1cupTUTDoCxMb0V6bm3CnxHzQcw8Eaf1jQbgQX4i02fYgT0vJ82tb5MZ4CZk1LRGkktJCzg==",
      "license": "MIT",
      "dependencies": {
        "@floating-ui/core": "^1.6.0",
        "@floating-ui/core": "^1.7.0",
        "@floating-ui/utils": "^0.2.9"
      }
    },
    "node_modules/@floating-ui/utils": {
      "version": "0.2.9",
      "resolved": "https://registry.npmjs.org/@floating-ui/utils/-/utils-0.2.9.tgz",
      "integrity": "sha512-MDWhGtE+eHw5JW7lq4qhc5yRLS11ERl1c7Z6Xd0a58DozHES6EnNNwUWbMiG4J9Cgj053Bhk8zvlhFYKVhULwg=="
      "integrity": "sha512-MDWhGtE+eHw5JW7lq4qhc5yRLS11ERl1c7Z6Xd0a58DozHES6EnNNwUWbMiG4J9Cgj053Bhk8zvlhFYKVhULwg==",
      "license": "MIT"
    },
    "node_modules/@humanwhocodes/config-array": {
      "version": "0.11.14",
@@ -2183,6 +2186,7 @@
      "version": "3.1.1",
      "resolved": "https://registry.npmjs.org/@svelte-put/shortcut/-/shortcut-3.1.1.tgz",
      "integrity": "sha512-2L5EYTZXiaKvbEelVkg5znxqvfZGZai3m97+cAiUBhLZwXnGtviTDpHxOoZBsqz41szlfRMcamW/8o0+fbW3ZQ==",
      "license": "MIT",
      "peerDependencies": {
        "svelte": "^3.55.0 || ^4.0.0 || ^5.0.0"
      }
@@ -2191,17 +2195,19 @@
      "version": "1.0.5",
      "resolved": "https://registry.npmjs.org/@sveltejs/acorn-typescript/-/acorn-typescript-1.0.5.tgz",
      "integrity": "sha512-IwQk4yfwLdibDlrXVE04jTZYlLnwsTT2PIOQQGNLWfjavGifnk1JD1LcZjZaBTRcxZu2FfPfNLOE04DSu9lqtQ==",
      "license": "MIT",
      "peer": true,
      "peerDependencies": {
        "acorn": "^8.9.0"
      }
    },
    "node_modules/@tinyflow-ai/react": {
      "version": "0.1.5",
      "resolved": "https://registry.npmjs.org/@tinyflow-ai/react/-/react-0.1.5.tgz",
      "integrity": "sha512-Zvci7S9UtK5+cD0aImcgwKWuyI+kY547vDXUMeXnllmczsway5NpuT9Q9ai1XpC9pgIcMTL2dH3iQlC+JT5eIQ==",
      "version": "0.1.6",
      "resolved": "https://registry.npmjs.org/@tinyflow-ai/react/-/react-0.1.6.tgz",
      "integrity": "sha512-41/3p1bBYmFV8YHClAawbAmQs6S15wleJrJcStec7BPaDUHSF5Fn75yg2oHczImP68LAKQsCLJDoGblXD0qJqQ==",
      "license": "LGPL-3.0-or-later",
      "dependencies": {
        "@tinyflow-ai/ui": "0.1.5"
        "@tinyflow-ai/ui": "0.1.6"
      },
      "peerDependencies": {
        "react": "^18.2.0",
@@ -2209,12 +2215,13 @@
      }
    },
    "node_modules/@tinyflow-ai/ui": {
      "version": "0.1.5",
      "resolved": "https://registry.npmjs.org/@tinyflow-ai/ui/-/ui-0.1.5.tgz",
      "integrity": "sha512-xbBjWsgRcHa1zreeMZv/xCno81FAV+WRHSdt/6Po7Ee9mSeX2lntzKxeHZljQc2KYm8HwWrqhIGK7oyEhzjZVw==",
      "version": "0.1.6",
      "resolved": "https://registry.npmjs.org/@tinyflow-ai/ui/-/ui-0.1.6.tgz",
      "integrity": "sha512-UVIFVBPqv4UAyPsNrHZwubbZi2lTc8vzkvfSjvXJkQ0+Bsfhl3+40hYS7PqpTMZnNV22Jbl1L0JNkJ/Wi9IG5Q==",
      "license": "LGPL-3.0-or-later",
      "dependencies": {
        "@floating-ui/dom": "^1.6.13",
        "@xyflow/svelte": "^0.1.31"
        "@floating-ui/dom": "^1.7.0",
        "@xyflow/svelte": "^0.1.37"
      }
    },
    "node_modules/@tiptap/core": {
@@ -2883,12 +2890,14 @@
    "node_modules/@types/d3-color": {
      "version": "3.1.3",
      "resolved": "https://registry.npmjs.org/@types/d3-color/-/d3-color-3.1.3.tgz",
      "integrity": "sha512-iO90scth9WAbmgv7ogoq57O9YpKmFBbmoEoCHDB2xMBY0+/KVrqAaCDyCE16dUspeOvIxFFRI+0sEtqDqy2b4A=="
      "integrity": "sha512-iO90scth9WAbmgv7ogoq57O9YpKmFBbmoEoCHDB2xMBY0+/KVrqAaCDyCE16dUspeOvIxFFRI+0sEtqDqy2b4A==",
      "license": "MIT"
    },
    "node_modules/@types/d3-drag": {
      "version": "3.0.7",
      "resolved": "https://registry.npmjs.org/@types/d3-drag/-/d3-drag-3.0.7.tgz",
      "integrity": "sha512-HE3jVKlzU9AaMazNufooRJ5ZpWmLIoc90A37WU2JMmeq28w1FQqCZswHZ3xR+SuxYftzHq6WU6KJHvqxKzTxxQ==",
      "license": "MIT",
      "dependencies": {
        "@types/d3-selection": "*"
      }
@@ -2897,6 +2906,7 @@
      "version": "3.0.4",
      "resolved": "https://registry.npmjs.org/@types/d3-interpolate/-/d3-interpolate-3.0.4.tgz",
      "integrity": "sha512-mgLPETlrpVV1YRJIglr4Ez47g7Yxjl1lj7YKsiMCb27VJH9W8NVM6Bb9d8kkpG/uAQS5AmbA48q2IAolKKo1MA==",
      "license": "MIT",
      "dependencies": {
        "@types/d3-color": "*"
      }
@@ -2904,12 +2914,14 @@
    "node_modules/@types/d3-selection": {
      "version": "3.0.11",
      "resolved": "https://registry.npmjs.org/@types/d3-selection/-/d3-selection-3.0.11.tgz",
      "integrity": "sha512-bhAXu23DJWsrI45xafYpkQ4NtcKMwWnAC/vKrd2l+nxMFuvOT3XMYTIj2opv8vq8AO5Yh7Qac/nSeP/3zjTK0w=="
      "integrity": "sha512-bhAXu23DJWsrI45xafYpkQ4NtcKMwWnAC/vKrd2l+nxMFuvOT3XMYTIj2opv8vq8AO5Yh7Qac/nSeP/3zjTK0w==",
      "license": "MIT"
    },
    "node_modules/@types/d3-transition": {
      "version": "3.0.9",
      "resolved": "https://registry.npmjs.org/@types/d3-transition/-/d3-transition-3.0.9.tgz",
      "integrity": "sha512-uZS5shfxzO3rGlu0cC3bjmMFKsXv+SmZZcgp0KD22ts4uGXp5EVYGzu/0YdwZeKmddhcAccYtREJKkPfXkZuCg==",
      "license": "MIT",
      "dependencies": {
        "@types/d3-selection": "*"
      }
@@ -2918,6 +2930,7 @@
      "version": "3.0.8",
      "resolved": "https://registry.npmjs.org/@types/d3-zoom/-/d3-zoom-3.0.8.tgz",
      "integrity": "sha512-iqMC4/YlFCSlO8+2Ii1GGGliCAY4XdeG748w5vQUbevlbDu0zSjH/+jojorQVBK/se0j6DUFNPBGSqD3YWYnDw==",
      "license": "MIT",
      "dependencies": {
        "@types/d3-interpolate": "*",
        "@types/d3-selection": "*"
@@ -3268,6 +3281,7 @@
      "version": "0.1.37",
      "resolved": "https://registry.npmjs.org/@xyflow/svelte/-/svelte-0.1.37.tgz",
      "integrity": "sha512-955H1c67kidX/5679nypWOvOFvcDMdMH66h84I5M6oKnoAumJ7Q9gFkWqRflNJQfXeoXJ2OcFTJoGtCXY7AkzQ==",
      "license": "MIT",
      "dependencies": {
        "@svelte-put/shortcut": "3.1.1",
        "@xyflow/system": "0.0.57",
@@ -3281,6 +3295,7 @@
      "version": "0.0.57",
      "resolved": "https://registry.npmjs.org/@xyflow/system/-/system-0.0.57.tgz",
      "integrity": "sha512-1YpBo0WgmZLR5wQw9Jvk3Tu0gISi/oYc4uSimrDuAsA/G2rGleulLrKkM59uuT/QU5m6DYC2VdBDAzjSNMGuBA==",
      "license": "MIT",
      "dependencies": {
        "@types/d3-drag": "^3.0.7",
        "@types/d3-selection": "^3.0.10",
@@ -3553,6 +3568,7 @@
      "version": "5.3.2",
      "resolved": "https://registry.npmjs.org/aria-query/-/aria-query-5.3.2.tgz",
      "integrity": "sha512-COROpnaoap1E2F000S62r6A60uHZnmlvomhfyT2DlTcrY1OrBKn2UhH7qn5wTC9zMvD0AY7csdPSNwKP+7WiQw==",
      "license": "Apache-2.0",
      "peer": true,
      "engines": {
        "node": ">= 0.4"
@@ -3611,6 +3627,7 @@
      "version": "4.1.0",
      "resolved": "https://registry.npmjs.org/axobject-query/-/axobject-query-4.1.0.tgz",
      "integrity": "sha512-qIj0G9wZbMGNLjLmg1PT6v2mE9AH2zlnADJD/2tC6E00hgmhUOfEB6greHPAfLRSufHqROIUTkw6E+M3lH0PTQ==",
      "license": "Apache-2.0",
      "peer": true,
      "engines": {
        "node": ">= 0.4"
@@ -3814,7 +3831,8 @@
    "node_modules/classcat": {
      "version": "5.0.5",
      "resolved": "https://registry.npmjs.org/classcat/-/classcat-5.0.5.tgz",
      "integrity": "sha512-JhZUT7JFcQy/EzW605k/ktHtncoo9vnyW/2GspNYwFlN1C/WmjuV/xtS04e9SOkL2sTdw0VAZ2UGCcQ9lR6p6w=="
      "integrity": "sha512-JhZUT7JFcQy/EzW605k/ktHtncoo9vnyW/2GspNYwFlN1C/WmjuV/xtS04e9SOkL2sTdw0VAZ2UGCcQ9lR6p6w==",
      "license": "MIT"
    },
    "node_modules/classnames": {
      "version": "2.5.1",
@@ -3960,6 +3978,7 @@
      "version": "3.1.0",
      "resolved": "https://registry.npmjs.org/d3-color/-/d3-color-3.1.0.tgz",
      "integrity": "sha512-zg/chbXyeBtMQ1LbD/WSoW2DpC3I0mpmPdW+ynRTj/x2DAWYrIY7qeZIHidozwV24m4iavr15lNwIwLxRmOxhA==",
      "license": "ISC",
      "engines": {
        "node": ">=12"
      }
@@ -3968,6 +3987,7 @@
      "version": "3.0.1",
      "resolved": "https://registry.npmjs.org/d3-dispatch/-/d3-dispatch-3.0.1.tgz",
      "integrity": "sha512-rzUyPU/S7rwUflMyLc1ETDeBj0NRuHKKAcvukozwhshr6g6c5d8zh4c2gQjY2bZ0dXeGLWc1PF174P2tVvKhfg==",
      "license": "ISC",
      "engines": {
        "node": ">=12"
      }
@@ -3976,6 +3996,7 @@
      "version": "3.0.0",
      "resolved": "https://registry.npmjs.org/d3-drag/-/d3-drag-3.0.0.tgz",
      "integrity": "sha512-pWbUJLdETVA8lQNJecMxoXfH6x+mO2UQo8rSmZ+QqxcbyA3hfeprFgIT//HW2nlHChWeIIMwS2Fq+gEARkhTkg==",
      "license": "ISC",
      "dependencies": {
        "d3-dispatch": "1 - 3",
        "d3-selection": "3"
@@ -3988,6 +4009,7 @@
      "version": "3.0.1",
      "resolved": "https://registry.npmjs.org/d3-ease/-/d3-ease-3.0.1.tgz",
      "integrity": "sha512-wR/XK3D3XcLIZwpbvQwQ5fK+8Ykds1ip7A2Txe0yxncXSdq1L9skcG7blcedkOX+ZcgxGAmLX1FrRGbADwzi0w==",
      "license": "BSD-3-Clause",
      "engines": {
        "node": ">=12"
      }
@@ -3996,6 +4018,7 @@
      "version": "3.0.1",
      "resolved": "https://registry.npmjs.org/d3-interpolate/-/d3-interpolate-3.0.1.tgz",
      "integrity": "sha512-3bYs1rOD33uo8aqJfKP3JWPAibgw8Zm2+L9vBKEHJ2Rg+viTR7o5Mmv5mZcieN+FRYaAOWX5SJATX6k1PWz72g==",
      "license": "ISC",
      "dependencies": {
        "d3-color": "1 - 3"
      },
@@ -4007,6 +4030,7 @@
      "version": "3.0.0",
      "resolved": "https://registry.npmjs.org/d3-selection/-/d3-selection-3.0.0.tgz",
      "integrity": "sha512-fmTRWbNMmsmWq6xJV8D19U/gw/bwrHfNXxrIN+HfZgnzqTHp9jOmKMhsTUjXOJnZOdZY9Q28y4yebKzqDKlxlQ==",
      "license": "ISC",
      "engines": {
        "node": ">=12"
      }
@@ -4015,6 +4039,7 @@
      "version": "3.0.1",
      "resolved": "https://registry.npmjs.org/d3-timer/-/d3-timer-3.0.1.tgz",
      "integrity": "sha512-ndfJ/JxxMd3nw31uyKoY2naivF+r29V+Lc0svZxe1JvvIRmi8hUsrMvdOwgS1o6uBHmiz91geQ0ylPP0aj1VUA==",
      "license": "ISC",
      "engines": {
        "node": ">=12"
      }
@@ -4023,6 +4048,7 @@
      "version": "3.0.1",
      "resolved": "https://registry.npmjs.org/d3-transition/-/d3-transition-3.0.1.tgz",
      "integrity": "sha512-ApKvfjsSR6tg06xrL434C0WydLr7JewBB3V+/39RMHsaXTOG0zmt/OAXeng5M5LBm0ojmxJrpomQVZ1aPvBL4w==",
      "license": "ISC",
      "dependencies": {
        "d3-color": "1 - 3",
        "d3-dispatch": "1 - 3",
@@ -4041,6 +4067,7 @@
      "version": "3.0.0",
      "resolved": "https://registry.npmjs.org/d3-zoom/-/d3-zoom-3.0.0.tgz",
      "integrity": "sha512-b8AmV3kfQaqWAuacbPuNbL6vahnOJflOhexLzMMNLga62+/nh0JzvJ0aO/5a5MVgUFGS7Hu1P9P03o3fJkDCyw==",
      "license": "ISC",
      "dependencies": {
        "d3-dispatch": "1 - 3",
        "d3-drag": "2 - 3",
@@ -4522,6 +4549,7 @@
      "version": "1.2.2",
      "resolved": "https://registry.npmjs.org/esm-env/-/esm-env-1.2.2.tgz",
      "integrity": "sha512-Epxrv+Nr/CaL4ZcFGPJIYLWFom+YeV1DqMLHJoEd9SYRxNbaFruBwfEX/kkHUJf55j2+TUbmDcmuilbP1TmXHA==",
      "license": "MIT",
      "peer": true
    },
    "node_modules/espree": {
@@ -4557,6 +4585,7 @@
      "version": "1.4.6",
      "resolved": "https://registry.npmjs.org/esrap/-/esrap-1.4.6.tgz",
      "integrity": "sha512-F/D2mADJ9SHY3IwksD4DAXjTt7qt7GWUf3/8RhCNWmC/67tyb55dpimHmy7EplakFaflV0R/PC+fdSPqrRHAQw==",
      "license": "MIT",
      "peer": true,
      "dependencies": {
        "@jridgewell/sourcemap-codec": "^1.4.15"
@@ -5762,6 +5791,7 @@
      "version": "3.0.0",
      "resolved": "https://registry.npmjs.org/locate-character/-/locate-character-3.0.0.tgz",
      "integrity": "sha512-SW13ws7BjaeJ6p7Q6CO2nchbYEc3X3J6WrmTTDto7yMPqVSZTUyY5Tjbid+Ab8gLnATtygYtiDIJGQRRn2ZOiA==",
      "license": "MIT",
      "peer": true
    },
    "node_modules/locate-path": {
@@ -15495,6 +15525,7 @@
      "version": "5.28.2",
      "resolved": "https://registry.npmjs.org/svelte/-/svelte-5.28.2.tgz",
      "integrity": "sha512-FbWBxgWOpQfhKvoGJv/TFwzqb4EhJbwCD17dB0tEpQiw1XyUEKZJtgm4nA4xq3LLsMo7hu5UY/BOFmroAxKTMg==",
      "license": "MIT",
      "peer": true,
      "dependencies": {
        "@ampproject/remapping": "^2.3.0",
@@ -15520,6 +15551,7 @@
      "version": "2.1.1",
      "resolved": "https://registry.npmjs.org/clsx/-/clsx-2.1.1.tgz",
      "integrity": "sha512-eYm0QWBtUrBWZWG0d386OGAw16Z995PiOVo2B7bjWSbHedGl5e0ZWaq65kOGgUSNesEIDkB9ISbTg/JK9dhCZA==",
      "license": "MIT",
      "peer": true,
      "engines": {
        "node": ">=6"
@@ -15529,6 +15561,7 @@
      "version": "3.0.3",
      "resolved": "https://registry.npmjs.org/is-reference/-/is-reference-3.0.3.tgz",
      "integrity": "sha512-ixkJoqQvAP88E6wLydLGGqCJsrFUnqoH6HnaczB8XmDH1oaWU+xxdptvikTgaEhtZ53Ky6YXiBuUI2WXLMCwjw==",
      "license": "MIT",
      "peer": true,
      "dependencies": {
        "@types/estree": "^1.0.6"
@@ -15968,6 +16001,7 @@
      "version": "1.1.2",
      "resolved": "https://registry.npmjs.org/zimmerframe/-/zimmerframe-1.1.2.tgz",
      "integrity": "sha512-rAbqEGa8ovJy4pyBxZM70hg4pE6gDgaQ0Sl9M3enG3I0d6H4XSAM3GeNGLKnsBpuijUow064sf7ww1nutC5/3w==",
      "license": "MIT",
      "peer": true
    },
    "node_modules/zustand": {
aiflowy-ui-react/package.json
@@ -13,7 +13,7 @@
    "@ant-design/icons": "^5.6.1",
    "@ant-design/pro-components": "^2.8.7",
    "@ant-design/x": "^1.1.0",
    "@tinyflow-ai/react": "^0.1.5",
    "@tinyflow-ai/react": "^0.1.6",
    "ahooks": "^3.8.4",
    "aieditor": "^1.3.6",
    "antd": "^5.24.6",
pom.xml
@@ -18,7 +18,7 @@
        <maven.compiler.target>8</maven.compiler.target>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        <mybatis-flex.version>1.10.9</mybatis-flex.version>
        <agents-flex.version>1.0.5</agents-flex.version>
        <agents-flex.version>1.0.6</agents-flex.version>
        <okhttp.version>4.9.3</okhttp.version>
        <spring.version>5.3.25</spring.version>
        <spring-boot.version>2.7.18</spring-boot.version>