@agi-fans/dsh-tui 0.5.0 → 0.5.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/lib/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,12 @@ The format is based on [Keep a Changelog], and this project adheres to [Semantic
|
|
|
6
6
|
|
|
7
7
|
## [Unreleased]
|
|
8
8
|
|
|
9
|
+
## [0.5.1] - 2026-08-18
|
|
10
|
+
|
|
11
|
+
### Fixed
|
|
12
|
+
|
|
13
|
+
- Resume sessions that recorded the omdsh tool-presentation event instead of refusing the log as an unknown harness type.
|
|
14
|
+
|
|
9
15
|
## [0.5.0] - 2026-08-18
|
|
10
16
|
|
|
11
17
|
### Added
|
|
@@ -134,7 +140,8 @@ The format is based on [Keep a Changelog], and this project adheres to [Semantic
|
|
|
134
140
|
- Preserved terminal-cell alignment and right padding for long commands, CJK text, emoji, ANSI styling, and narrow viewports.
|
|
135
141
|
- Stabilized incremental rendering, transcript scrolling, cursor placement, tool-output folding, and queued input during active turns.
|
|
136
142
|
|
|
137
|
-
[Unreleased]: https://github.com/agi-fans/oh-my-dsh/compare/v0.5.
|
|
143
|
+
[Unreleased]: https://github.com/agi-fans/oh-my-dsh/compare/v0.5.1...HEAD
|
|
144
|
+
[0.5.1]: https://github.com/agi-fans/oh-my-dsh/compare/v0.5.0...v0.5.1
|
|
138
145
|
[0.5.0]: https://github.com/agi-fans/oh-my-dsh/compare/v0.4.0...v0.5.0
|
|
139
146
|
[0.4.0]: https://github.com/agi-fans/oh-my-dsh/compare/v0.3.0...v0.4.0
|
|
140
147
|
[0.3.0]: https://github.com/agi-fans/oh-my-dsh/compare/v0.2.0...v0.3.0
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/** Durable session configuration spanning Agent preset and tool presentation. */
|
|
2
|
-
import type
|
|
2
|
+
import { type Session, type SessionEvent } from '@deepseek-ai/dsh-session';
|
|
3
3
|
import type { ToolPresentationMode } from '@deepseek-ai/dsh-tools';
|
|
4
4
|
declare module '@deepseek-ai/dsh-session/types' {
|
|
5
5
|
interface SessionEventMap {
|
|
@@ -1,4 +1,14 @@
|
|
|
1
1
|
/** Durable session configuration spanning Agent preset and tool presentation. */
|
|
2
|
+
import { KNOWN_SESSION_EVENT_TYPES } from '@deepseek-ai/dsh-session';
|
|
3
|
+
/**
|
|
4
|
+
* Persistence refuses an unknown event type that is not marked ignorable.
|
|
5
|
+
* `Session.append` cannot set that marker yet, so this process adds omdsh-owned
|
|
6
|
+
* log-only types to the published vocabulary before any resume or inspect.
|
|
7
|
+
*/
|
|
8
|
+
function registerOmdshSessionEvents() {
|
|
9
|
+
KNOWN_SESSION_EVENT_TYPES.add('omdsh/tools-selected');
|
|
10
|
+
}
|
|
11
|
+
registerOmdshSessionEvents();
|
|
2
12
|
/** PTC starts in Code presentation; the other shipped presets start Native. */
|
|
3
13
|
export function defaultToolPresentation(agentPreset) {
|
|
4
14
|
return agentPreset === 'code' ? 'code' : 'native';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"session-configuration.js","sourceRoot":"","sources":["../../src/session/session-configuration.ts"],"names":[],"mappings":"AAAA,iFAAiF;
|
|
1
|
+
{"version":3,"file":"session-configuration.js","sourceRoot":"","sources":["../../src/session/session-configuration.ts"],"names":[],"mappings":"AAAA,iFAAiF;AAEjF,OAAO,EAAE,yBAAyB,EAAmC,MAAM,0BAA0B,CAAA;AAarG;;;;GAIG;AACH,SAAS,0BAA0B;IAChC,yBAAyC,CAAC,GAAG,CAAC,sBAAsB,CAAC,CAAA;AACxE,CAAC;AAED,0BAA0B,EAAE,CAAA;AAQ5B,+EAA+E;AAC/E,MAAM,UAAU,uBAAuB,CAAC,WAAmB;IACzD,OAAO,WAAW,KAAK,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,QAAQ,CAAA;AACnD,CAAC;AAED,sFAAsF;AACtF,MAAM,UAAU,uBAAuB,CACrC,MAA+B,EAC/B,WAA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AAQ,CAAA;IACpC,OAAO,EAAE,CAAA;AACX,CAAC;AAED,MAAM,UAAU,sBAAsB,CAAC,IAA0B;IAC/D,IAAI,IAAI,KAAK,QAAQ;QAAE,OAAO,QAAQ,CAAA;IACtC,IAAI,IAAI,KAAK,MAAM;QAAE,OAAO,MAAM,CAAA;IAClC,OAAO,MAAM,CAAA;AACf,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agi-fans/dsh-tui",
|
|
3
3
|
"description": "Library-only Cordis plugin suite for DeepSeek Harness terminal presentation and interaction",
|
|
4
|
-
"version": "0.5.
|
|
4
|
+
"version": "0.5.1",
|
|
5
5
|
"homepage": "https://github.com/agi-fans/oh-my-dsh#readme",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|