@kingingwang/pi-windows-x64 0.87.1 → 0.99.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.
Files changed (56) hide show
  1. package/bin/CHANGELOG.md +137 -0
  2. package/bin/docs/cli.md +64 -3
  3. package/bin/docs/configuration.md +2 -0
  4. package/bin/docs/custom-provider.md +43 -4
  5. package/bin/docs/docs.json +8 -0
  6. package/bin/docs/extensions.md +55 -0
  7. package/bin/docs/keybindings.md +1 -1
  8. package/bin/docs/llama-cpp.md +13 -0
  9. package/bin/docs/mcp.md +231 -0
  10. package/bin/docs/models.md +35 -0
  11. package/bin/docs/packages.md +4 -2
  12. package/bin/docs/providers.md +3 -0
  13. package/bin/docs/rpc-commands.md +9 -3
  14. package/bin/docs/rpc.md +3 -1
  15. package/bin/docs/sdk.md +7 -2
  16. package/bin/docs/security.md +2 -0
  17. package/bin/docs/session-format.md +5 -1
  18. package/bin/docs/settings.md +22 -3
  19. package/bin/docs/themes.md +33 -7
  20. package/bin/docs/tui.md +18 -0
  21. package/bin/docs/virtual-models.md +114 -0
  22. package/bin/docs/windows.md +2 -0
  23. package/bin/examples/README.md +1 -1
  24. package/bin/examples/extensions/README.md +2 -0
  25. package/bin/examples/extensions/built-in-tool-renderer.ts +16 -40
  26. package/bin/examples/extensions/custom-provider-anthropic/package-lock.json +2 -2
  27. package/bin/examples/extensions/custom-provider-anthropic/package.json +1 -1
  28. package/bin/examples/extensions/custom-provider-gitlab-duo/package.json +1 -1
  29. package/bin/examples/extensions/custom-provider-gitlab-duo/test.ts +5 -5
  30. package/bin/examples/extensions/debug-provider.ts +90 -0
  31. package/bin/examples/extensions/gondolin/package-lock.json +2 -2
  32. package/bin/examples/extensions/gondolin/package.json +1 -1
  33. package/bin/examples/extensions/jev-router.ts +113 -0
  34. package/bin/examples/extensions/minimal-mode.ts +24 -96
  35. package/bin/examples/extensions/sandbox/package-lock.json +2 -2
  36. package/bin/examples/extensions/sandbox/package.json +1 -1
  37. package/bin/examples/extensions/with-deps/package-lock.json +2 -2
  38. package/bin/examples/extensions/with-deps/package.json +1 -1
  39. package/bin/examples/rpc-client.ts +1 -1
  40. package/bin/examples/rpc-extension-ui.ts +1 -1
  41. package/bin/examples/sdk/14-codemode-mcp.ts +61 -0
  42. package/bin/examples/sdk/README.md +2 -1
  43. package/bin/export-html/ansi-to-html.d.ts.map +1 -1
  44. package/bin/export-html/ansi-to-html.js.map +1 -1
  45. package/bin/export-html/index.d.ts.map +1 -1
  46. package/bin/export-html/index.js.map +1 -1
  47. package/bin/export-html/template.css +10 -0
  48. package/bin/export-html/template.js +66 -17
  49. package/bin/export-html/tool-renderer.d.ts.map +1 -1
  50. package/bin/export-html/tool-renderer.js.map +1 -1
  51. package/bin/package.json +14 -12
  52. package/bin/pi.exe +2 -2
  53. package/bin/theme/dark.json +59 -72
  54. package/bin/theme/light.json +57 -69
  55. package/bin/theme/theme-schema.json +7 -2
  56. package/package.json +1 -1
@@ -14,6 +14,11 @@
14
14
  "pattern": "^[^/]+$",
15
15
  "description": "Theme name. Must not contain '/' because it is reserved for automatic light/dark theme settings."
16
16
  },
17
+ "appearance": {
18
+ "type": "string",
19
+ "enum": ["dark", "light"],
20
+ "description": "Background the theme is designed for. Detected from the theme colors when omitted."
21
+ },
17
22
  "vars": {
18
23
  "type": "object",
19
24
  "description": "Reusable color variables",
@@ -21,7 +26,7 @@
21
26
  "oneOf": [
22
27
  {
23
28
  "type": "string",
24
- "description": "Hex color (#RRGGBB), variable reference, or empty string for terminal default"
29
+ "description": "Hex color (#RGB or #RRGGBB), OKLCH or OKHSL color, variable reference, or empty string for terminal default"
25
30
  },
26
31
  {
27
32
  "type": "integer",
@@ -342,7 +347,7 @@
342
347
  "oneOf": [
343
348
  {
344
349
  "type": "string",
345
- "description": "Hex color (#RRGGBB), variable reference, or empty string for terminal default"
350
+ "description": "Hex color (#RGB or #RRGGBB), OKLCH or OKHSL color, variable reference, or empty string for terminal default"
346
351
  },
347
352
  {
348
353
  "type": "integer",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kingingwang/pi-windows-x64",
3
- "version": "0.87.1",
3
+ "version": "0.99.2",
4
4
  "description": "Pi standalone binary for windows-x64 (fork distribution)",
5
5
  "license": "MIT",
6
6
  "os": [