@hyperez/regna-code 0.2.0 → 0.2.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.
@@ -26,6 +26,9 @@
26
26
  * on first run) without re-enabling the update check or phoning telemetry home. Fully
27
27
  * offline air-gapped use is then an explicit REGNA_OFFLINE=1 opt-in in the launcher.
28
28
  *
29
+ * 5) Hide the "Extensions" and "Themes" sections of the startup resource panel (internal
30
+ * implementation detail). Context and Skills still show.
31
+ *
29
32
  * Best effort: every patch is wrapped so a failure (e.g. the engine changed its layout) just
30
33
  * leaves that aspect at the engine default and never fails the install. All patches are
31
34
  * idempotent and safe to run on every install.
@@ -101,3 +104,16 @@ patchEngineFile(
101
104
  /if \(process\.env\.PI_OFFLINE\) \{/g,
102
105
  "if (true) {",
103
106
  );
107
+
108
+ // 5) Hide the "Extensions" and "Themes" sections from the startup resource panel. These are
109
+ // Regna Code internals the user does not need to see (Context and Skills still show).
110
+ patchEngineFile(
111
+ join("dist", "modes", "interactive", "interactive-mode.js"),
112
+ /addLoadedSection\("Extensions", extensionCompactList, extList, "mdHeading"\);/,
113
+ "void 0;",
114
+ );
115
+ patchEngineFile(
116
+ join("dist", "modes", "interactive", "interactive-mode.js"),
117
+ /addLoadedSection\("Themes", themeCompactList, themeList\);/,
118
+ "void 0;",
119
+ );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hyperez/regna-code",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "Regna Code. A terminal coding agent on Regna. Install with `npm i -g @hyperez/regna-code` and run `regna`. Works with the Regna cloud API and on-premise deployments.",
5
5
  "license": "PolyForm-Noncommercial-1.0.0",
6
6
  "private": false,