@mdwrk/mdwrk-studio 0.0.0-stage → 1.4.38
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/LICENSE +201 -0
- package/README.md +67 -3
- package/dist/en-C9wuO-Hv.js +8 -0
- package/dist/en-COn130Qv.js +66 -0
- package/dist/en-D2dLG1zq.js +41 -0
- package/dist/en-DRVntwzK.js +125 -0
- package/dist/es-C9nICgui.js +91 -0
- package/dist/es-CIjFSqx_.js +69 -0
- package/dist/es-DEqPVgcN.js +96 -0
- package/dist/esm-entry-CV-N2FdL.js +53485 -0
- package/dist/favicon.svg +19 -0
- package/dist/icons/icon-192.svg +19 -0
- package/dist/icons/icon-512.svg +19 -0
- package/dist/manifest.webmanifest +26 -0
- package/dist/mdwrk-studio.css +1 -0
- package/dist/mdwrk-studio.js +8 -0
- package/dist/sw.js +310 -0
- package/package.json +60 -4
package/LICENSE
ADDED
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
+
Object form, made available under the License, as indicated by a
|
|
37
|
+
copyright notice that is included in or attached to the work
|
|
38
|
+
(an example is provided in the Appendix below).
|
|
39
|
+
|
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
+
the Work and Derivative Works thereof.
|
|
47
|
+
|
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
|
49
|
+
the original version of the Work and any modifications or additions
|
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
+
|
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
+
subsequently incorporated within the Work.
|
|
65
|
+
|
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
|
72
|
+
|
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
+
where such license applies only to those patent claims licensable
|
|
79
|
+
by such Contributor that are necessarily infringed by their
|
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
+
institute patent litigation against any entity (including a
|
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
+
or contributory patent infringement, then any patent licenses
|
|
86
|
+
granted to You under this License for that Work shall terminate
|
|
87
|
+
as of the date such litigation is filed.
|
|
88
|
+
|
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
+
modifications, and in Source or Object form, provided that You
|
|
92
|
+
meet the following conditions:
|
|
93
|
+
|
|
94
|
+
(a) You must give any other recipients of the Work or
|
|
95
|
+
Derivative Works a copy of this License; and
|
|
96
|
+
|
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
|
98
|
+
stating that You changed the files; and
|
|
99
|
+
|
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
|
102
|
+
attribution notices from the Source form of the Work,
|
|
103
|
+
excluding those notices that do not pertain to any part of
|
|
104
|
+
the Derivative Works; and
|
|
105
|
+
|
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
|
108
|
+
include a readable copy of the attribution notices contained
|
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
|
111
|
+
of the following places: within a NOTICE text file distributed
|
|
112
|
+
as part of the Derivative Works; within the Source form or
|
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
|
114
|
+
within a display generated by the Derivative Works, if and
|
|
115
|
+
wherever such third-party notices normally appear. The contents
|
|
116
|
+
of the NOTICE file are for informational purposes only and
|
|
117
|
+
do not modify the License. You may add Your own attribution
|
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
+
that such additional attribution notices cannot be construed
|
|
121
|
+
as modifying the License.
|
|
122
|
+
|
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
|
124
|
+
may provide additional or different license terms and conditions
|
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
+
the conditions stated in this License.
|
|
129
|
+
|
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
+
this License, without any additional terms or conditions.
|
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
+
the terms of any separate license agreement you may have executed
|
|
136
|
+
with Licensor regarding such Contributions.
|
|
137
|
+
|
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
+
except as required for reasonable and customary use in describing the
|
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
+
|
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
|
152
|
+
|
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
|
158
|
+
incidental, or consequential damages of any character arising as a
|
|
159
|
+
result of this License or out of the use or inability to use the
|
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
+
other commercial damages or losses), even if such Contributor
|
|
163
|
+
has been advised of the possibility of such damages.
|
|
164
|
+
|
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
+
or other liability obligations and/or rights consistent with this
|
|
169
|
+
License. However, in accepting such obligations, You may act only
|
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
+
of your accepting any such warranty or additional liability.
|
|
175
|
+
|
|
176
|
+
END OF TERMS AND CONDITIONS
|
|
177
|
+
|
|
178
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
179
|
+
|
|
180
|
+
To apply the Apache License to your work, attach the following
|
|
181
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
182
|
+
replaced with your own identifying information. (Don't include
|
|
183
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
184
|
+
comment syntax for the file format. We also recommend that a
|
|
185
|
+
file or class name and description of purpose be included on the
|
|
186
|
+
same "printed page" as the copyright notice for easier
|
|
187
|
+
identification within third-party archives.
|
|
188
|
+
|
|
189
|
+
Copyright [yyyy] [name of copyright owner]
|
|
190
|
+
|
|
191
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
|
+
you may not use this file except in compliance with the License.
|
|
193
|
+
You may obtain a copy of the License at
|
|
194
|
+
|
|
195
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
196
|
+
|
|
197
|
+
Unless required by applicable law or agreed to in writing, software
|
|
198
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
199
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
200
|
+
See the License for the specific language governing permissions and
|
|
201
|
+
limitations under the License.
|
package/README.md
CHANGED
|
@@ -1,3 +1,67 @@
|
|
|
1
|
-
#
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
# @mdwrk/mdwrk-studio
|
|
2
|
+
|
|
3
|
+
MdWrk browser client package for markdown authoring, previewing, extension hosting, theme switching, responsive workspace layout, and retained-version PWA delivery.
|
|
4
|
+
|
|
5
|
+
<p align="center">
|
|
6
|
+
<a href="https://github.com/groupsum/mdwrk-studio/blob/master/apps/client/README.md"><img alt="Hits" src="https://visitor-badge.laobi.icu/badge?page_id=groupsum.mdwrk_studio.apps_client_README&left_text=hits" /></a>
|
|
7
|
+
<a href="https://www.npmjs.com/package/@mdwrk/mdwrk-studio"><img alt="Downloads" src="https://img.shields.io/npm/dm/%40mdwrk%2Fmdwrk-studio?label=downloads" /></a>
|
|
8
|
+
<a href="../../package.json"><img alt="Node" src="https://img.shields.io/badge/node-20.x%20%7C%2021.x%20%7C%2022.x-339933?logo=node.js&logoColor=white" /></a>
|
|
9
|
+
<a href="../../LICENSE"><img alt="License: Apache-2.0" src="https://img.shields.io/badge/license-Apache--2.0-blue.svg" /></a>
|
|
10
|
+
</p>
|
|
11
|
+
|
|
12
|
+
`@mdwrk/mdwrk-studio` packages the client surface that MdWrk uses in the browser and desktop shell. It includes the workspace chrome, editor and preview surfaces, bundled first-party extensions, responsive viewport contract, and the mount function used by embedders.
|
|
13
|
+
|
|
14
|
+
## Why
|
|
15
|
+
Use it when you need the MdWrk client itself rather than one of the lower-level editor, renderer, theme, or extension packages. The package gives consumers the runnable workspace shell while keeping deeper architecture details linked to the repo docs.
|
|
16
|
+
|
|
17
|
+
## What
|
|
18
|
+
- A workspace shell with header, action rail, explorer/sidebar, stage, and footer regions.
|
|
19
|
+
- Built-in authoring, preview, theme, language, extension, and Git-adjacent surfaces.
|
|
20
|
+
- A single viewport contract shared across all themes, with theme-specific styling layered on top.
|
|
21
|
+
- A package-level `mountMdWrkSpace` entrypoint for embedding the client surface.
|
|
22
|
+
- App-shell token ownership for chrome, rail, explorer, status, and other chassis concerns. Markdown/editor/renderer token ownership stays in the `mdwrk` package family.
|
|
23
|
+
|
|
24
|
+
## Installation
|
|
25
|
+
Node.js 20.x through 22.x, matching the workspace engine contract in the root package manifest.
|
|
26
|
+
|
|
27
|
+
```bash
|
|
28
|
+
npm install @mdwrk/mdwrk-studio
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
## Usage
|
|
32
|
+
Use the published package when you want the client surface itself.
|
|
33
|
+
|
|
34
|
+
```ts
|
|
35
|
+
import { mountMdWrkSpace } from "@mdwrk/mdwrk-studio";
|
|
36
|
+
|
|
37
|
+
const root = document.getElementById("root");
|
|
38
|
+
|
|
39
|
+
if (!root) {
|
|
40
|
+
throw new Error("Missing MdWrk root element.");
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
const unmount = mountMdWrkSpace(root);
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
Run it from the workspace while iterating on the repo.
|
|
47
|
+
|
|
48
|
+
```bash
|
|
49
|
+
npm install
|
|
50
|
+
npm run dev:client
|
|
51
|
+
npm run build -w apps/client
|
|
52
|
+
npm run screenshots:matrix -w apps/client
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
The canonical viewport contract lives in `client/public/css/base/viewports.css`, and themes are expected to preserve that structural contract while restyling the bands.
|
|
56
|
+
|
|
57
|
+
## How
|
|
58
|
+
- Run `npm run dev:client` for local client iteration.
|
|
59
|
+
- Run `npm run screenshots:matrix -w apps/client` when you need full theme and viewport coverage artifacts.
|
|
60
|
+
- Use the extension family packages to understand the bundled runtime and first-party panels.
|
|
61
|
+
|
|
62
|
+
## Related
|
|
63
|
+
- [Root README](../../README.md) - repo overview
|
|
64
|
+
- [Desktop shell](../desktop/README.md) - native wrapper for this client
|
|
65
|
+
- [MdWrk core packages](https://github.com/groupsum/mdwrk/tree/master/packages) - reusable renderer, editor, extension, and shared package families
|
|
66
|
+
- [Theme contract](https://github.com/groupsum/mdwrk/tree/master/packages/contracts/theme-contract) - theme compatibility surface
|
|
67
|
+
- [MdWrk Pages](https://github.com/groupsum/mdwrk-pages) - sibling repo for site and page package surfaces
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { e as t } from "./esm-entry-CV-N2FdL.js";
|
|
2
|
+
const s = {
|
|
3
|
+
locale: "en",
|
|
4
|
+
messages: {
|
|
5
|
+
...Object.fromEntries(Object.values(t).map((e) => [e.key, e.defaultMessage])),
|
|
6
|
+
"manifest.displayName": "Extension Manager",
|
|
7
|
+
"manifest.description": "Bundled operator console for browsing, enabling, disabling, diagnosing, and configuring extensions.",
|
|
8
|
+
"commands.open.title": "Open Extension Manager",
|
|
9
|
+
"commands.open.description": "Open the bundled extension operator console.",
|
|
10
|
+
"views.manager.title": "Extension Manager",
|
|
11
|
+
"views.manager.description": "Browse installed extensions, toggle enablement, inspect permissions, and edit extension settings.",
|
|
12
|
+
"rail.title": "Extensions",
|
|
13
|
+
"settings.title": "Extension Manager Preferences",
|
|
14
|
+
"settings.sections.display.title": "Display",
|
|
15
|
+
"settings.sections.display.description": "Controls the default information density for the extension manager.",
|
|
16
|
+
"settings.fields.showCompatibilityByDefault.label": "Show compatibility details by default",
|
|
17
|
+
"settings.fields.showCompatibilityByDefault.description": "Expand compatibility information for each extension when the manager opens.",
|
|
18
|
+
"settings.fields.showDiagnosticsByDefault.label": "Show diagnostics by default",
|
|
19
|
+
"settings.fields.showDiagnosticsByDefault.description": "Expand runtime diagnostics for each extension when the manager opens.",
|
|
20
|
+
"view.header.title": "Extension Manager",
|
|
21
|
+
"view.header.subtitle": "Bundled extension catalog, enablement controls, permissions, compatibility, diagnostics, and settings.",
|
|
22
|
+
"view.actions.exit": "Exit",
|
|
23
|
+
"view.actions.close": "Close",
|
|
24
|
+
"view.stats.extensions": "Extensions",
|
|
25
|
+
"view.stats.active": "Active",
|
|
26
|
+
"view.stats.disabled": "Disabled",
|
|
27
|
+
"view.stats.incompatible": "Incompatible",
|
|
28
|
+
"view.card.source.bundled": "Bundled",
|
|
29
|
+
"view.card.source.installed": "Installed",
|
|
30
|
+
"view.card.actions.enable": "Enable",
|
|
31
|
+
"view.card.actions.disable": "Disable",
|
|
32
|
+
"view.card.actions.activate": "Activate",
|
|
33
|
+
"view.card.actions.deactivate": "Deactivate",
|
|
34
|
+
"view.card.labels.package": "Package",
|
|
35
|
+
"view.card.labels.version": "Version",
|
|
36
|
+
"view.card.labels.activation": "Activation",
|
|
37
|
+
"view.card.labels.enabled": "Enabled",
|
|
38
|
+
"view.card.labels.permissions": "Permissions",
|
|
39
|
+
"view.card.labels.compatibility": "Compatibility",
|
|
40
|
+
"view.card.labels.health": "Health & diagnostics",
|
|
41
|
+
"view.card.labels.settings": "Settings",
|
|
42
|
+
"view.card.state.enabled": "yes",
|
|
43
|
+
"view.card.state.disabled": "no",
|
|
44
|
+
"view.card.compatibility.ok": "Compatible with the current host, runtime, and theme contract.",
|
|
45
|
+
"view.card.compatibility.error": "One or more compatibility issues were detected.",
|
|
46
|
+
"view.card.health.noDiagnostics": "No runtime diagnostics recorded.",
|
|
47
|
+
"view.card.health.lastError": "Last error",
|
|
48
|
+
"settings.form.state.enabled": "Enabled",
|
|
49
|
+
"settings.form.state.disabled": "Disabled",
|
|
50
|
+
"settings.shortcut.kicker": "Extension manager",
|
|
51
|
+
"settings.shortcut.title": "Extension Manager",
|
|
52
|
+
"settings.shortcut.description": "Open the pane workspace to inspect runtime inventory, compatibility, installed catalog entries, and diagnostics.",
|
|
53
|
+
"settings.stats.extensions": "EXTENSIONS",
|
|
54
|
+
"settings.stats.active": "ACTIVE",
|
|
55
|
+
"settings.stats.installed": "INSTALLED",
|
|
56
|
+
"settings.stats.catalog": "CATALOG",
|
|
57
|
+
"settings.chips.indexeddb": "INDEXEDDB",
|
|
58
|
+
"settings.chips.paneOnly": "Pane only",
|
|
59
|
+
"settings.chips.englishFallback": "English fallback",
|
|
60
|
+
"settings.actions.openManager": "Open manager",
|
|
61
|
+
"diagnostics.ready": "Extension Manager activated successfully."
|
|
62
|
+
}
|
|
63
|
+
};
|
|
64
|
+
export {
|
|
65
|
+
s as extensionManagerEnCatalog
|
|
66
|
+
};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { T as e, t as s } from "./esm-entry-CV-N2FdL.js";
|
|
2
|
+
const a = {
|
|
3
|
+
locale: "en",
|
|
4
|
+
messages: {
|
|
5
|
+
...Object.fromEntries(Object.values(s).map((t) => [t.key, t.defaultMessage])),
|
|
6
|
+
[`${e}.manifest.displayName`]: "Theme Studio",
|
|
7
|
+
[`${e}.manifest.description`]: "Bundled theme authoring extension for inspecting tokens, previewing renderer/editor bridges, and exporting portable theme artifacts.",
|
|
8
|
+
[`${e}.commands.open.title`]: "Open Theme Studio",
|
|
9
|
+
[`${e}.commands.open.description`]: "Open the bundled theme authoring workspace.",
|
|
10
|
+
[`${e}.view.title`]: "Theme Studio",
|
|
11
|
+
[`${e}.view.description`]: "Inspect, preview, apply, revert, and export themes against the formal token/class contract.",
|
|
12
|
+
[`${e}.rail.title`]: "Theme Studio",
|
|
13
|
+
[`${e}.panel.header.title`]: "Theme Studio",
|
|
14
|
+
[`${e}.panel.header.subtitle`]: "Token inspector, class relationship inspector, live renderer/editor previews, and portable theme exports.",
|
|
15
|
+
[`${e}.panel.actions.close`]: "Close",
|
|
16
|
+
[`${e}.panel.actions.refresh`]: "Refresh",
|
|
17
|
+
[`${e}.panel.actions.preview`]: "Preview draft",
|
|
18
|
+
[`${e}.panel.actions.apply`]: "Apply draft",
|
|
19
|
+
[`${e}.panel.actions.revert`]: "Revert draft",
|
|
20
|
+
[`${e}.panel.actions.export`]: "Generate exports",
|
|
21
|
+
[`${e}.status.ready`]: "Ready",
|
|
22
|
+
[`${e}.status.busy`]: "Working…",
|
|
23
|
+
[`${e}.status.applied`]: "Draft applied",
|
|
24
|
+
[`${e}.status.reverted`]: "Draft reverted",
|
|
25
|
+
[`${e}.status.exported`]: "Exports generated",
|
|
26
|
+
[`${e}.settings.shortcut.kicker`]: "Theme Studio",
|
|
27
|
+
[`${e}.settings.shortcut.title`]: "Theme Studio",
|
|
28
|
+
[`${e}.settings.shortcut.description`]: "Open the pane workspace to inspect token bridges, preview renderer/editor output, and export portable theme artifacts.",
|
|
29
|
+
[`${e}.settings.stats.themeId`]: "Theme ID",
|
|
30
|
+
[`${e}.settings.stats.tokens`]: "TOKENS",
|
|
31
|
+
[`${e}.settings.stats.relationships`]: "RELATIONSHIPS",
|
|
32
|
+
[`${e}.settings.stats.status`]: "STATUS",
|
|
33
|
+
[`${e}.settings.chips.paneOnly`]: "Pane only",
|
|
34
|
+
[`${e}.settings.chips.splitSingle`]: "SPLIT + SINGLE",
|
|
35
|
+
[`${e}.settings.chips.englishFallback`]: "English fallback",
|
|
36
|
+
[`${e}.settings.actions.openStudio`]: "Open studio"
|
|
37
|
+
}
|
|
38
|
+
};
|
|
39
|
+
export {
|
|
40
|
+
a as themeStudioEnCatalog
|
|
41
|
+
};
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
const e = {
|
|
2
|
+
locale: "en",
|
|
3
|
+
messages: {
|
|
4
|
+
"manifest.displayName": "Gemini Agent",
|
|
5
|
+
"manifest.description": "Bundled Gemini assistant for conversation-driven markdown drafting, preview, and safe writeback.",
|
|
6
|
+
"commands.open.title": "Open Gemini Agent",
|
|
7
|
+
"commands.open.description": "Open the Gemini Agent operator view.",
|
|
8
|
+
"commands.summarize.title": "Summarize Current File",
|
|
9
|
+
"commands.summarize.description": "Summarize the active markdown document in the Gemini Agent view.",
|
|
10
|
+
"commands.rewrite.title": "Draft Rewrite of Selection",
|
|
11
|
+
"commands.rewrite.description": "Generate a draft rewrite for the current selection in the Gemini Agent view.",
|
|
12
|
+
"commands.applySelection.title": "Apply Gemini Draft to Selection",
|
|
13
|
+
"commands.applySelection.description": "Apply the current Gemini draft to the active selection when writeback is enabled.",
|
|
14
|
+
"commands.replaceDocument.title": "Replace Document With Gemini Draft",
|
|
15
|
+
"commands.replaceDocument.description": "Replace the current document with the latest Gemini draft when writeback is enabled.",
|
|
16
|
+
"view.title": "Gemini Agent",
|
|
17
|
+
"view.description": "Run Gemini conversations against the active markdown document and manage safe draft writeback.",
|
|
18
|
+
"rail.title": "Gemini",
|
|
19
|
+
"settings.title": "Gemini Agent settings",
|
|
20
|
+
"settings.description": "Configure provider connectivity, automatic context attachment, and safe writeback behavior for the Gemini extension.",
|
|
21
|
+
"settings.sections.general.title": "Provider",
|
|
22
|
+
"settings.sections.general.description": "Configure the Gemini endpoint, model selection, authentication, and request behavior.",
|
|
23
|
+
"settings.sections.context.title": "Context",
|
|
24
|
+
"settings.sections.context.description": "Control how the active document and current selection are attached to ad hoc prompts.",
|
|
25
|
+
"settings.sections.writeback.title": "Writeback",
|
|
26
|
+
"settings.sections.writeback.description": "Control whether Gemini drafts can be explicitly applied back into the editor.",
|
|
27
|
+
"settings.fields.endpoint.label": "API endpoint",
|
|
28
|
+
"settings.fields.endpoint.description": "Base Gemini API endpoint or a full generateContent URL.",
|
|
29
|
+
"settings.fields.model.label": "Model",
|
|
30
|
+
"settings.fields.model.description": "Gemini model name used for generateContent requests.",
|
|
31
|
+
"settings.fields.authMode.label": "Authentication mode",
|
|
32
|
+
"settings.fields.authMode.description": "Use an API key directly or route requests through an upstream that handles authentication.",
|
|
33
|
+
"settings.fields.authMode.option.apiKey": "API key",
|
|
34
|
+
"settings.fields.authMode.option.none": "No direct auth in extension",
|
|
35
|
+
"settings.fields.apiKey.label": "API key",
|
|
36
|
+
"settings.fields.apiKey.description": "Gemini API key used when authentication mode is set to API key.",
|
|
37
|
+
"settings.fields.systemPrompt.label": "System prompt",
|
|
38
|
+
"settings.fields.systemPrompt.description": "Instruction prepended to every Gemini request.",
|
|
39
|
+
"settings.fields.temperature.label": "Temperature",
|
|
40
|
+
"settings.fields.temperature.description": "Sampling temperature passed to Gemini.",
|
|
41
|
+
"settings.fields.timeout.label": "Request timeout (ms)",
|
|
42
|
+
"settings.fields.timeout.description": "Abort the Gemini request if it exceeds this duration.",
|
|
43
|
+
"settings.fields.autoAttachDocument.label": "Attach active document to custom prompts",
|
|
44
|
+
"settings.fields.autoAttachDocument.description": "Include the current markdown document when using the custom prompt workflow.",
|
|
45
|
+
"settings.fields.autoAttachSelection.label": "Attach current selection to custom prompts",
|
|
46
|
+
"settings.fields.autoAttachSelection.description": "Include the current selection when using the custom prompt workflow.",
|
|
47
|
+
"settings.fields.allowWriteBack.label": "Allow explicit writeback",
|
|
48
|
+
"settings.fields.allowWriteBack.description": "Permit the Apply actions to write Gemini drafts into the editor. Disabled by default for safety.",
|
|
49
|
+
"status.configured": "Configured",
|
|
50
|
+
"status.missingConfiguration": "Missing configuration",
|
|
51
|
+
"status.writebackDisabled": "Writeback disabled",
|
|
52
|
+
"status.writebackEnabled": "Writeback enabled",
|
|
53
|
+
"status.idle": "Ready",
|
|
54
|
+
"status.running": "Running Gemini request...",
|
|
55
|
+
"status.noDocument": "No active markdown document",
|
|
56
|
+
"status.noSelection": "No active selection",
|
|
57
|
+
"status.noDraft": "No Gemini draft available",
|
|
58
|
+
"status.promptPlaceholder": "Ask Gemini to summarize, critique, transform, or extract structure from the active markdown...",
|
|
59
|
+
"panel.title": "Gemini Agent",
|
|
60
|
+
"panel.subtitle": "Conversation-first drafting with Markdown preview, contextual prompts, and safe explicit writeback.",
|
|
61
|
+
"panel.close": "Close",
|
|
62
|
+
"panel.refresh": "Refresh context",
|
|
63
|
+
"panel.runPrompt": "Send",
|
|
64
|
+
"panel.summarize": "Summarize file",
|
|
65
|
+
"panel.rewriteSelection": "Rewrite selection",
|
|
66
|
+
"panel.applySelection": "Apply draft to selection",
|
|
67
|
+
"panel.replaceDocument": "Replace document with draft",
|
|
68
|
+
"panel.clearDraft": "Clear draft",
|
|
69
|
+
"panel.clearResult": "Clear response",
|
|
70
|
+
"panel.context": "Context",
|
|
71
|
+
"panel.context.project": "Project",
|
|
72
|
+
"panel.context.file": "File",
|
|
73
|
+
"panel.context.selection": "Selection",
|
|
74
|
+
"panel.context.none": "None",
|
|
75
|
+
"panel.kicker": "Gemini agent",
|
|
76
|
+
"panel.response": "Response",
|
|
77
|
+
"panel.draft": "Draft",
|
|
78
|
+
"panel.settings": "Effective settings",
|
|
79
|
+
"panel.prompt": "Prompt",
|
|
80
|
+
"panel.threads": "Conversations",
|
|
81
|
+
"panel.newThread": "New conversation",
|
|
82
|
+
"panel.threadEmpty": "Start a conversation to create the first Gemini thread.",
|
|
83
|
+
"panel.threadCount": "messages",
|
|
84
|
+
"panel.conversation": "Conversation",
|
|
85
|
+
"panel.preview": "Markdown preview",
|
|
86
|
+
"panel.previewSource": "Preview source",
|
|
87
|
+
"panel.previewDraft": "Draft preview",
|
|
88
|
+
"panel.previewResponse": "Response preview",
|
|
89
|
+
"panel.previewDocument": "Document preview",
|
|
90
|
+
"panel.previewEmpty": "Run Gemini or draft content to preview rendered Markdown here.",
|
|
91
|
+
"panel.chatInput": "Conversation prompt",
|
|
92
|
+
"panel.chatTranscript": "Thread transcript",
|
|
93
|
+
"panel.composerHint": "Type @ to mention workspace files alongside the active file and selection context.",
|
|
94
|
+
"panel.mentionSuggestions": "Mention suggestions",
|
|
95
|
+
"panel.mentionedFiles": "Mentioned files",
|
|
96
|
+
"panel.lastError": "Last error",
|
|
97
|
+
"panel.lastInfo": "Status",
|
|
98
|
+
"panel.selectionCountSuffix": "chars selected",
|
|
99
|
+
"toolbar.label": "Gemini Agent toolbar",
|
|
100
|
+
"toolbar.toggleSidebar": "Toggle sidebar",
|
|
101
|
+
"toolbar.singlePane": "Single pane",
|
|
102
|
+
"toolbar.splitScreen": "Split screen",
|
|
103
|
+
"toolbar.close": "Close Gemini Agent",
|
|
104
|
+
"toolbar.resizePanes": "Resize Gemini Agent panes",
|
|
105
|
+
"toolbar.focusConversation": "Conversation only",
|
|
106
|
+
"toolbar.focusPreview": "Preview only",
|
|
107
|
+
"toolbar.focusDraft": "Draft only",
|
|
108
|
+
"diagnostics.ready": "Gemini Agent activated successfully.",
|
|
109
|
+
"diagnostics.missingConfiguration": "Gemini request blocked because required provider configuration is missing.",
|
|
110
|
+
"diagnostics.noDocument": "Gemini request blocked because there is no active markdown document.",
|
|
111
|
+
"diagnostics.noSelection": "Gemini rewrite blocked because there is no active selection.",
|
|
112
|
+
"diagnostics.requestSucceeded": "Gemini request completed successfully.",
|
|
113
|
+
"diagnostics.writebackBlocked": "Gemini writeback blocked because explicit writeback is disabled or no draft is available.",
|
|
114
|
+
"diagnostics.writebackApplied": "Gemini draft applied successfully.",
|
|
115
|
+
"notifications.writebackBlocked": "Gemini draft was not applied because explicit writeback is disabled or no draft is available.",
|
|
116
|
+
"notifications.writebackAppliedSelection": "Gemini draft applied to the active selection.",
|
|
117
|
+
"notifications.writebackAppliedDocument": "Gemini draft replaced the current document.",
|
|
118
|
+
"notifications.missingConfiguration": "Configure the Gemini endpoint and API key before sending requests.",
|
|
119
|
+
"notifications.noSelection": "Select text before requesting a Gemini rewrite draft.",
|
|
120
|
+
"notifications.noDocument": "Open a markdown file before running Gemini workflows."
|
|
121
|
+
}
|
|
122
|
+
};
|
|
123
|
+
export {
|
|
124
|
+
e as geminiAgentEnCatalog
|
|
125
|
+
};
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
const e = {
|
|
2
|
+
locale: "es",
|
|
3
|
+
messages: {
|
|
4
|
+
"manifest.displayName": "Agente Gemini",
|
|
5
|
+
"manifest.description": "Asistente Gemini integrado para conversaciones, redaccion en Markdown, vista previa y escritura segura.",
|
|
6
|
+
"commands.open.title": "Abrir Agente Gemini",
|
|
7
|
+
"commands.open.description": "Abre la vista operativa del Agente Gemini.",
|
|
8
|
+
"commands.summarize.title": "Resumir archivo actual",
|
|
9
|
+
"commands.summarize.description": "Resume el documento markdown activo en la vista del Agente Gemini.",
|
|
10
|
+
"commands.rewrite.title": "Redactar reescritura de la seleccion",
|
|
11
|
+
"commands.rewrite.description": "Genera un borrador de reescritura para la seleccion actual en la vista del Agente Gemini.",
|
|
12
|
+
"commands.applySelection.title": "Aplicar borrador Gemini a la seleccion",
|
|
13
|
+
"commands.applySelection.description": "Aplica el borrador actual de Gemini a la seleccion activa cuando la escritura esta habilitada.",
|
|
14
|
+
"commands.replaceDocument.title": "Reemplazar documento con borrador Gemini",
|
|
15
|
+
"commands.replaceDocument.description": "Reemplaza el documento actual con el ultimo borrador de Gemini cuando la escritura esta habilitada.",
|
|
16
|
+
"view.title": "Agente Gemini",
|
|
17
|
+
"view.description": "Ejecuta conversaciones Gemini sobre el documento markdown activo y gestiona la escritura segura de borradores.",
|
|
18
|
+
"rail.title": "Gemini",
|
|
19
|
+
"settings.title": "Configuracion del Agente Gemini",
|
|
20
|
+
"settings.description": "Configura la conectividad del proveedor, el contexto automatico y el comportamiento de escritura segura de la extension Gemini.",
|
|
21
|
+
"settings.sections.general.title": "Proveedor",
|
|
22
|
+
"settings.sections.general.description": "Configura el endpoint de Gemini, el modelo, la autenticacion y el comportamiento de la solicitud.",
|
|
23
|
+
"settings.sections.context.title": "Contexto",
|
|
24
|
+
"settings.sections.context.description": "Controla como se adjuntan el documento activo y la seleccion actual a los prompts ad hoc.",
|
|
25
|
+
"settings.sections.writeback.title": "Escritura",
|
|
26
|
+
"settings.sections.writeback.description": "Controla si los borradores de Gemini pueden aplicarse explicitamente de nuevo en el editor.",
|
|
27
|
+
"status.configured": "Configurado",
|
|
28
|
+
"status.missingConfiguration": "Falta configuracion",
|
|
29
|
+
"status.writebackDisabled": "Escritura deshabilitada",
|
|
30
|
+
"status.writebackEnabled": "Escritura habilitada",
|
|
31
|
+
"status.idle": "Listo",
|
|
32
|
+
"status.running": "Ejecutando solicitud Gemini...",
|
|
33
|
+
"status.noDocument": "No hay un documento markdown activo",
|
|
34
|
+
"status.noSelection": "No hay una seleccion activa",
|
|
35
|
+
"status.noDraft": "No hay un borrador Gemini disponible",
|
|
36
|
+
"status.promptPlaceholder": "Pide a Gemini que resuma, critique, transforme o extraiga estructura del markdown activo...",
|
|
37
|
+
"panel.title": "Agente Gemini",
|
|
38
|
+
"panel.subtitle": "Redaccion orientada a conversaciones con vista previa Markdown, prompts contextuales y escritura explicita segura.",
|
|
39
|
+
"panel.close": "Cerrar",
|
|
40
|
+
"panel.refresh": "Actualizar contexto",
|
|
41
|
+
"panel.runPrompt": "Enviar",
|
|
42
|
+
"panel.summarize": "Resumir archivo",
|
|
43
|
+
"panel.rewriteSelection": "Reescribir seleccion",
|
|
44
|
+
"panel.applySelection": "Aplicar borrador a la seleccion",
|
|
45
|
+
"panel.replaceDocument": "Reemplazar documento con borrador",
|
|
46
|
+
"panel.clearDraft": "Limpiar borrador",
|
|
47
|
+
"panel.clearResult": "Limpiar respuesta",
|
|
48
|
+
"panel.context": "Contexto",
|
|
49
|
+
"panel.context.project": "Proyecto",
|
|
50
|
+
"panel.context.file": "Archivo",
|
|
51
|
+
"panel.context.selection": "Seleccion",
|
|
52
|
+
"panel.context.none": "Ninguno",
|
|
53
|
+
"panel.kicker": "Agente Gemini",
|
|
54
|
+
"panel.response": "Respuesta",
|
|
55
|
+
"panel.draft": "Borrador",
|
|
56
|
+
"panel.settings": "Configuracion efectiva",
|
|
57
|
+
"panel.prompt": "Prompt",
|
|
58
|
+
"panel.threads": "Conversaciones",
|
|
59
|
+
"panel.newThread": "Nueva conversacion",
|
|
60
|
+
"panel.threadEmpty": "Inicia una conversacion para crear el primer hilo Gemini.",
|
|
61
|
+
"panel.threadCount": "mensajes",
|
|
62
|
+
"panel.conversation": "Conversacion",
|
|
63
|
+
"panel.preview": "Vista previa Markdown",
|
|
64
|
+
"panel.previewSource": "Fuente de vista previa",
|
|
65
|
+
"panel.previewDraft": "Vista previa del borrador",
|
|
66
|
+
"panel.previewResponse": "Vista previa de la respuesta",
|
|
67
|
+
"panel.previewDocument": "Vista previa del documento",
|
|
68
|
+
"panel.previewEmpty": "Ejecuta Gemini o redacta contenido para previsualizar Markdown aqui.",
|
|
69
|
+
"panel.chatInput": "Prompt de conversacion",
|
|
70
|
+
"panel.chatTranscript": "Transcripcion del hilo",
|
|
71
|
+
"panel.composerHint": "Escribe @ para mencionar archivos del espacio de trabajo junto con el contexto del archivo y la seleccion activos.",
|
|
72
|
+
"panel.mentionSuggestions": "Sugerencias de menciones",
|
|
73
|
+
"panel.mentionedFiles": "Archivos mencionados",
|
|
74
|
+
"panel.lastError": "Ultimo error",
|
|
75
|
+
"panel.lastInfo": "Estado",
|
|
76
|
+
"panel.selectionCountSuffix": "caracteres seleccionados",
|
|
77
|
+
"toolbar.label": "Barra de herramientas del Agente Gemini",
|
|
78
|
+
"toolbar.toggleSidebar": "Alternar barra lateral",
|
|
79
|
+
"toolbar.singlePane": "Panel unico",
|
|
80
|
+
"toolbar.splitScreen": "Pantalla dividida",
|
|
81
|
+
"toolbar.close": "Cerrar Agente Gemini",
|
|
82
|
+
"toolbar.resizePanes": "Redimensionar paneles del Agente Gemini",
|
|
83
|
+
"toolbar.focusConversation": "Solo conversacion",
|
|
84
|
+
"toolbar.focusPreview": "Solo vista previa",
|
|
85
|
+
"toolbar.focusDraft": "Solo borrador",
|
|
86
|
+
"diagnostics.ready": "Agente Gemini activado correctamente."
|
|
87
|
+
}
|
|
88
|
+
};
|
|
89
|
+
export {
|
|
90
|
+
e as geminiAgentEsCatalog
|
|
91
|
+
};
|