@infinisys/fabric 0.1.0 → 0.1.1

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 ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Infinity System contributors
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
@@ -2,6 +2,8 @@
2
2
 
3
3
  一个 bundle,把 Infinity Fabric 的全部插件按支持顺序装进同一个 profile。
4
4
 
5
+ > 启用它等于一次接管十二处 DSH 默认行为(品牌行、团队行、`web` 行、`subagent` 容量等)。后果与逐条退回方式见 [docs/disclaimer.md](https://gitfox.studio/infinity/Fabric/blob/master/docs/disclaimer.md)。
6
+
5
7
  它自己不含任何 Host/Client 代码:`cordis.patch.yml` 是十二个成员包补丁的**生成结果**(`pnpm run meta` 生成,`scripts/check.mjs` 会拦住忘记重建的版本)。所以「装了什么」仍然由每个 `is-*` 包自己的补丁决定,这里只有一份顺序表和一个开关。
6
8
 
7
9
  ## 它做了什么
@@ -10,7 +12,7 @@
10
12
 
11
13
  | 顺序 | 包 | 作用 |
12
14
  | --- | --- | --- |
13
- | 1 | `@infinisys/is-identity` | 品牌与部署身份(纯文字 Infinity System,关闭原生 `ui-brand-official`) |
15
+ | 1 | `@infinisys/is-identity` | 品牌与部署身份(在原生品牌行上盖一层纯文字 Infinity System,可整体关掉) |
14
16
  | 2 | `@infinisys/is-settings` | Infinity 设置页与 `infinitySettings` 服务 |
15
17
  | 3 | `@infinisys/is-devops` | GitFox 面板与 `infinity_devops` / `infinity_git` 工具 |
16
18
  | 4 | `@infinisys/is-fabric-team` | 团队协作模式预设与 `infinityTeam` 服务(关闭原生 Team 工具/UI) |
@@ -23,7 +25,7 @@
23
25
  | 11 | `@infinisys/is-web-access` | 抓取放行(把 profile 的 `web` 行指到 `infinity-http`) |
24
26
  | 12 | `@infinisys/is-stream-guard` | SSE 帧错误重试 |
25
27
 
26
- 顺序不是装饰:`is-settings` 要先于 `is-devops` 与 `is-fabric-team` 提供 `infinitySettings`,`is-identity` 要先关掉原生品牌行,`is-web-access` 要排在 `@deepseek-ai/dsh-web-app` 之后才有 `web` 行可改。
28
+ 顺序不是装饰:`is-settings` 要先于 `is-devops` 与 `is-fabric-team` 提供 `infinitySettings`,`is-identity` 用 `priority: -1` 盖住原生品牌位、顺序不敏感,`is-web-access` 要排在 `@deepseek-ai/dsh-web-app` 之后才有 `web` 行可改。
27
29
 
28
30
  ## 为什么是一份生成文件,而不是指向兄弟包的路径清单
29
31
 
@@ -70,4 +72,4 @@ dsh plugin --profile web add /path/to/Fabric/packages/fabric /path/to/Fabric/pac
70
72
  disabled: true
71
73
  ```
72
74
 
73
- profile 补丁层永远在 bundle 层之后应用,所以这一行会生效。注意有些包除了插入自己的行,还改动了已有行(`is-identity` 关掉 `ui-brand-official`、`is-fabric-team` 关掉原生 Team 两行、`is-web-access` 改 `web` 行),只停用插入的行不会把这些改动还原,具体见 [安装与退回](../../docs/install.md)。
75
+ profile 补丁层永远在 bundle 层之后应用,所以这一行会生效。注意有些包除了插入自己的行,还改动了已有行(`is-fabric-team` 关掉原生 Team 两行、`is-web-access` 改 `web` 行),只停用插入的行不会把这些改动还原,具体见 [安装与退回](../../docs/install.md)。`is-identity` 不改任何已有行:它只是在运行时以 `priority: -1` 压过官方品牌位,`brand: false` 或卸载后官方品牌自然回来。
package/cordis.patch.yml CHANGED
@@ -6,17 +6,20 @@
6
6
  # `scripts/check.mjs` fails while this file is stale.
7
7
 
8
8
  # ---- @infinisys/is-identity -------------------------------------------------
9
- - id: ui-brand-official
10
- # The shipped wordmark/mark can never win the single brand seats: Infinity
11
- # identity owns them and is text-only by design.
12
- disabled: true
9
+ # The shipped `ui-brand-official` row stays enabled. Infinity registers the same
10
+ # single brand seats at `priority: -1`, which shadows the official wordmark at
11
+ # the default 0 without colliding with it, so switching the Infinity brand off
12
+ # gives the official brand back instead of the shell's local-build fallback.
13
13
  - insert:
14
14
  - id: is-identity
15
15
  name: '@infinisys/is-identity'
16
16
  config:
17
- # Infinity Glass (the backdrop frost and the surface alpha that lets it
18
- # show) is on by default. Set `frost: false` in the profile's own patch
19
- # to give every surface back to the shell.
17
+ # Infinity System branding (sidebar name, browser tab, favicon and
18
+ # accent) and Infinity Glass (the backdrop frost and the surface alpha
19
+ # that lets it show) are on by default. Set `brand: false` or
20
+ # `frost: false` in the profile's own patch to give that layer back to
21
+ # the shell; the settings page exposes both switches as well.
22
+ brand: true
20
23
  frost: true
21
24
 
22
25
  # ---- @infinisys/is-settings -------------------------------------------------
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@infinisys/fabric",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "One bundle that applies every Infinity Fabric plugin in the supported order.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -17,10 +17,10 @@
17
17
  },
18
18
  "type": "module",
19
19
  "dependencies": {
20
- "@infinisys/is-identity": "^0.2.0",
20
+ "@infinisys/is-identity": "^0.3.0",
21
21
  "@infinisys/is-settings": "^0.1.0",
22
22
  "@infinisys/is-devops": "^0.1.0",
23
- "@infinisys/is-fabric-team": "^0.1.0",
23
+ "@infinisys/is-fabric-team": "^0.1.1",
24
24
  "@infinisys/is-im": "^0.1.0",
25
25
  "@infinisys/is-team-language": "^0.1.0",
26
26
  "@infinisys/is-update": "^0.1.0",
@@ -40,4 +40,4 @@
40
40
  "patch": "./cordis.patch.yml"
41
41
  }
42
42
  }
43
- }
43
+ }