hiwork-core 0.0.30 → 0.0.35
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/cordis.patch.yml +15 -1
- package/lib/ai-router-client.js +394 -2
- package/lib/client-policy.js +2 -2
- package/lib/client.js +2413 -439
- package/lib/image-rpc.js +306 -0
- package/lib/imagegen.js +424 -0
- package/lib/index.js +19212 -7694
- package/lib/knowledge-config.js +91 -1
- package/lib/provision-session.js +10 -2
- package/lib/tool-names.js +10 -0
- package/lib/tools.js +205 -0
- package/lib/types/ai-router-client.d.ts +255 -2
- package/lib/types/client/about-section.d.ts +27 -7
- package/lib/types/client/controller.d.ts +17 -9
- package/lib/types/client/feature-center.d.ts +46 -1
- package/lib/types/client/feature-registry.d.ts +36 -3
- package/lib/types/client/image-cards.d.ts +218 -0
- package/lib/types/client/image-styles.d.ts +9 -0
- package/lib/types/client/images-data.d.ts +127 -0
- package/lib/types/client/images-page.d.ts +97 -0
- package/lib/types/client/index.d.ts +0 -1
- package/lib/types/client/login-gate.d.ts +2 -2
- package/lib/types/client/logo.d.ts +7 -2
- package/lib/types/client/menu-preferences.d.ts +163 -0
- package/lib/types/client/menu-section.d.ts +5 -0
- package/lib/types/client/menu-store.d.ts +101 -0
- package/lib/types/client/styles.d.ts +16 -0
- package/lib/types/client/types.d.ts +9 -0
- package/lib/types/image-rpc.d.ts +142 -0
- package/lib/types/imagegen.d.ts +241 -0
- package/lib/types/index.d.ts +70 -8
- package/lib/types/knowledge-config.d.ts +50 -2
- package/lib/types/tool-names.d.ts +11 -0
- package/lib/types/tools.d.ts +80 -0
- package/lib/types/user-agent.d.ts +31 -0
- package/lib/user-agent.js +54 -0
- package/lib/web-search.js +2 -2
- package/package.json +34 -24
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "hiwork-core",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.35",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "HiWork 企业统一登录与模型自动供给插件(ai-router 网关登录,Web 表单,无 CLI 认证)",
|
|
6
6
|
"license": "UNLICENSED",
|
|
@@ -32,6 +32,7 @@
|
|
|
32
32
|
"@deepseek-ai/dsh-client-store",
|
|
33
33
|
"@deepseek-ai/dsh-client-ui-slots",
|
|
34
34
|
"@deepseek-ai/dsh-client-ui-settings",
|
|
35
|
+
"@deepseek-ai/dsh-client-ui-layout",
|
|
35
36
|
"@deepseek-ai/dsh-api-remotes",
|
|
36
37
|
"@deepseek-ai/dsh-client-ui-primitives",
|
|
37
38
|
"@deepseek-ai/dsh-client-ui-chat",
|
|
@@ -40,29 +41,35 @@
|
|
|
40
41
|
}
|
|
41
42
|
},
|
|
42
43
|
"peerDependencies": {
|
|
43
|
-
"@deepseek-ai/cordis": "4.0.
|
|
44
|
+
"@deepseek-ai/cordis": "~4.0.4",
|
|
45
|
+
"@deepseek-ai/dsh-client-ui-layout": ">=0.1.0-rc.5 <0.2.0"
|
|
44
46
|
},
|
|
45
47
|
"devDependencies": {
|
|
46
|
-
"@deepseek-ai/cordis": "4.0.
|
|
47
|
-
"@deepseek-ai/
|
|
48
|
-
"@deepseek-ai/dsh-
|
|
49
|
-
"@deepseek-ai/dsh-
|
|
50
|
-
"@deepseek-ai/dsh-
|
|
51
|
-
"@deepseek-ai/dsh-
|
|
52
|
-
"@deepseek-ai/dsh-client-
|
|
53
|
-
"@deepseek-ai/dsh-client-ui-
|
|
54
|
-
"@deepseek-ai/dsh-client-ui-
|
|
55
|
-
"@deepseek-ai/dsh-client-ui-
|
|
56
|
-
"@deepseek-ai/dsh-client-ui-
|
|
57
|
-
"@deepseek-ai/dsh-
|
|
58
|
-
"@deepseek-ai/dsh-
|
|
59
|
-
"@deepseek-ai/dsh-
|
|
60
|
-
"@deepseek-ai/dsh-
|
|
61
|
-
"@deepseek-ai/dsh-
|
|
62
|
-
"@deepseek-ai/dsh-
|
|
63
|
-
"@deepseek-ai/dsh-
|
|
64
|
-
"@deepseek-ai/dsh-
|
|
65
|
-
"@deepseek-ai/
|
|
48
|
+
"@deepseek-ai/cordis": "4.0.4",
|
|
49
|
+
"@deepseek-ai/cordis-plugin-loader": "1.0.5",
|
|
50
|
+
"@deepseek-ai/dsh-agent-default-model": "0.1.7-rc.2",
|
|
51
|
+
"@deepseek-ai/dsh-api-remotes": "0.1.7-rc.2",
|
|
52
|
+
"@deepseek-ai/dsh-app-boot": "0.1.7-rc.2",
|
|
53
|
+
"@deepseek-ai/dsh-attachment": "0.1.7-rc.2",
|
|
54
|
+
"@deepseek-ai/dsh-client-store": "0.1.7-rc.2",
|
|
55
|
+
"@deepseek-ai/dsh-client-ui-chat": "0.1.7-rc.2",
|
|
56
|
+
"@deepseek-ai/dsh-client-ui-conversation": "0.1.7-rc.2",
|
|
57
|
+
"@deepseek-ai/dsh-client-ui-primitives": "0.1.7-rc.2",
|
|
58
|
+
"@deepseek-ai/dsh-client-ui-renderer": "0.1.7-rc.2",
|
|
59
|
+
"@deepseek-ai/dsh-client-ui-session": "0.1.7-rc.2",
|
|
60
|
+
"@deepseek-ai/dsh-client-ui-settings": "0.1.7-rc.2",
|
|
61
|
+
"@deepseek-ai/dsh-client-ui-sidebar": "0.1.7-rc.2",
|
|
62
|
+
"@deepseek-ai/dsh-client-ui-slots": "0.1.7-rc.2",
|
|
63
|
+
"@deepseek-ai/dsh-config-editor": "0.1.7-rc.2",
|
|
64
|
+
"@deepseek-ai/dsh-credentials": "0.1.7-rc.2",
|
|
65
|
+
"@deepseek-ai/dsh-credentials-local": "0.1.7-rc.2",
|
|
66
|
+
"@deepseek-ai/dsh-llm": "0.1.7-rc.2",
|
|
67
|
+
"@deepseek-ai/dsh-llm-pi-ai": "0.1.7-rc.2",
|
|
68
|
+
"@deepseek-ai/dsh-settings": "0.1.7-rc.2",
|
|
69
|
+
"@deepseek-ai/dsh-tools": "0.1.7-rc.2",
|
|
70
|
+
"@deepseek-ai/dsh-web": "0.1.7-rc.2",
|
|
71
|
+
"@deepseek-ai/dsh-workspace": "0.1.7-rc.2",
|
|
72
|
+
"@deepseek-ai/schemastery": "3.18.4",
|
|
66
73
|
"@types/node": "^22",
|
|
67
74
|
"@types/react": "^18",
|
|
68
75
|
"@types/react-dom": "^18",
|
|
@@ -72,13 +79,16 @@
|
|
|
72
79
|
"react-dom": "^18",
|
|
73
80
|
"tsx": "^4.23.12",
|
|
74
81
|
"typescript": "^5",
|
|
75
|
-
"vitest": "^3"
|
|
82
|
+
"vitest": "^3",
|
|
83
|
+
"yaml": "^2.8.1",
|
|
84
|
+
"@deepseek-ai/dsh-client-ui-layout": "0.1.7-rc.2"
|
|
76
85
|
},
|
|
77
86
|
"scripts": {
|
|
78
87
|
"typecheck": "tsc --noEmit",
|
|
79
88
|
"build:host": "tsc -p tsconfig.build.json && node scripts/host-build.mjs",
|
|
80
89
|
"build:client": "tsc -p tsconfig.client-build.json && node scripts/client-build.mjs",
|
|
81
90
|
"build": "npm run build:host && npm run build:client",
|
|
82
|
-
"test": "vitest run"
|
|
91
|
+
"test": "vitest run",
|
|
92
|
+
"smoke": "tsx scripts/smoke/smoke.ts"
|
|
83
93
|
}
|
|
84
94
|
}
|