@huaweidevtools/aishell-dsh-base 0.0.1 → 0.0.3

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/aggregate.yml CHANGED
@@ -3,6 +3,9 @@
3
3
  # this bundle's patch (row ids namespaced aishell-* so the bundle coexists
4
4
  # with standalone installs of the same package).
5
5
  # deps: child packages written into this package's dependencies as workspace:*.
6
+ # override: id-targeted rows whose whole config this layer replaces (rendered
7
+ # as `- id: <row> / config: {...}`); the value is inline YAML.
8
+ # disable: id-targeted upstream rows switched off in the composed profile.
6
9
  patchFrom:
7
10
  - ../aishell-llm
8
11
  - ../aishell-credentials
@@ -16,3 +19,33 @@ deps:
16
19
  - ../aishell-brand
17
20
  - ../aishell-ops-deploy
18
21
  - ../aishell-huaweicloud-docs
22
+ override:
23
+ # The official base pins the entry-point default to deepseek-official /
24
+ # deepseek-flash. AI Shell's only chat route is the aishell gateway, so the
25
+ # default must select it — otherwise a fresh session routes to a provider
26
+ # whose adapter this bundle disables (NO_ADAPTER) or whose key the user
27
+ # never set (MISSING_CREDENTIAL).
28
+ #
29
+ # Why the reserved id `trial` and not a real model id: the selection is
30
+ # read through a synchronous Config getter (dsh-agent-default-model's
31
+ # currentSelection()), so it cannot await a network round trip to discover
32
+ # what the gateway currently carries — the harness's own design ("catalog
33
+ # membership is advisory"). A literal real id therefore couples every fresh
34
+ # session in the deployment to one gateway catalog entry: the day that entry
35
+ # is dropped, every new session fails on its first message with
36
+ # AISHELL.1004 until a new bundle is published. `trial` is a reserved alias
37
+ # the gateway guarantees, so the catalog can move without touching this
38
+ # line.
39
+ #
40
+ # The name states a stage of the user's relationship to the route, not a
41
+ # property of whatever model it resolves to — which is what lets the gateway
42
+ # repoint the alias without the id becoming a lie. Its display label comes
43
+ # from the gateway's `name` field on the /models entry, so the id stays a
44
+ # durable routing key while the label stays free to change.
45
+ - agent-default-model: { provider: aishell, model: trial }
46
+ disable:
47
+ - deepseek-account
48
+ - account-controller
49
+ - ui-settings-account
50
+ - llm-deepseek
51
+ - llm-deepseek-account
package/cordis.patch.yml CHANGED
@@ -27,3 +27,19 @@
27
27
  - insert:
28
28
  - id: aishell-huaweicloud-docs
29
29
  name: '@huaweidevtools/aishell-dsh-huaweicloud-docs'
30
+
31
+ # overridden upstream rows (id-targeted; this layer applies after the official bundles)
32
+ - id: agent-default-model
33
+ config: { provider: aishell, model: trial }
34
+
35
+ # disabled upstream rows (id-targeted; this layer applies after the official bundles)
36
+ - id: deepseek-account
37
+ disabled: true
38
+ - id: account-controller
39
+ disabled: true
40
+ - id: ui-settings-account
41
+ disabled: true
42
+ - id: llm-deepseek
43
+ disabled: true
44
+ - id: llm-deepseek-account
45
+ disabled: true
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@huaweidevtools/aishell-dsh-base",
3
3
  "description": "aishell DSH profile base layer — aggregates aishell plugin packages over dsh-base",
4
- "version": "0.0.1",
4
+ "version": "0.0.3",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -25,12 +25,12 @@
25
25
  ],
26
26
  "license": "Apache-2.0",
27
27
  "dependencies": {
28
- "@huaweidevtools/aishell-dsh-credentials-store": "0.0.1",
29
- "@huaweidevtools/aishell-dsh-llm": "0.0.1",
30
- "@huaweidevtools/aishell-dsh-brand": "0.0.1",
31
- "@huaweidevtools/aishell-dsh-client-credentials": "0.0.1",
32
- "@huaweidevtools/aishell-dsh-ops-deploy": "0.0.1",
33
- "@huaweidevtools/aishell-dsh-huaweicloud-docs": "0.0.1"
28
+ "@huaweidevtools/aishell-dsh-credentials-store": "0.0.3",
29
+ "@huaweidevtools/aishell-dsh-llm": "0.0.3",
30
+ "@huaweidevtools/aishell-dsh-ops-deploy": "0.0.3",
31
+ "@huaweidevtools/aishell-dsh-brand": "0.0.3",
32
+ "@huaweidevtools/aishell-dsh-client-credentials": "0.0.3",
33
+ "@huaweidevtools/aishell-dsh-huaweicloud-docs": "0.0.3"
34
34
  },
35
35
  "scripts": {}
36
36
  }