@nevescloud/pip 2.11.0 → 2.11.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/README.md CHANGED
@@ -163,4 +163,4 @@ For a turn loop, tool dispatch, history, and an Anthropic provider, pair pip-cor
163
163
 
164
164
  ## Demo
165
165
 
166
- Live: [jonasneves.github.io/pip/](https://jonasneves.github.io/pip/). Source: `docs/index.html`.
166
+ `docs/index.html` is a standalone demo wiring two stub providers (echo + reverse) through the runtime. Open it locally to play with the slash autocomplete, `/model` switching, and the chat shell without needing an API key.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nevescloud/pip",
3
- "version": "2.11.0",
3
+ "version": "2.11.1",
4
4
  "description": "Floating assistant bubble + panel + chat runtime. ESM, no build.",
5
5
  "type": "module",
6
6
  "main": "pip-core.esm.js",
@@ -30,13 +30,13 @@
30
30
  ],
31
31
  "author": "Jonas Neves",
32
32
  "license": "MIT",
33
- "homepage": "https://github.com/jonasneves/pip#readme",
33
+ "homepage": "https://github.com/nevescloud/pip#readme",
34
34
  "repository": {
35
35
  "type": "git",
36
- "url": "git+https://github.com/jonasneves/pip.git"
36
+ "url": "git+https://github.com/nevescloud/pip.git"
37
37
  },
38
38
  "bugs": {
39
- "url": "https://github.com/jonasneves/pip/issues"
39
+ "url": "https://github.com/nevescloud/pip/issues"
40
40
  },
41
41
  "publishConfig": {
42
42
  "access": "public"
package/pip-core.esm.js CHANGED
@@ -154,9 +154,12 @@ const CSS = `
154
154
  overflow: visible;
155
155
  margin: 0;
156
156
  padding: 14px;
157
- /* Opt this scope into light-dark() so var() fallbacks below render
158
- correctly when the host page hasn't set --pip-surface etc. */
159
- color-scheme: light dark;
157
+ /* color-scheme inherits from the host page. Don't force "light dark"
158
+ here that overrides a light-mode host whose user is on a dark OS,
159
+ painting pip dark while the surrounding page is light (and
160
+ defeating any --pip-* variables a host did set but happens to leave
161
+ a fallback unmapped, e.g. --pip-input-bg). Hosts that want pip to
162
+ follow OS preference set color-scheme on body. */
160
163
  border: 1px solid var(--pip-border, light-dark(rgba(0,0,0,0.10), rgba(255,255,255,0.12)));
161
164
  border-radius: 14px;
162
165
  background: var(--pip-surface, light-dark(#fff, #212529));