@aiwayds/dsh-tui-pi 1.2.0 → 1.2.2
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/cordis.patch.yml +0 -11
- package/lib/startup-info.d.ts +25 -3
- package/lib/startup-info.js +67 -7
- package/lib/startup-info.js.map +1 -1
- package/package.json +3 -4
package/cordis.patch.yml
CHANGED
|
@@ -14,20 +14,9 @@
|
|
|
14
14
|
# the bundle to be wired into the model-facing tool catalog. Without this
|
|
15
15
|
# insert, the `ask_user_question` tool never registers with the model and
|
|
16
16
|
# the user-questions seam has no visible surface in this profile.
|
|
17
|
-
#
|
|
18
|
-
# dsh-model-sync is mounted here: it is a default dependency of this package
|
|
19
|
-
# and handles the automatic sync of the built-in routes' model lists — no TUI
|
|
20
|
-
# command involved. It ships its own bundle patch
|
|
21
|
-
# (@aiwayds/dsh-model-sync/cordis.patch.yml); the dependency only puts its
|
|
22
|
-
# package in the profile's node_modules so the patch has something to mount.
|
|
23
|
-
# Do NOT also list @aiwayds/dsh-model-sync in a profile's bundles: mounting
|
|
24
|
-
# it here too would duplicate the entry id and crash the loader — remove it
|
|
25
|
-
# from the profile's bundles instead.
|
|
26
17
|
|
|
27
18
|
- insert:
|
|
28
19
|
- id: tui-pi
|
|
29
20
|
name: '@aiwayds/dsh-tui-pi'
|
|
30
21
|
- id: tool-ask-user
|
|
31
22
|
name: '@deepseek-ai/dsh-tool-ask-user'
|
|
32
|
-
- id: dsh-model-sync
|
|
33
|
-
name: '@aiwayds/dsh-model-sync'
|
package/lib/startup-info.d.ts
CHANGED
|
@@ -78,10 +78,32 @@ export declare function countSkills(publicNames: readonly string[], curatedNames
|
|
|
78
78
|
* Split loader entries into the summary's plugin view: MCP servers off the
|
|
79
79
|
* mcp-client instances (disabled ones kept but flagged, so the count stays
|
|
80
80
|
* honest about what the tree declares vs. what runs), user plugin rows
|
|
81
|
-
* (`name` + a `(disabled)` suffix),
|
|
82
|
-
* count.
|
|
81
|
+
* (`name` + a `@version` suffix when resolvable + a `(disabled)` suffix),
|
|
82
|
+
* and the base count. Group rows never count.
|
|
83
83
|
*/
|
|
84
|
-
export declare function classifyPluginEntries(entries: readonly PluginEntryView[]): Pick<StartupSummary, 'mcp' | 'userPlugins' | 'baseCount' | 'pluginTotal'>;
|
|
84
|
+
export declare function classifyPluginEntries(entries: readonly PluginEntryView[], resolveVersion?: (name: string) => string | undefined): Pick<StartupSummary, 'mcp' | 'userPlugins' | 'baseCount' | 'pluginTotal'>;
|
|
85
|
+
/**
|
|
86
|
+
* Build a plugin-version resolver anchored at `anchor` (a module URL or file
|
|
87
|
+
* path — the plugin's own built file keeps it inside the profile's install
|
|
88
|
+
* tree, where the sibling user plugins live). Resolution walks UP from the
|
|
89
|
+
* specifier's resolved entry file to the nearest package.json, so it works
|
|
90
|
+
* for bare specifiers and dev `file:`/path entries alike and is immune to
|
|
91
|
+
* an `exports` field that hides package.json. Best-effort: an unresolvable
|
|
92
|
+
* name degrades to `undefined` (the row renders without a version).
|
|
93
|
+
*/
|
|
94
|
+
export declare function moduleVersionResolver(anchor: string): (name: string) => string | undefined;
|
|
95
|
+
/**
|
|
96
|
+
* Plugin-version resolver for the summary rows, preferring the profile root
|
|
97
|
+
* (`$DSH_HOME/profiles/<name>`): the cordis loader imports every entry
|
|
98
|
+
* package from there, so its install tree holds the versions that actually
|
|
99
|
+
* run. Anchoring at this plugin's own file instead reads whatever tree the
|
|
100
|
+
* plugin was loaded from — for a `link:`-mounted checkout that is a dev
|
|
101
|
+
* node_modules that can drift from the booted tree (stale versions, rows
|
|
102
|
+
* without a version for packages it doesn't depend on). Names that only
|
|
103
|
+
* resolve in the plugin's own tree — or any run without a profile root
|
|
104
|
+
* (an embedding host, a dev config dir) — fall back to the anchor resolver.
|
|
105
|
+
*/
|
|
106
|
+
export declare function pluginVersionResolver(anchor: string, profileRoot?: string): (name: string) => string | undefined;
|
|
85
107
|
/**
|
|
86
108
|
* Render the summary as transcript lines: the profile name as the tree
|
|
87
109
|
* root, the plugin tree below it (every user plugin one `├─` row, the
|
package/lib/startup-info.js
CHANGED
|
@@ -20,7 +20,8 @@
|
|
|
20
20
|
*/
|
|
21
21
|
import { readdirSync } from 'node:fs';
|
|
22
22
|
import { homedir } from 'node:os';
|
|
23
|
-
import {
|
|
23
|
+
import { createRequire } from 'node:module';
|
|
24
|
+
import { dirname, join, resolve } from 'node:path';
|
|
24
25
|
import { dshHome } from "./append-system.js";
|
|
25
26
|
import { clipToWidth } from "./text.js";
|
|
26
27
|
/** Module specifier of the MCP client plugin (one instance per server). */
|
|
@@ -62,10 +63,10 @@ export function countSkills(publicNames, curatedNames) {
|
|
|
62
63
|
* Split loader entries into the summary's plugin view: MCP servers off the
|
|
63
64
|
* mcp-client instances (disabled ones kept but flagged, so the count stays
|
|
64
65
|
* honest about what the tree declares vs. what runs), user plugin rows
|
|
65
|
-
* (`name` + a `(disabled)` suffix),
|
|
66
|
-
* count.
|
|
66
|
+
* (`name` + a `@version` suffix when resolvable + a `(disabled)` suffix),
|
|
67
|
+
* and the base count. Group rows never count.
|
|
67
68
|
*/
|
|
68
|
-
export function classifyPluginEntries(entries) {
|
|
69
|
+
export function classifyPluginEntries(entries, resolveVersion) {
|
|
69
70
|
const mcp = [];
|
|
70
71
|
const userPlugins = [];
|
|
71
72
|
let baseCount = 0;
|
|
@@ -83,10 +84,67 @@ export function classifyPluginEntries(entries) {
|
|
|
83
84
|
baseCount += 1;
|
|
84
85
|
continue;
|
|
85
86
|
}
|
|
86
|
-
|
|
87
|
+
const version = resolveVersion?.(entry.name);
|
|
88
|
+
const label = typeof version === 'string' && version !== '' ? `${entry.name}@${version}` : entry.name;
|
|
89
|
+
userPlugins.push(entry.disabled ? `${label} (disabled)` : label);
|
|
87
90
|
}
|
|
88
91
|
return { mcp, userPlugins, baseCount, pluginTotal };
|
|
89
92
|
}
|
|
93
|
+
/**
|
|
94
|
+
* Build a plugin-version resolver anchored at `anchor` (a module URL or file
|
|
95
|
+
* path — the plugin's own built file keeps it inside the profile's install
|
|
96
|
+
* tree, where the sibling user plugins live). Resolution walks UP from the
|
|
97
|
+
* specifier's resolved entry file to the nearest package.json, so it works
|
|
98
|
+
* for bare specifiers and dev `file:`/path entries alike and is immune to
|
|
99
|
+
* an `exports` field that hides package.json. Best-effort: an unresolvable
|
|
100
|
+
* name degrades to `undefined` (the row renders without a version).
|
|
101
|
+
*/
|
|
102
|
+
export function moduleVersionResolver(anchor) {
|
|
103
|
+
let req;
|
|
104
|
+
try {
|
|
105
|
+
req = createRequire(anchor);
|
|
106
|
+
}
|
|
107
|
+
catch {
|
|
108
|
+
return () => undefined;
|
|
109
|
+
}
|
|
110
|
+
return name => {
|
|
111
|
+
let entryPath;
|
|
112
|
+
try {
|
|
113
|
+
entryPath = req.resolve(name);
|
|
114
|
+
}
|
|
115
|
+
catch {
|
|
116
|
+
return undefined;
|
|
117
|
+
}
|
|
118
|
+
let dir = dirname(entryPath);
|
|
119
|
+
for (let prev = ''; dir !== prev; prev = dir, dir = dirname(dir)) {
|
|
120
|
+
try {
|
|
121
|
+
const version = req(join(dir, 'package.json'))?.version;
|
|
122
|
+
if (typeof version === 'string' && version !== '')
|
|
123
|
+
return version;
|
|
124
|
+
}
|
|
125
|
+
catch { /* no package.json at this level — keep walking */ }
|
|
126
|
+
}
|
|
127
|
+
return undefined;
|
|
128
|
+
};
|
|
129
|
+
}
|
|
130
|
+
/**
|
|
131
|
+
* Plugin-version resolver for the summary rows, preferring the profile root
|
|
132
|
+
* (`$DSH_HOME/profiles/<name>`): the cordis loader imports every entry
|
|
133
|
+
* package from there, so its install tree holds the versions that actually
|
|
134
|
+
* run. Anchoring at this plugin's own file instead reads whatever tree the
|
|
135
|
+
* plugin was loaded from — for a `link:`-mounted checkout that is a dev
|
|
136
|
+
* node_modules that can drift from the booted tree (stale versions, rows
|
|
137
|
+
* without a version for packages it doesn't depend on). Names that only
|
|
138
|
+
* resolve in the plugin's own tree — or any run without a profile root
|
|
139
|
+
* (an embedding host, a dev config dir) — fall back to the anchor resolver.
|
|
140
|
+
*/
|
|
141
|
+
export function pluginVersionResolver(anchor, profileRoot) {
|
|
142
|
+
if (profileRoot === undefined)
|
|
143
|
+
return moduleVersionResolver(anchor);
|
|
144
|
+
const fromProfile = moduleVersionResolver(join(profileRoot, 'package.json'));
|
|
145
|
+
const fromSelf = moduleVersionResolver(anchor);
|
|
146
|
+
return name => fromProfile(name) ?? fromSelf(name);
|
|
147
|
+
}
|
|
90
148
|
/**
|
|
91
149
|
* Render the summary as transcript lines: the profile name as the tree
|
|
92
150
|
* root, the plugin tree below it (every user plugin one `├─` row, the
|
|
@@ -230,9 +288,11 @@ export function collectStartupSummary(ctx) {
|
|
|
230
288
|
catch {
|
|
231
289
|
return undefined;
|
|
232
290
|
}
|
|
233
|
-
const
|
|
291
|
+
const profile = resolveProfileName(ctx);
|
|
292
|
+
const profileRoot = profile === undefined ? undefined : join(dshHome(), 'profiles', profile);
|
|
293
|
+
const classified = classifyPluginEntries(entries, pluginVersionResolver(import.meta.url, profileRoot));
|
|
234
294
|
const agentsHome = process.env.DSH_AGENTS_HOME ?? join(homedir(), '.agents');
|
|
235
295
|
const skills = countSkills(readDirNames(resolve(agentsHome, 'skills')), readDirNames(resolve(dshHome(), 'skills')));
|
|
236
|
-
return { profile
|
|
296
|
+
return { profile, ...classified, skills };
|
|
237
297
|
}
|
|
238
298
|
//# sourceMappingURL=startup-info.js.map
|
package/lib/startup-info.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"startup-info.js","sourceRoot":"","sources":["../src/startup-info.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AACrC,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA;AACjC,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;
|
|
1
|
+
{"version":3,"file":"startup-info.js","s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O,CAAC,CAAA;IAC5F,MAAM,UAAU,GAAG,qBAAqB,CAAC,OAAO,EAAE,qBAAqB,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,EAAE,WAAW,CAAC,CAAC,CAAA;IACtG,MAAM,UAAU,GAAG,OAAO,CAAC,GAAG,CAAC,eAAe,IAAI,IAAI,CAAC,OAAO,EAAE,EAAE,SAAS,CAAC,CAAA;IAC5E,MAAM,MAAM,GAAG,WAAW,CACxB,YAAY,CAAC,OAAO,CAAC,UAAU,EAAE,QAAQ,CAAC,CAAC,EAC3C,YAAY,CAAC,OAAO,CAAC,OAAO,EAAE,EAAE,QAAQ,CAAC,CAAC,CAC3C,CAAA;IACD,OAAO,EAAE,OAAO,EAAE,GAAG,UAAU,EAAE,MAAM,EAAE,CAAA;AAC3C,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aiwayds/dsh-tui-pi",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.2",
|
|
4
4
|
"description": "pi-style terminal UI for DeepSeek Harness (dsh) — pi-tui look & feel, dsh slash commands, GitHub light/dark themes, powerline footer",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -46,9 +46,8 @@
|
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
48
|
"@aiwayds/dsh-ask-router": "^0.2.0",
|
|
49
|
-
"@aiwayds/dsh-dcp": "0.5.1",
|
|
50
|
-
"@aiwayds/dsh-
|
|
51
|
-
"@aiwayds/dsh-subagent-registry": "0.3.0",
|
|
49
|
+
"@aiwayds/dsh-dcp": "^0.5.1",
|
|
50
|
+
"@aiwayds/dsh-subagent-registry": "^0.4.0",
|
|
52
51
|
"@earendil-works/pi-tui": "0.84.4"
|
|
53
52
|
},
|
|
54
53
|
"peerDependencies": {
|