@cryptiklemur/lattice 1.28.3 → 1.29.0
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.
|
@@ -220,7 +220,15 @@ export var PairingDialog = memo(function PairingDialog(props: PairingDialogProps
|
|
|
220
220
|
type="text"
|
|
221
221
|
value={pairCode}
|
|
222
222
|
onChange={function (e) {
|
|
223
|
-
|
|
223
|
+
var raw = e.target.value.toUpperCase().replace(/[^A-Z0-9]/g, "");
|
|
224
|
+
if (raw.startsWith("LTCE")) raw = raw.slice(4);
|
|
225
|
+
if (raw.length > 16) raw = raw.slice(0, 16);
|
|
226
|
+
var chunks: string[] = [];
|
|
227
|
+
for (var i = 0; i < raw.length; i += 4) {
|
|
228
|
+
chunks.push(raw.slice(i, i + 4));
|
|
229
|
+
}
|
|
230
|
+
var formatted = chunks.length > 0 ? "LTCE-" + chunks.join("-") : "";
|
|
231
|
+
setPairCode(formatted);
|
|
224
232
|
if (pairStatus !== "idle") {
|
|
225
233
|
setPairStatus("idle");
|
|
226
234
|
setPairError(null);
|
|
@@ -231,7 +239,8 @@ export var PairingDialog = memo(function PairingDialog(props: PairingDialogProps
|
|
|
231
239
|
handlePair();
|
|
232
240
|
}
|
|
233
241
|
}}
|
|
234
|
-
placeholder="LTCE-XXXX-XXXX"
|
|
242
|
+
placeholder="LTCE-XXXX-XXXX-XXXX-XXXX"
|
|
243
|
+
maxLength={24}
|
|
235
244
|
autoFocus
|
|
236
245
|
disabled={pairStatus === "connecting" || pairStatus === "paired"}
|
|
237
246
|
className="input input-bordered w-full bg-base-100 text-base-content font-mono text-[14px] tracking-[0.06em] mb-3 focus:border-primary"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cryptiklemur/lattice",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.29.0",
|
|
4
4
|
"description": "Multi-machine agentic dashboard for Claude Code. Monitor sessions, manage MCP servers and skills, orchestrate across mesh-networked nodes.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Aaron Scherer <me@aaronscherer.me>",
|