@nevescloud/pip 2.11.0 → 2.11.2

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.2",
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,14 @@ 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
+ /* Force light as the default scheme for pip's chrome. The fallbacks
158
+ below use light-dark(); without an explicit value here CSS treats
159
+ the element as "normal", which lets the browser pick the dark
160
+ branch based on the visitor's OS preference — painting pip dark
161
+ even when the host page is rendering light. Hosts that want dark
162
+ pip set --pip-* variables explicitly or override color-scheme to
163
+ dark on this rule. */
164
+ color-scheme: light;
160
165
  border: 1px solid var(--pip-border, light-dark(rgba(0,0,0,0.10), rgba(255,255,255,0.12)));
161
166
  border-radius: 14px;
162
167
  background: var(--pip-surface, light-dark(#fff, #212529));