pi-sdk-web 0.1.7 → 0.1.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": "pi-sdk-web",
3
- "version": "0.1.7",
3
+ "version": "0.1.9",
4
4
  "description": "Browser Web access for Pi (AI coding agent) via the Pi SDK - standalone module, zero modification to Pi itself",
5
5
  "type": "module",
6
6
  "bin": {
package/static/app.js CHANGED
@@ -545,7 +545,7 @@ class PiWebClient {
545
545
  labelEl.className = 'special-label';
546
546
  labelEl.textContent = label;
547
547
  const body = document.createElement('div');
548
- body.className = 'special-body';
548
+ body.className = 'special-body body-text';
549
549
  div.appendChild(labelEl);
550
550
  div.appendChild(body);
551
551
  div.addEventListener('click', () => this.toggleSpecial(div));
@@ -865,7 +865,7 @@ class PiWebClient {
865
865
  for (const block of message.content || []) {
866
866
  if (block.type === 'thinking') {
867
867
  const p = document.createElement('div');
868
- p.className = 'thinking';
868
+ p.className = 'thinking body-text';
869
869
  p.innerHTML = this.renderMarkdown(block.thinking);
870
870
  body.appendChild(p);
871
871
  } else if (block.type === 'text') {
package/static/style.css CHANGED
@@ -396,10 +396,16 @@ body {
396
396
 
397
397
  .body-text ul,
398
398
  .body-text ol,
399
+ .thinking ul,
400
+ .thinking ol,
401
+ .modal-message.body-text ul,
402
+ .modal-message.body-text ol,
399
403
  .message.user .body ul,
400
404
  .message.user .body ol {
401
405
  margin: 0.4em 0;
402
406
  padding-left: 1.6em;
407
+ /* Outside markers sit at the message padding edge, aligned with paragraph text */
408
+ list-style-position: outside;
403
409
  }
404
410
 
405
411
  .body-text li,