dsh-advisor 0.2.3 → 0.2.4
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/README.md +1 -1
- package/README.zh.md +1 -1
- package/lib/client/advisor-card.d.ts +1 -1
- package/lib/client/advisor-store.d.ts +1 -1
- package/lib/client.js +2 -2
- package/package.json +17 -17
- package/scripts/prepare-release.mjs +2 -2
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
[](LICENSE)
|
|
6
6
|

|
|
7
|
-

|
|
8
8
|

|
|
9
9
|
[](https://dshfind.com/plugins/omdsh-dev/dsh-advisor?ref=badge)
|
|
10
10
|
|
package/README.zh.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
[](LICENSE)
|
|
6
6
|

|
|
7
|
-

|
|
8
8
|

|
|
9
9
|
[](https://dshfind.com/zh/plugins/omdsh-dev/dsh-advisor?ref=badge)
|
|
10
10
|
|
|
@@ -67,7 +67,7 @@ import type { SnapshotStore } from '@deepseek-ai/dsh-client-runtime/client';
|
|
|
67
67
|
import type { AdvisorSettingsState, AdvisorSettingsStore } from './advisor-store.ts';
|
|
68
68
|
/** Injected dependencies of {@link AdvisorCard} (slot `inject`). The `hooks`
|
|
69
69
|
* compartment carries the bare snapshot store; the slot renderer binds it to
|
|
70
|
-
* the `useSnapshot` selector hook the component consumes (
|
|
70
|
+
* the `useSnapshot` selector hook the component consumes (host renderer contract). */
|
|
71
71
|
export interface AdvisorCardInjected {
|
|
72
72
|
/** The card store (loaded on mount, refreshed on pushed invalidations). */
|
|
73
73
|
controller: AdvisorSettingsStore;
|
|
@@ -41,7 +41,7 @@ import type { ClientConnectionRpc, IApiClient, SettingsNamespaceView } from '@de
|
|
|
41
41
|
import type { SnapshotStore } from '@deepseek-ai/dsh-client-runtime/client';
|
|
42
42
|
import type { SettingsSchemaService } from '@deepseek-ai/dsh-client-ui-settings/client';
|
|
43
43
|
/**
|
|
44
|
-
* The
|
|
44
|
+
* The schema face the card store uses: ui-settings owns the immutable
|
|
45
45
|
* path writers (`ctx.settingsSchema`); this narrow pick hides the Cordis
|
|
46
46
|
* service identity from the store and its tests.
|
|
47
47
|
*/
|
package/lib/client.js
CHANGED
|
@@ -833,7 +833,7 @@ function apply(ctx) {
|
|
|
833
833
|
ctx.slots.inject("settings.plugin.item", function* () {
|
|
834
834
|
yield ctx.slots.register({
|
|
835
835
|
name: "settings.plugin.item",
|
|
836
|
-
//
|
|
836
|
+
// Keyed slot: the key is the settings namespace the card edits —
|
|
837
837
|
// the already-installed `advisor` namespace (ADVISOR_SETTINGS_NAMESPACE
|
|
838
838
|
// in src/settings.ts; spelled as a literal here because the host-half
|
|
839
839
|
// settings module is outside the client bundle's externals). Keyed
|
|
@@ -841,7 +841,7 @@ function apply(ctx) {
|
|
|
841
841
|
// order, which still places this card after the upstream three.
|
|
842
842
|
key: "advisor",
|
|
843
843
|
locale: NS,
|
|
844
|
-
//
|
|
844
|
+
// Hooks compartment: the renderer binds `hooks.snapshot` to the
|
|
845
845
|
// component's `useSnapshot` selector hook (the old web-react
|
|
846
846
|
// bindSnapshotSelector call is gone with that package).
|
|
847
847
|
inject: () => ({ controller, hooks: { snapshot: controller.store } })
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-advisor",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.4",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "dsh plugin bundle porting the omp advisor subsystem: a per-session reviewer model that observes the primary transcript and injects severity-ranked advice (nit/concern/blocker).",
|
|
6
6
|
"repository": {
|
|
@@ -51,22 +51,22 @@
|
|
|
51
51
|
},
|
|
52
52
|
"peerDependencies": {
|
|
53
53
|
"@deepseek-ai/cordis": "^4.0.1",
|
|
54
|
-
"@deepseek-ai/dsh-agent": "^0.1.
|
|
55
|
-
"@deepseek-ai/dsh-api-gateway": "^0.1.
|
|
56
|
-
"@deepseek-ai/dsh-client-connection": "^0.1.
|
|
57
|
-
"@deepseek-ai/dsh-client-locale": "^0.1.
|
|
58
|
-
"@deepseek-ai/dsh-client-runtime": "^0.1.
|
|
59
|
-
"@deepseek-ai/dsh-client-ui-settings-plugins": "^0.1.
|
|
60
|
-
"@deepseek-ai/dsh-client-ui-primitives": "^0.1.
|
|
61
|
-
"@deepseek-ai/dsh-client-ui-settings": "^0.1.
|
|
62
|
-
"@deepseek-ai/dsh-client-ui-slots": "^0.1.
|
|
63
|
-
"@deepseek-ai/dsh-commands": "^0.1.
|
|
64
|
-
"@deepseek-ai/dsh-llm": "^0.1.
|
|
65
|
-
"@deepseek-ai/dsh-session": "^0.1.
|
|
66
|
-
"@deepseek-ai/dsh-settings": "^0.1.
|
|
67
|
-
"@deepseek-ai/dsh-timeout": "^0.1.
|
|
68
|
-
"@deepseek-ai/dsh-typert-protocol": "^0.1.
|
|
69
|
-
"@deepseek-ai/dsh-typert-registry": "^0.1.
|
|
54
|
+
"@deepseek-ai/dsh-agent": "^0.1.1-rc.1",
|
|
55
|
+
"@deepseek-ai/dsh-api-gateway": "^0.1.1-rc.1",
|
|
56
|
+
"@deepseek-ai/dsh-client-connection": "^0.1.1-rc.1",
|
|
57
|
+
"@deepseek-ai/dsh-client-locale": "^0.1.1-rc.1",
|
|
58
|
+
"@deepseek-ai/dsh-client-runtime": "^0.1.1-rc.1",
|
|
59
|
+
"@deepseek-ai/dsh-client-ui-settings-plugins": "^0.1.1-rc.1",
|
|
60
|
+
"@deepseek-ai/dsh-client-ui-primitives": "^0.1.1-rc.1",
|
|
61
|
+
"@deepseek-ai/dsh-client-ui-settings": "^0.1.1-rc.1",
|
|
62
|
+
"@deepseek-ai/dsh-client-ui-slots": "^0.1.1-rc.1",
|
|
63
|
+
"@deepseek-ai/dsh-commands": "^0.1.1-rc.1",
|
|
64
|
+
"@deepseek-ai/dsh-llm": "^0.1.1-rc.1",
|
|
65
|
+
"@deepseek-ai/dsh-session": "^0.1.1-rc.1",
|
|
66
|
+
"@deepseek-ai/dsh-settings": "^0.1.1-rc.1",
|
|
67
|
+
"@deepseek-ai/dsh-timeout": "^0.1.1-rc.1",
|
|
68
|
+
"@deepseek-ai/dsh-typert-protocol": "^0.1.1-rc.1",
|
|
69
|
+
"@deepseek-ai/dsh-typert-registry": "^0.1.1-rc.1",
|
|
70
70
|
"react": "^18.2.0",
|
|
71
71
|
"@deepseek-ai/schemastery": "^3.18.1"
|
|
72
72
|
},
|
|
@@ -37,8 +37,8 @@ const CHANGELOG_HEADER =
|
|
|
37
37
|
* suffix); null when not parseable. The suffix character set matches the
|
|
38
38
|
* workflows' guard regex `[0-9A-Za-z.-]+` (keep-simple: no leading-zero or
|
|
39
39
|
* empty-identifier rules), with one tightening: the suffix MUST contain at
|
|
40
|
-
* least one digit, so `
|
|
41
|
-
* (no numeric identifier) and `
|
|
40
|
+
* least one digit, so `1.2.3-alpha.1` / `1.2.3-rc.2` parse but `1.2.3-alpha`
|
|
41
|
+
* (no numeric identifier) and `1.2.3-` (empty suffix) are rejected. Returns
|
|
42
42
|
* { major, minor, patch, prerelease? } — prerelease is the raw suffix text
|
|
43
43
|
* (e.g. 'alpha.1') when present, undefined for formal versions.
|
|
44
44
|
*/
|