shadok-ai 0.11.8 → 0.11.9

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shadok-ai",
3
- "version": "0.11.8",
3
+ "version": "0.11.9",
4
4
  "main": "dist/session.js",
5
5
  "scripts": {
6
6
  "test": "node --import tsx --test test/*.ts context/*/test/*.test.mjs",
package/public/index.html CHANGED
@@ -1526,6 +1526,8 @@
1526
1526
  #secretsAdd .sec-add-row { display: flex; gap: 8px; }
1527
1527
  #secretsAdd input { flex: 1; min-width: 0; padding: 6px 8px; border-radius: 6px; border: 1px solid rgba(255,255,255,.15); background: rgba(0,0,0,.25); color: inherit; font-size: 16px; }
1528
1528
  #secretsAdd #secretSubmit { flex: none; padding: 6px 12px; border-radius: 6px; border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.08); color: inherit; cursor: pointer; }
1529
+ #secretsAdd #secretEditCancel { flex: none; padding: 6px 10px; border-radius: 6px; border: 1px solid var(--line); background: none; color: var(--text-dim); cursor: pointer; font-size: 14px; line-height: 1; }
1530
+ #secretsAdd #secretEditCancel:hover { border-color: var(--err); color: var(--err); }
1529
1531
  #secretKey[readonly] { opacity: .65; }
1530
1532
  .sec-attach { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
1531
1533
  .sec-attach-label { font-size: 12px; color: var(--text-dim); }
@@ -1650,11 +1652,11 @@
1650
1652
  <input id="secretKey" placeholder="NAME" autocomplete="off" spellcheck="false" />
1651
1653
  <input id="secretVal" placeholder="value" autocomplete="off" spellcheck="false" />
1652
1654
  <button type="submit" id="secretSubmit">Add</button>
1655
+ <button type="button" id="secretEditCancel" title="Cancel — back to adding a secret" aria-label="Cancel edit" hidden>✕</button>
1653
1656
  </div>
1654
1657
  <div id="secretAttach" class="sec-attach" hidden>
1655
1658
  <span class="sec-attach-label">Inject into profiles:</span>
1656
1659
  <div id="secretProfiles" class="sec-profiles"></div>
1657
- <button type="button" id="secretEditCancel" class="linkish" hidden>cancel edit</button>
1658
1660
  </div>
1659
1661
  </form>
1660
1662
  <div id="secretsReload" class="sec-reload" hidden></div>