my-pi 0.0.5 → 0.0.6
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 +12 -0
- package/dist/{api-eJaobq0e.js → api-S06lPaJV.js} +3 -1
- package/dist/{api-eJaobq0e.js.map → api-S06lPaJV.js.map} +1 -1
- package/dist/api.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +13 -6
- package/themes/catppuccin-mocha.json +79 -0
- package/themes/dracula.json +78 -0
- package/themes/gruvbox-dark.json +78 -0
- package/themes/night-owl.json +78 -0
- package/themes/nord.json +78 -0
- package/themes/one-dark.json +78 -0
- package/themes/rose-pine.json +78 -0
- package/themes/solarized-dark.json +79 -0
- package/themes/tokyo-night.json +78 -0
package/README.md
CHANGED
|
@@ -70,6 +70,18 @@ Built-in extension choices can also be saved interactively with
|
|
|
70
70
|
`/extensions`. Startup flags like `--no-recall` and `--no-skills`
|
|
71
71
|
still force-disable those extensions for the current process only.
|
|
72
72
|
|
|
73
|
+
### Themes
|
|
74
|
+
|
|
75
|
+
`my-pi` ships a bundled theme pack from `./themes` and loads it into
|
|
76
|
+
the runtime automatically. Pick a theme in `/settings`, or persist one
|
|
77
|
+
via Pi settings JSON:
|
|
78
|
+
|
|
79
|
+
```json
|
|
80
|
+
{
|
|
81
|
+
"theme": "tokyo-night"
|
|
82
|
+
}
|
|
83
|
+
```
|
|
84
|
+
|
|
73
85
|
### Stdin piping
|
|
74
86
|
|
|
75
87
|
```bash
|
|
@@ -1847,6 +1847,7 @@ const BUILTIN_EXTENSION_FACTORIES = {
|
|
|
1847
1847
|
handoff,
|
|
1848
1848
|
recall
|
|
1849
1849
|
};
|
|
1850
|
+
const PACKAGE_THEME_DIR = resolve(dirname(fileURLToPath(import.meta.url)), "..", "themes");
|
|
1850
1851
|
function get_force_disabled_builtins(options) {
|
|
1851
1852
|
const force_disabled = /* @__PURE__ */ new Set();
|
|
1852
1853
|
if (!options.mcp) force_disabled.add("mcp");
|
|
@@ -1899,6 +1900,7 @@ async function create_my_pi(options = {}) {
|
|
|
1899
1900
|
...settings_manager ? { settingsManager: settings_manager } : {},
|
|
1900
1901
|
resourceLoaderOptions: {
|
|
1901
1902
|
additionalExtensionPaths: [...resolved_extensions],
|
|
1903
|
+
additionalThemePaths: [PACKAGE_THEME_DIR],
|
|
1902
1904
|
extensionFactories: [...managed_extension_factories, ...user_factories],
|
|
1903
1905
|
extensionsOverride: create_extensions_override(managed_inline_paths),
|
|
1904
1906
|
skillsOverride: (base) => {
|
|
@@ -1930,4 +1932,4 @@ async function create_my_pi(options = {}) {
|
|
|
1930
1932
|
//#endregion
|
|
1931
1933
|
export { create_my_pi as n, runPrintMode$1 as r, InteractiveMode$1 as t };
|
|
1932
1934
|
|
|
1933
|
-
//# sourceMappingURL=api-
|
|
1935
|
+
//# sourceMappingURL=api-S06lPaJV.js.map
|