@huaweidevtools/aishell-dsh-base 0.0.2 → 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
@@ -26,15 +26,23 @@ override:
26
26
  # whose adapter this bundle disables (NO_ADAPTER) or whose key the user
27
27
  # never set (MISSING_CREDENTIAL).
28
28
  #
29
- # Why a literal id and not "the first model in the catalog": the default is
30
- # read synchronously at agent creation, before any credential or network
31
- # call can enumerate the gateway's (dynamic) catalog — the harness's own
32
- # design ("catalog membership is advisory"). glm-5.3-flash is the gateway's
33
- # current catalog entry (verified against GET /models on 2026-10-12); when
34
- # the catalog changes, update this one line — the adapter's error for an
35
- # unsupported id lists the currently supported models, so the change
36
- # announces itself.
37
- - agent-default-model: { provider: aishell, model: glm-5.3-flash }
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 }
38
46
  disable:
39
47
  - deepseek-account
40
48
  - account-controller
package/cordis.patch.yml CHANGED
@@ -30,7 +30,7 @@
30
30
 
31
31
  # overridden upstream rows (id-targeted; this layer applies after the official bundles)
32
32
  - id: agent-default-model
33
- config: { provider: aishell, model: glm-5.3-flash }
33
+ config: { provider: aishell, model: trial }
34
34
 
35
35
  # disabled upstream rows (id-targeted; this layer applies after the official bundles)
36
36
  - id: deepseek-account
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.2",
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.2",
29
- "@huaweidevtools/aishell-dsh-llm": "0.0.2",
30
- "@huaweidevtools/aishell-dsh-brand": "0.0.2",
31
- "@huaweidevtools/aishell-dsh-client-credentials": "0.0.2",
32
- "@huaweidevtools/aishell-dsh-huaweicloud-docs": "0.0.2",
33
- "@huaweidevtools/aishell-dsh-ops-deploy": "0.0.2"
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
  }