codexmate 0.0.45 → 0.0.47
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 +20 -7
- package/README.zh.md +20 -7
- package/cli.js +473 -3
- package/package.json +2 -1
- package/web-ui/app.js +27 -4
- package/web-ui/index.html +1 -0
- package/web-ui/modules/app.constants.mjs +13 -0
- package/web-ui/modules/app.methods.index.mjs +6 -0
- package/web-ui/modules/app.methods.opencode-config.mjs +228 -0
- package/web-ui/modules/app.methods.startup-claude.mjs +3 -1
- package/web-ui/modules/app.methods.tool-config-permissions.mjs +3 -2
- package/web-ui/modules/config-mode.computed.mjs +17 -1
- package/web-ui/modules/i18n/locales/en.mjs +42 -0
- package/web-ui/modules/i18n/locales/ja.mjs +42 -0
- package/web-ui/modules/i18n/locales/vi.mjs +43 -0
- package/web-ui/modules/i18n/locales/zh-tw.mjs +1269 -0
- package/web-ui/modules/i18n/locales/zh.mjs +42 -0
- package/web-ui/modules/i18n.dict.mjs +2 -0
- package/web-ui/modules/i18n.mjs +3 -2
- package/web-ui/partials/index/layout-header.html +30 -2
- package/web-ui/partials/index/panel-config-claude.html +6 -6
- package/web-ui/partials/index/panel-config-codex.html +6 -6
- package/web-ui/partials/index/panel-config-opencode.html +166 -0
- package/web-ui/res/web-ui-render.precompiled.js +467 -55
- package/web-ui/styles/controls-forms.css +62 -4
|
@@ -104,6 +104,30 @@
|
|
|
104
104
|
flex: 0 0 auto;
|
|
105
105
|
}
|
|
106
106
|
|
|
107
|
+
.selector-actions.opencode-provider-actions {
|
|
108
|
+
display: inline-flex;
|
|
109
|
+
align-items: stretch;
|
|
110
|
+
justify-content: flex-end;
|
|
111
|
+
gap: 8px;
|
|
112
|
+
white-space: nowrap;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.selector-actions.opencode-provider-actions > .btn-tool,
|
|
116
|
+
.selector-actions.opencode-provider-actions > .btn-tool-compact {
|
|
117
|
+
display: inline-flex;
|
|
118
|
+
align-items: center;
|
|
119
|
+
justify-content: center;
|
|
120
|
+
width: auto;
|
|
121
|
+
min-width: 0;
|
|
122
|
+
height: 28px;
|
|
123
|
+
min-height: 28px;
|
|
124
|
+
margin: 0;
|
|
125
|
+
padding: 0 10px;
|
|
126
|
+
line-height: 1;
|
|
127
|
+
font-size: 12px;
|
|
128
|
+
white-space: nowrap;
|
|
129
|
+
}
|
|
130
|
+
|
|
107
131
|
.sessions-header-actions {
|
|
108
132
|
display: flex !important;
|
|
109
133
|
flex-direction: row !important;
|
|
@@ -275,6 +299,32 @@
|
|
|
275
299
|
line-height: 1.35;
|
|
276
300
|
}
|
|
277
301
|
|
|
302
|
+
.config-template-hint.error-text {
|
|
303
|
+
color: #8f2d21;
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
.template-textarea {
|
|
307
|
+
width: 100%;
|
|
308
|
+
min-height: 300px;
|
|
309
|
+
resize: vertical;
|
|
310
|
+
padding: 12px;
|
|
311
|
+
border: 1px solid var(--color-border);
|
|
312
|
+
border-radius: var(--radius-md);
|
|
313
|
+
background: rgba(255, 255, 255, 0.72);
|
|
314
|
+
color: var(--color-text-primary);
|
|
315
|
+
font-family: var(--font-mono);
|
|
316
|
+
font-size: 12px;
|
|
317
|
+
line-height: 1.55;
|
|
318
|
+
outline: none;
|
|
319
|
+
box-shadow: var(--shadow-subtle);
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
.template-textarea:focus {
|
|
323
|
+
background: var(--color-surface);
|
|
324
|
+
border-color: var(--color-brand);
|
|
325
|
+
box-shadow: var(--shadow-input-focus);
|
|
326
|
+
}
|
|
327
|
+
|
|
278
328
|
.codex-config-grid {
|
|
279
329
|
display: grid;
|
|
280
330
|
gap: 10px;
|
|
@@ -363,6 +413,13 @@
|
|
|
363
413
|
margin-top: var(--spacing-xs);
|
|
364
414
|
}
|
|
365
415
|
|
|
416
|
+
.selector-section .opencode-provider-actions > .btn-tool + .btn-tool,
|
|
417
|
+
.selector-section .opencode-provider-actions > .btn-tool-compact + .btn-tool,
|
|
418
|
+
.selector-section .opencode-provider-actions > .btn-tool + .btn-tool-compact,
|
|
419
|
+
.selector-section .opencode-provider-actions > .btn-tool-compact + .btn-tool-compact {
|
|
420
|
+
margin-top: 0;
|
|
421
|
+
}
|
|
422
|
+
|
|
366
423
|
.selector-header .settings-tab-actions > .btn-tool + .btn-tool,
|
|
367
424
|
.selector-header .settings-tab-actions > .btn-tool-compact + .btn-tool,
|
|
368
425
|
.selector-header .settings-tab-actions > .btn-tool + .btn-tool-compact,
|
|
@@ -472,6 +529,7 @@
|
|
|
472
529
|
}
|
|
473
530
|
|
|
474
531
|
.tool-config-write-body {
|
|
532
|
+
position: relative;
|
|
475
533
|
transition: filter 0.2s ease, opacity 0.2s ease;
|
|
476
534
|
}
|
|
477
535
|
|
|
@@ -483,15 +541,15 @@
|
|
|
483
541
|
}
|
|
484
542
|
|
|
485
543
|
.tool-config-write-overlay {
|
|
486
|
-
position:
|
|
544
|
+
position: absolute;
|
|
487
545
|
inset: 0;
|
|
488
|
-
z-index:
|
|
546
|
+
z-index: 10;
|
|
489
547
|
display: flex;
|
|
490
548
|
align-items: center;
|
|
491
549
|
justify-content: center;
|
|
492
550
|
box-sizing: border-box;
|
|
493
|
-
min-height:
|
|
494
|
-
padding:
|
|
551
|
+
min-height: 100%;
|
|
552
|
+
padding: 32px 16px;
|
|
495
553
|
border-radius: 0;
|
|
496
554
|
background: rgba(247, 240, 233, 0.78);
|
|
497
555
|
background: color-mix(in srgb, var(--color-bg) 68%, transparent);
|