codexmate 0.1.24 → 0.1.25

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 (33) hide show
  1. package/cli.js +4 -1
  2. package/package.json +1 -1
  3. package/plugins/prompt-templates/computed.mjs +1 -1
  4. package/plugins/prompt-templates/index.mjs +3 -3
  5. package/plugins/prompt-templates/manifest.mjs +5 -3
  6. package/plugins/prompt-templates/methods.mjs +9 -2
  7. package/plugins/registry.mjs +5 -2
  8. package/plugins/text-tools/computed.mjs +23 -0
  9. package/plugins/text-tools/index.mjs +14 -0
  10. package/plugins/text-tools/manifest.mjs +20 -0
  11. package/plugins/text-tools/methods.mjs +24 -0
  12. package/plugins/text-tools/overview.mjs +12 -0
  13. package/plugins/text-tools/ownership.mjs +7 -0
  14. package/web-ui/app.js +2 -2
  15. package/web-ui/index.html +0 -1
  16. package/web-ui/logic.markdown-editor.mjs +5 -57
  17. package/web-ui/modules/app.methods.navigation.mjs +79 -3
  18. package/web-ui/modules/app.methods.prompts-editor.mjs +6 -64
  19. package/web-ui/modules/app.methods.web-ui-preferences.mjs +7 -1
  20. package/web-ui/modules/i18n/locales/en.mjs +11 -0
  21. package/web-ui/modules/i18n/locales/ja.mjs +11 -0
  22. package/web-ui/modules/i18n/locales/vi.mjs +11 -0
  23. package/web-ui/modules/i18n/locales/zh-tw.mjs +11 -0
  24. package/web-ui/modules/i18n/locales/zh.mjs +11 -0
  25. package/web-ui/modules/plugins.computed.mjs +8 -2
  26. package/web-ui/modules/plugins.methods.mjs +8 -2
  27. package/web-ui/partials/index/layout-header.html +19 -4
  28. package/web-ui/partials/index/panel-plugins.html +45 -5
  29. package/web-ui/partials/index/panel-prompts.html +2 -17
  30. package/web-ui/res/web-ui-render.precompiled.js +104 -72
  31. package/web-ui/session-helpers.mjs +0 -1
  32. package/web-ui/source-bundle.cjs +1 -0
  33. package/web-ui/styles/prompts-editor.css +3 -66
@@ -1,10 +1,7 @@
1
1
  /*
2
- * Prompts-panel Markdown editor: syntax-highlight overlay, toolbar,
3
- * split live preview (desktop) and edit/preview switch (mobile).
4
- * Overlay alignment contract: the backdrop <pre> must mirror the
5
- * textarea's font, font-size, line-height, padding and white-space
6
- * exactly (.form-input padding 13px var(--spacing-sm), .template-editor
7
- * mono font 13px / 1.45, white-space pre).
2
+ * Prompts-panel Markdown editor: split live preview (desktop) and
3
+ * edit/preview switch (mobile). The editor pane itself is a plain
4
+ * textarea without any syntax-highlight overlay.
8
5
  */
9
6
 
10
7
  .prompts-md-toolbar {
@@ -125,66 +122,6 @@
125
122
  width: 100%;
126
123
  min-height: 75vh;
127
124
  max-height: none;
128
- color: transparent;
129
- caret-color: var(--color-text-primary);
130
- background: transparent;
131
- position: relative;
132
- z-index: 2;
133
- }
134
-
135
- .prompts-edit-pane .template-editor::selection {
136
- color: transparent;
137
- background: var(--color-brand-subtle);
138
- }
139
-
140
- .prompts-highlight-backdrop {
141
- position: absolute;
142
- inset: 0;
143
- z-index: 1;
144
- margin: 0;
145
- padding: 13px var(--spacing-sm);
146
- border: none;
147
- overflow: hidden;
148
- white-space: pre;
149
- font-family: var(--font-family-mono);
150
- font-size: 13px;
151
- line-height: 1.45;
152
- color: var(--color-text-primary);
153
- pointer-events: none;
154
- }
155
-
156
- /* highlight.js markdown token colors (light theme) */
157
- .prompts-highlight-backdrop .hljs-section {
158
- color: var(--color-brand-dark);
159
- font-weight: var(--font-weight-secondary);
160
- }
161
-
162
- .prompts-highlight-backdrop .hljs-strong {
163
- color: var(--color-text-primary);
164
- font-weight: 700;
165
- }
166
-
167
- .prompts-highlight-backdrop .hljs-emphasis {
168
- color: var(--color-text-secondary);
169
- font-style: italic;
170
- }
171
-
172
- .prompts-highlight-backdrop .hljs-bullet {
173
- color: var(--color-brand);
174
- }
175
-
176
- .prompts-highlight-backdrop .hljs-code {
177
- color: #7C5CBF;
178
- }
179
-
180
- .prompts-highlight-backdrop .hljs-quote {
181
- color: var(--color-text-tertiary);
182
- font-style: italic;
183
- }
184
-
185
- .prompts-highlight-backdrop .hljs-link,
186
- .prompts-highlight-backdrop .hljs-symbol {
187
- color: #3B7EA1;
188
125
  }
189
126
 
190
127
  .prompts-preview-pane {