@hanamesh/hanamesh 0.0.0-stage → 0.1.0
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/LICENSE +21 -0
- package/README.md +14 -2
- package/cordis.patch.yml +18 -0
- package/package.json +46 -4
- package/release.json +25 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 HanaMesh
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
-
#
|
|
1
|
+
# @hanamesh/hanamesh
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
在 DSH「插件 → 添加插件」填写带当前发布精确版本的完整包名(网页安装页提供可复制内容),安装后立即启用并重启一次。终端安装从 npm 读取同一发布版本:
|
|
4
|
+
```sh
|
|
5
|
+
bundle_version="$(npm view @hanamesh/hanamesh version --registry=https://registry.npmjs.org/)" &&
|
|
6
|
+
[ -n "$bundle_version" ] &&
|
|
7
|
+
dsh plugin --profile desktop add --save-exact "@hanamesh/hanamesh@$bundle_version"
|
|
8
|
+
```
|
|
9
|
+
总包一次插入 Core、Usage、AppHost 三个插件。设置中的 HanaMesh 负责设备绑定与数据授权;安装不会自动同意采集。读取失败时停止,不执行无版本安装。
|
|
10
|
+
|
|
11
|
+
仅使用总包;已分装三包的测试 profile 请删除后重新安装,不提供兼容或迁移。
|
|
12
|
+
|
|
13
|
+
生成器改编自 ai-workbench connect/packages/workbench/build.mjs(origin/main 472b5f3)。它读取三个精确 npm 归档,合并公开 patch 与 @deepseek-ai/* peer,拒绝重复 id、相对入口、非 insert 操作与 peer 冲突;release.json 记录来源 SHA256。构建失败不复用旧输出。根仓的 js-yaml 是构建依赖;发布包只含 patch、release.json、说明和许可证。
|
|
14
|
+
|
|
15
|
+
审过、合入、打 tag 后,从标签使用 `node packages/hanamesh/build.mjs --version 0.1.0 --core 0.3.30 --usage 0.3.0-rc.15 --app-host 0.6.20 --output /absolute/new-directory` 生成正常归档。发布后立即使用总包精确版本进行原生安装验收。发布不得从未审的本地候选执行。
|
package/cordis.patch.yml
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
- insert:
|
|
2
|
+
- id: hanamesh-core
|
|
3
|
+
name: '@hanamesh/core'
|
|
4
|
+
config:
|
|
5
|
+
serverOrigin: https://api.hanamesh.com
|
|
6
|
+
websiteOrigin: https://market.hanamesh.com
|
|
7
|
+
allowSystemBrowser: true
|
|
8
|
+
- insert:
|
|
9
|
+
- id: hanamesh-usage
|
|
10
|
+
name: '@hanamesh/usage'
|
|
11
|
+
config:
|
|
12
|
+
maxRecords: 5000
|
|
13
|
+
maxPending: 128
|
|
14
|
+
allowExport: false
|
|
15
|
+
- insert:
|
|
16
|
+
- id: hanamesh-app-host
|
|
17
|
+
name: '@hanamesh/dsh-app-host'
|
|
18
|
+
config: {}
|
package/package.json
CHANGED
|
@@ -1,6 +1,48 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hanamesh/hanamesh",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "HanaMesh Core, Usage and AppHost for DSH in one installation.",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "https://github.com/yzsnstotz/hanamesh-core.git",
|
|
9
|
+
"directory": "packages/hanamesh"
|
|
10
|
+
},
|
|
11
|
+
"files": [
|
|
12
|
+
"cordis.patch.yml",
|
|
13
|
+
"release.json",
|
|
14
|
+
"LICENSE"
|
|
15
|
+
],
|
|
16
|
+
"dependencies": {
|
|
17
|
+
"@hanamesh/core": "0.3.30",
|
|
18
|
+
"@hanamesh/usage": "0.3.0-rc.15",
|
|
19
|
+
"@hanamesh/dsh-app-host": "0.6.20"
|
|
20
|
+
},
|
|
21
|
+
"peerDependencies": {
|
|
22
|
+
"@deepseek-ai/cordis": ">=4.0.4 <4.1.0-0 || >=4.0.5-alpha.1 <4.1.0-0",
|
|
23
|
+
"@deepseek-ai/dsh-agent": ">=0.2.0-rc.2 <0.3.0-0 || >=0.2.1-0 <0.3.0-0",
|
|
24
|
+
"@deepseek-ai/dsh-attachment": ">=0.2.0-rc.2 <0.3.0-0 || >=0.2.1-0 <0.3.0-0",
|
|
25
|
+
"@deepseek-ai/dsh-client-connection": ">=0.2.0-rc.2 <0.3.0-0 || >=0.2.1-0 <0.3.0-0",
|
|
26
|
+
"@deepseek-ai/dsh-client-locale": ">=0.2.0-rc.2 <0.3.0-0 || >=0.2.1-0 <0.3.0-0",
|
|
27
|
+
"@deepseek-ai/dsh-client-ui-primitives": ">=0.2.0-rc.2 <0.3.0-0 || >=0.2.1-0 <0.3.0-0",
|
|
28
|
+
"@deepseek-ai/dsh-client-ui-renderer": ">=0.2.0-rc.2 <0.3.0-0 || >=0.2.1-0 <0.3.0-0",
|
|
29
|
+
"@deepseek-ai/dsh-client-ui-settings": ">=0.2.0-rc.2 <0.3.0-0 || >=0.2.1-0 <0.3.0-0",
|
|
30
|
+
"@deepseek-ai/dsh-client-ui-sidebar": ">=0.2.0-rc.2 <0.3.0-0 || >=0.2.1-0 <0.3.0-0",
|
|
31
|
+
"@deepseek-ai/dsh-host-webserver": ">=0.2.0-rc.2 <0.3.0-0 || >=0.2.1-0 <0.3.0-0",
|
|
32
|
+
"@deepseek-ai/dsh-scope": ">=0.2.0-rc.2 <0.3.0-0 || >=0.2.1-0 <0.3.0-0",
|
|
33
|
+
"@deepseek-ai/dsh-session": ">=0.2.0-rc.2 <0.3.0-0 || >=0.2.1-0 <0.3.0-0",
|
|
34
|
+
"@deepseek-ai/dsh-session-persistence": ">=0.2.0-rc.2 <0.3.0-0 || >=0.2.1-0 <0.3.0-0",
|
|
35
|
+
"@deepseek-ai/dsh-storage": ">=0.2.0-rc.2 <0.3.0-0 || >=0.2.1-0 <0.3.0-0",
|
|
36
|
+
"@deepseek-ai/dsh-storage-domain": ">=0.2.0-rc.2 <0.3.0-0 || >=0.2.1-0 <0.3.0-0",
|
|
37
|
+
"@deepseek-ai/dsh-typert-protocol": ">=0.2.0-rc.2 <0.3.0-0 || >=0.2.1-0 <0.3.0-0",
|
|
38
|
+
"@deepseek-ai/schemastery": ">=3.18.4 <3.19.0-0 || >=3.18.5-alpha.1 <3.19.0-0"
|
|
39
|
+
},
|
|
40
|
+
"dsh": {
|
|
41
|
+
"bundle": {
|
|
42
|
+
"patch": "./cordis.patch.yml"
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
"publishConfig": {
|
|
46
|
+
"access": "public"
|
|
47
|
+
}
|
|
48
|
+
}
|
package/release.json
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "0.1.0",
|
|
3
|
+
"sources": [
|
|
4
|
+
{
|
|
5
|
+
"name": "@hanamesh/core",
|
|
6
|
+
"version": "0.3.30",
|
|
7
|
+
"sha256": "6dfa824891aa9115052473e1b27cf87811ff47a757addd812f6d6daf9c35c338"
|
|
8
|
+
},
|
|
9
|
+
{
|
|
10
|
+
"name": "@hanamesh/usage",
|
|
11
|
+
"version": "0.3.0-rc.15",
|
|
12
|
+
"sha256": "dfb9b5c32a58bc5c5e0ff010029abb679c620418ef6ac97a0f562c03a02240af"
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"name": "@hanamesh/dsh-app-host",
|
|
16
|
+
"version": "0.6.20",
|
|
17
|
+
"sha256": "1bcad2fda9342a4b8fa4bd7d192e50bb5a152cd518be783fef0944765b686728"
|
|
18
|
+
}
|
|
19
|
+
],
|
|
20
|
+
"entryIds": [
|
|
21
|
+
"hanamesh-core",
|
|
22
|
+
"hanamesh-usage",
|
|
23
|
+
"hanamesh-app-host"
|
|
24
|
+
]
|
|
25
|
+
}
|