@goodandready/dsh-clinebot 0.3.0 → 0.3.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/CHANGELOG.md CHANGED
@@ -5,6 +5,11 @@ All notable changes to `@goodandready/dsh-clinebot` will be documented in this f
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [0.3.1] - 2026-09-07
9
+
10
+ ### Fixed
11
+ - **Style Isolation Attribute**: Added `data-dsh-plugin="dsh-clinebot"` (`style.dataset.dshPlugin`) to dynamically injected CSS tag in `lib/client.js`, protecting styles from cleanup during neighbor plugin HMR and profile updates.
12
+
8
13
  ## [0.3.0] - 2026-09-05
9
14
 
10
15
  ### Added
@@ -18,6 +18,7 @@ The plugin consists of two runtime boundaries conforming to DSH authoring standa
18
18
  * Registers localized `en` and `ru` dictionaries via `ctx.locale.register()`.
19
19
  * Reactive binding via `ctx.settingsScope.bind({ namespace: NS })` with `useSyncExternalStore` guarding against `unavailable` / `loading` snapshot states.
20
20
  * Uses native design tokens (`--dsw-alias-...`) with full dark/light theme support.
21
+ * Injects isolated style tag tagged with `data-dsh-plugin="dsh-clinebot"`.
21
22
 
22
23
  ```mermaid
23
24
  graph LR
package/lib/client.js CHANGED
@@ -56,6 +56,7 @@ window.__ModuleLoader__.load({
56
56
  if (document.getElementById('dsh-clinebot-full-css')) return
57
57
  const style = document.createElement('style')
58
58
  style.id = 'dsh-clinebot-full-css'
59
+ style.dataset.dshPlugin = NS
59
60
  style.textContent = `
60
61
  .cb-page{display:flex;flex-direction:column;gap:20px;padding:8px 0 32px;max-width:960px}
61
62
  .cb-header{display:flex;flex-direction:column;gap:8px;padding-bottom:16px;border-bottom:1px solid var(--dsw-alias-border-l2)}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@goodandready/dsh-clinebot",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "description": "DeepSeek Harness companion for ClineBot / ClinePass: dynamic subscription models sync, quota exhaustion warnings, session metrics, dedicated settings page, live usage limits, and /cline slash-command.",
5
5
  "license": "MIT",
6
6
  "type": "module",