brainsmatics 1.1.76 → 1.1.78
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/component/3d/aichat/index.d.ts +2 -1
- package/dist/component/3d/auxiliary/index.d.ts +5 -1
- package/dist/component/3d/index.d.ts +1 -0
- package/dist/{deflate-ecc69155.js → deflate-60fec9f3.js} +1 -1
- package/dist/{deflate-80fb1848.mjs → deflate-e1a71987.mjs} +1 -1
- package/dist/{index-5b34b9a1.js → index-86f7d521.js} +451 -494
- package/dist/{index-839d4aed.mjs → index-96cc28b0.mjs} +46839 -46603
- package/dist/index.js +1 -1
- package/dist/index.mjs +57 -56
- package/dist/{lerc-dfbbb94b.mjs → lerc-edcec007.mjs} +1 -1
- package/dist/{lerc-6085489a.js → lerc-ee296c33.js} +1 -1
- package/dist/style.css +1 -1
- package/package.json +4 -1
- package/.dockerignore +0 -1
- package/.env.development +0 -1
- package/.env.production +0 -1
- package/.idea/workspace.xml +0 -64
- package/.opencode/skills/react/SKILL.md +0 -49
- package/.opencode/skills/three/SKILL.md +0 -82
- package/.vscode/settings.json +0 -3
- package/AGENTS.md +0 -406
- package/Dockerfile +0 -18
- package/REAMED2.md +0 -157
- package/STAM.d.ts +0 -1
- package/addPublishRules.js +0 -22
- package/bun.lock +0 -3810
- package/docker-compose.yml +0 -11
- package/env.d.ts +0 -7
- package/index.html +0 -13
- package/removePublishRules.js +0 -21
- package/storybook-error.log +0 -0
- package/storybook.log +0 -0
- package/tsconfig.json +0 -38
- package/vite.config.js +0 -68
package/docker-compose.yml
DELETED
package/env.d.ts
DELETED
package/index.html
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html lang="en">
|
|
3
|
-
<head>
|
|
4
|
-
<meta charset="UTF-8" />
|
|
5
|
-
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
|
|
6
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
7
|
-
<title>Vite + React</title>
|
|
8
|
-
</head>
|
|
9
|
-
<body>
|
|
10
|
-
<div id="root"></div>
|
|
11
|
-
<script type="module" src="/src/main.tsx"></script>
|
|
12
|
-
</body>
|
|
13
|
-
</html>
|
package/removePublishRules.js
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
const fs = require('fs');
|
|
2
|
-
const os = require('os');
|
|
3
|
-
// 读取文件的路径
|
|
4
|
-
const filePath = '.gitignore'; // 替换为你的文件路径
|
|
5
|
-
const newLine = os.EOL; // 获取当前操作系统的换行符
|
|
6
|
-
fs.readFile(filePath, 'utf8', (err, data) => {
|
|
7
|
-
if (err) {
|
|
8
|
-
console.error('读取文件时出错:', err);
|
|
9
|
-
return;
|
|
10
|
-
}
|
|
11
|
-
const replacedContent = data.replace(`${newLine}/src`, '');
|
|
12
|
-
|
|
13
|
-
// 写入替换后的内容回文件
|
|
14
|
-
fs.writeFile(filePath, replacedContent, 'utf8', (err) => {
|
|
15
|
-
if (err) {
|
|
16
|
-
console.error('写入文件时出错:', err);
|
|
17
|
-
} else {
|
|
18
|
-
console.log('删除完成!');
|
|
19
|
-
}
|
|
20
|
-
});
|
|
21
|
-
});
|
package/storybook-error.log
DELETED
|
File without changes
|
package/storybook.log
DELETED
|
File without changes
|
package/tsconfig.json
DELETED
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"outDir": "dist/es6",
|
|
4
|
-
"module": "esnext",
|
|
5
|
-
"target": "esnext",
|
|
6
|
-
"resolveJsonModule": true,
|
|
7
|
-
"importHelpers": true,
|
|
8
|
-
"lib": ["es5", "es6", "es7", "es2017", "es2018", "es2019", "dom", "ESNext.String"],
|
|
9
|
-
"sourceMap": true,
|
|
10
|
-
"allowJs": false,
|
|
11
|
-
"jsx": "react",
|
|
12
|
-
"moduleResolution": "node",
|
|
13
|
-
"rootDirs": ["src", "stories"],
|
|
14
|
-
"baseUrl": "src",
|
|
15
|
-
"typeRoots": ["node_modules/@types"],
|
|
16
|
-
"paths": {
|
|
17
|
-
"brainsmatics/STAM": ["dist/component/STAM.d.ts"]
|
|
18
|
-
},
|
|
19
|
-
"ignoreDeprecations": "5.0",
|
|
20
|
-
"forceConsistentCasingInFileNames": true,
|
|
21
|
-
"noImplicitReturns": true,
|
|
22
|
-
"noImplicitThis": true,
|
|
23
|
-
"noImplicitAny": true,
|
|
24
|
-
"strictNullChecks": true,
|
|
25
|
-
"strict": true,
|
|
26
|
-
"skipLibCheck": true,
|
|
27
|
-
"noUnusedLocals": true,
|
|
28
|
-
"declaration": true,
|
|
29
|
-
"declarationDir": "./dist",
|
|
30
|
-
"allowSyntheticDefaultImports": true,
|
|
31
|
-
"experimentalDecorators": true,
|
|
32
|
-
"emitDecoratorMetadata": true,
|
|
33
|
-
"esModuleInterop": true
|
|
34
|
-
},
|
|
35
|
-
"allowImportingTsExtensions":true,
|
|
36
|
-
"include": ["src/**/*", "index.d.ts","env.d.ts"],
|
|
37
|
-
"exclude": ["node_modules", "build", "dist", "scripts"]
|
|
38
|
-
}
|
package/vite.config.js
DELETED
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
import { defineConfig } from 'vite'
|
|
2
|
-
import react from '@vitejs/plugin-react'
|
|
3
|
-
import typescript from '@rollup/plugin-typescript';
|
|
4
|
-
import {resolve} from "path";
|
|
5
|
-
// https://vitejs.dev/config/
|
|
6
|
-
export default defineConfig({
|
|
7
|
-
plugins: [react({ include: /\.(mdx|js|jsx|ts|tsx)$/ }), typescript()],
|
|
8
|
-
base:"./",
|
|
9
|
-
resolve: {
|
|
10
|
-
alias: {
|
|
11
|
-
'component': resolve(__dirname, 'src/component'),
|
|
12
|
-
},
|
|
13
|
-
},
|
|
14
|
-
build: {
|
|
15
|
-
outDir: 'dist',
|
|
16
|
-
copyPublicDir: false,
|
|
17
|
-
lib: {
|
|
18
|
-
// Could also be a dictionary or array of multiple entry points
|
|
19
|
-
entry: resolve(__dirname, 'src/index.ts'),
|
|
20
|
-
// name: 'huakeda-brain-ui',
|
|
21
|
-
formats: ['es',"cjs"],
|
|
22
|
-
// the proper extensions will be added
|
|
23
|
-
fileName: 'index',
|
|
24
|
-
dts: true,
|
|
25
|
-
},
|
|
26
|
-
rollupOptions: {
|
|
27
|
-
// 确保外部化处理那些你不想打包进库的依赖
|
|
28
|
-
external: ['react', 'react-dom'],
|
|
29
|
-
output: {
|
|
30
|
-
// 在 UMD 构建模式下为这些外部化的依赖提供一个全局变量
|
|
31
|
-
globals: {
|
|
32
|
-
react: 'react',
|
|
33
|
-
'react-dom': 'ReactDOM',
|
|
34
|
-
},
|
|
35
|
-
},
|
|
36
|
-
},
|
|
37
|
-
},
|
|
38
|
-
server:{
|
|
39
|
-
proxy: {
|
|
40
|
-
'/app-api/langgraph-api': {
|
|
41
|
-
target: 'http://192.168.50.32:8000',
|
|
42
|
-
changeOrigin: true,
|
|
43
|
-
ws: true,
|
|
44
|
-
rewrite: (path) => path.replace(/^\/app-api\/langgraph-api/, ''),
|
|
45
|
-
cookieDomainRewrite: '',
|
|
46
|
-
},
|
|
47
|
-
'/app-api/auth-api': {
|
|
48
|
-
target: 'http://192.168.80.113:8000',
|
|
49
|
-
changeOrigin: true,
|
|
50
|
-
ws: true,
|
|
51
|
-
rewrite: (path) => path.replace(/^\/app-api\/auth-api/, ''),
|
|
52
|
-
cookieDomainRewrite: '',
|
|
53
|
-
},
|
|
54
|
-
'/app-api/swc-chart-api': {
|
|
55
|
-
target: 'http://localhost:9000',
|
|
56
|
-
changeOrigin: true,
|
|
57
|
-
ws: true,
|
|
58
|
-
rewrite: (path) => path.replace(/^\/app-api\/swc-chart-api/, ''),
|
|
59
|
-
cookieDomainRewrite: '',
|
|
60
|
-
},
|
|
61
|
-
'/api':{
|
|
62
|
-
'target': 'http://192.168.50.54:8080',
|
|
63
|
-
'changeOrigin': true,
|
|
64
|
-
rewrite: (path) => path.replace(/^\/api/, ''),
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
})
|