@imenam/mcp-messenger 1.0.31 → 1.0.32
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 -4
- package/dist/src/core/store.d.ts +5 -0
- package/dist/src/core/store.js +10 -0
- package/dist/src/core/types.d.ts +1 -1
- package/dist/src/server/app.js +12 -0
- package/dist/src/server/ui/app.js +2655 -2464
- package/dist/src/server/ui/index.html +284 -284
- package/dist/src/server/ui/styles.css +117 -16
- package/package.json +1 -1
|
@@ -17,6 +17,8 @@
|
|
|
17
17
|
--neutral-soft: #eef0f3;
|
|
18
18
|
--radius: 8px;
|
|
19
19
|
--topbar-h: 56px;
|
|
20
|
+
/* Largeur maximale de l'application : au-delà, elle est centrée entre deux marges. */
|
|
21
|
+
--app-max: 1600px;
|
|
20
22
|
}
|
|
21
23
|
|
|
22
24
|
@media (prefers-color-scheme: dark) {
|
|
@@ -77,7 +79,7 @@ body {
|
|
|
77
79
|
align-items: center;
|
|
78
80
|
gap: 16px;
|
|
79
81
|
height: var(--topbar-h);
|
|
80
|
-
padding: 0 20px;
|
|
82
|
+
padding: 0 max(20px, calc((100% - var(--app-max)) / 2 + 20px));
|
|
81
83
|
background: var(--panel);
|
|
82
84
|
border-bottom: 1px solid var(--border);
|
|
83
85
|
}
|
|
@@ -560,6 +562,20 @@ body {
|
|
|
560
562
|
height: calc(100vh - var(--topbar-h));
|
|
561
563
|
}
|
|
562
564
|
|
|
565
|
+
.console,
|
|
566
|
+
.links {
|
|
567
|
+
max-width: var(--app-max);
|
|
568
|
+
margin: 0 auto;
|
|
569
|
+
}
|
|
570
|
+
|
|
571
|
+
@media (min-width: 1601px) {
|
|
572
|
+
.console,
|
|
573
|
+
.links {
|
|
574
|
+
border-left: 1px solid var(--border);
|
|
575
|
+
border-right: 1px solid var(--border);
|
|
576
|
+
}
|
|
577
|
+
}
|
|
578
|
+
|
|
563
579
|
.console.is-collapsed {
|
|
564
580
|
grid-template-columns: 57px var(--w-gutter) var(--w-threads) var(--w-gutter) minmax(0, 1fr);
|
|
565
581
|
}
|
|
@@ -1965,23 +1981,12 @@ body {
|
|
|
1965
1981
|
color: var(--ok);
|
|
1966
1982
|
}
|
|
1967
1983
|
|
|
1968
|
-
.links-zoom {
|
|
1969
|
-
z-index: 1;
|
|
1970
|
-
pointer-events: none;
|
|
1971
|
-
background: var(--accent);
|
|
1972
|
-
opacity: 0.05;
|
|
1973
|
-
}
|
|
1974
|
-
|
|
1975
1984
|
.links-tick {
|
|
1976
1985
|
z-index: 1;
|
|
1977
1986
|
pointer-events: none;
|
|
1978
1987
|
border-top: 1px solid var(--border-soft);
|
|
1979
1988
|
}
|
|
1980
1989
|
|
|
1981
|
-
.links-tick--zoom {
|
|
1982
|
-
border-top-color: var(--accent-softer);
|
|
1983
|
-
}
|
|
1984
|
-
|
|
1985
1990
|
.links-tick--now {
|
|
1986
1991
|
border-top: 2px solid var(--ok);
|
|
1987
1992
|
}
|
|
@@ -2012,9 +2017,6 @@ body {
|
|
|
2012
2017
|
color: var(--ok);
|
|
2013
2018
|
}
|
|
2014
2019
|
|
|
2015
|
-
.links-axis-label--zoom strong {
|
|
2016
|
-
color: var(--accent);
|
|
2017
|
-
}
|
|
2018
2020
|
|
|
2019
2021
|
.links-axis-old {
|
|
2020
2022
|
color: var(--text);
|
|
@@ -2164,7 +2166,14 @@ body {
|
|
|
2164
2166
|
color: var(--muted);
|
|
2165
2167
|
}
|
|
2166
2168
|
|
|
2167
|
-
.links-card
|
|
2169
|
+
.links-card-line {
|
|
2170
|
+
display: flex;
|
|
2171
|
+
align-items: center;
|
|
2172
|
+
gap: 4px;
|
|
2173
|
+
min-width: 0;
|
|
2174
|
+
}
|
|
2175
|
+
|
|
2176
|
+
.links-card:has(.links-card-count) .links-card-line {
|
|
2168
2177
|
padding-right: 24px;
|
|
2169
2178
|
}
|
|
2170
2179
|
|
|
@@ -2238,6 +2247,98 @@ body {
|
|
|
2238
2247
|
flex: none;
|
|
2239
2248
|
}
|
|
2240
2249
|
|
|
2250
|
+
/* Poignée d'une boîte ancienne : discrète tant que la ligne n'est pas survolée ou choisie. */
|
|
2251
|
+
.links-old-row .links-handle {
|
|
2252
|
+
opacity: 0;
|
|
2253
|
+
}
|
|
2254
|
+
|
|
2255
|
+
.links-old-row:hover .links-handle,
|
|
2256
|
+
.links-old-row.is-selected .links-handle {
|
|
2257
|
+
opacity: 1;
|
|
2258
|
+
background: var(--accent);
|
|
2259
|
+
}
|
|
2260
|
+
|
|
2261
|
+
.links-card.is-renaming .links-handle,
|
|
2262
|
+
.links-old-row.is-renaming .links-handle {
|
|
2263
|
+
display: none;
|
|
2264
|
+
}
|
|
2265
|
+
|
|
2266
|
+
/* Crayon de renommage, montré au survol de la boîte. */
|
|
2267
|
+
.links-rename {
|
|
2268
|
+
display: none;
|
|
2269
|
+
place-items: center;
|
|
2270
|
+
flex: none;
|
|
2271
|
+
width: 16px;
|
|
2272
|
+
height: 16px;
|
|
2273
|
+
border-radius: 4px;
|
|
2274
|
+
cursor: pointer;
|
|
2275
|
+
}
|
|
2276
|
+
|
|
2277
|
+
.links-rename:hover {
|
|
2278
|
+
background: var(--accent-soft);
|
|
2279
|
+
}
|
|
2280
|
+
|
|
2281
|
+
.links-rename .icon {
|
|
2282
|
+
width: 12px;
|
|
2283
|
+
height: 12px;
|
|
2284
|
+
color: var(--accent);
|
|
2285
|
+
}
|
|
2286
|
+
|
|
2287
|
+
.links-card:hover .links-rename,
|
|
2288
|
+
.links-old-row:hover .links-rename {
|
|
2289
|
+
display: inline-grid;
|
|
2290
|
+
}
|
|
2291
|
+
|
|
2292
|
+
.links.is-linking .links-rename {
|
|
2293
|
+
display: none;
|
|
2294
|
+
}
|
|
2295
|
+
|
|
2296
|
+
.links-rename-input {
|
|
2297
|
+
z-index: 4;
|
|
2298
|
+
box-sizing: border-box;
|
|
2299
|
+
padding: 0 6px;
|
|
2300
|
+
border: 1.5px solid var(--accent);
|
|
2301
|
+
border-radius: 4px;
|
|
2302
|
+
background: var(--panel);
|
|
2303
|
+
font: inherit;
|
|
2304
|
+
font-size: 12px;
|
|
2305
|
+
font-weight: 600;
|
|
2306
|
+
color: var(--text);
|
|
2307
|
+
outline: none;
|
|
2308
|
+
}
|
|
2309
|
+
|
|
2310
|
+
.links-rename-input.is-invalid {
|
|
2311
|
+
border-color: var(--danger);
|
|
2312
|
+
}
|
|
2313
|
+
|
|
2314
|
+
.links-rename-hint {
|
|
2315
|
+
z-index: 4;
|
|
2316
|
+
padding: 3px 8px;
|
|
2317
|
+
border-radius: 6px;
|
|
2318
|
+
background: var(--text);
|
|
2319
|
+
color: var(--panel);
|
|
2320
|
+
font-size: 11px;
|
|
2321
|
+
white-space: nowrap;
|
|
2322
|
+
pointer-events: none;
|
|
2323
|
+
}
|
|
2324
|
+
|
|
2325
|
+
.links-rename-hint.is-error {
|
|
2326
|
+
background: var(--danger);
|
|
2327
|
+
}
|
|
2328
|
+
|
|
2329
|
+
/* Pendant un glissé : la boîte survolée est la cible, les autres s'estompent. */
|
|
2330
|
+
.links.is-linking .links-card:not(.is-drag-source, .is-drop-target),
|
|
2331
|
+
.links.is-linking .links-old-row:not(.is-drag-source, .is-drop-target) {
|
|
2332
|
+
opacity: 0.6;
|
|
2333
|
+
}
|
|
2334
|
+
|
|
2335
|
+
.links-card.is-drop-target,
|
|
2336
|
+
.links-old-row.is-drop-target {
|
|
2337
|
+
background: var(--accent-soft);
|
|
2338
|
+
border-color: var(--accent);
|
|
2339
|
+
box-shadow: 0 0 0 3px var(--accent-softer);
|
|
2340
|
+
}
|
|
2341
|
+
|
|
2241
2342
|
.links-old-none {
|
|
2242
2343
|
z-index: 3;
|
|
2243
2344
|
font-size: 11px;
|