@paradow/ledge-relay 0.66.0 → 0.67.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.
- package/dist/{chunk-OQPSXTOH.js → chunk-XQMLJ5JA.js} +10 -0
- package/dist/cli.js +1 -1
- package/dist/main.js +1 -1
- package/package.json +1 -1
- package/web/assets/{App-BSiUwkYQ.js → App-taw9vDx4.js} +22 -22
- package/web/assets/{boot-D2V-wju8.js → boot-CA6tMe9D.js} +1 -1
- package/web/assets/index-BA7TseZk.js +52 -0
- package/web/assets/{label-C-VicMT7.js → label-CieTJibR.js} +1 -1
- package/web/assets/{xterm-DmfYKkwX.js → xterm-DjMBTSqR.js} +1 -1
- package/web/build.json +1 -1
- package/web/index.html +1 -1
- package/web/sw.js +2 -2
- package/web/assets/index-C5B85TXh.js +0 -52
|
@@ -149,6 +149,7 @@ var BackgroundCommandSchema = z4.object({
|
|
|
149
149
|
taskId: z4.string().optional()
|
|
150
150
|
});
|
|
151
151
|
var TopicSourceSchema = z4.enum(["user", "pane", "prompt"]);
|
|
152
|
+
var SESSION_LABEL_MAX = 40;
|
|
152
153
|
var SessionSchema = z4.object({
|
|
153
154
|
/** Origin is annotated by the overlay, never used as an unqualified session id on the wire. */
|
|
154
155
|
machineId: z4.string().optional(),
|
|
@@ -158,6 +159,9 @@ var SessionSchema = z4.object({
|
|
|
158
159
|
offline: z4.boolean().optional(),
|
|
159
160
|
id: z4.string().min(1),
|
|
160
161
|
name: z4.string().min(1),
|
|
162
|
+
/** A nickname the person gave it (docs/mockups/ledge-sidebar-names.html, card 2): shown before its name, « KB Projet 1 (Otto) ».
|
|
163
|
+
* Only a label: the name stays its address for the other sessions, the tasks and the routines. */
|
|
164
|
+
label: z4.string().min(1).max(SESSION_LABEL_MAX).optional(),
|
|
161
165
|
tool: ToolSchema,
|
|
162
166
|
cwd: z4.string(),
|
|
163
167
|
project: z4.string(),
|
|
@@ -2711,6 +2715,8 @@ var DaemonInfoSchema = z33.object({
|
|
|
2711
2715
|
routines: z33.boolean().optional(),
|
|
2712
2716
|
/** Answers a grouped `routine.cmd` (`others`) all or nothing: a client sends one only to a daemon that says it. */
|
|
2713
2717
|
routineGroups: z33.boolean().optional(),
|
|
2718
|
+
/** Takes `session.label`: a session's nickname, kept with it. A client sends one only to a daemon that says it. */
|
|
2719
|
+
sessionLabel: z33.boolean().optional(),
|
|
2714
2720
|
/** Its launcher answers `shell --nonce <N> <dir>` (#299): a free shell started through it gets the shell integration (OSC 633). */
|
|
2715
2721
|
freeShell: z33.boolean().optional()
|
|
2716
2722
|
});
|
|
@@ -3034,6 +3040,9 @@ var ClientMessageSchema = z33.discriminatedUnion("type", [
|
|
|
3034
3040
|
z33.object({ type: z33.literal("session.delete"), id: z33.string() }),
|
|
3035
3041
|
/** The user names the session's topic from the overlay (500 characters at most, the hook's prompt cap); an empty topic hands back to the automatic sources. */
|
|
3036
3042
|
z33.object({ type: z33.literal("session.rename"), id: z33.string(), topic: z33.string().max(500) }),
|
|
3043
|
+
/** A session's nickname set from the sidebar (`sessionLabel` in the daemon's info), trimmed; empty removes it. Its name, its
|
|
3044
|
+
* address, does not change. */
|
|
3045
|
+
z33.object({ type: z33.literal("session.label"), id: z33.string(), label: z33.string().max(200) }),
|
|
3037
3046
|
z33.object({ type: z33.literal("session.thread"), id: z33.string() }),
|
|
3038
3047
|
z33.object({ type: z33.literal("session.register"), session: SessionSchema }),
|
|
3039
3048
|
/** `agent` and `cwd` describe the session when the daemon does not know it yet (a hook from an agent started without ledge). */
|
|
@@ -3363,6 +3372,7 @@ var PHONE_RIG_NAME_MAX = 100;
|
|
|
3363
3372
|
var PhoneSessionSchema = SwitchableSessionSchema.pick({
|
|
3364
3373
|
id: true,
|
|
3365
3374
|
name: true,
|
|
3375
|
+
label: true,
|
|
3366
3376
|
tool: true,
|
|
3367
3377
|
project: true,
|
|
3368
3378
|
title: true,
|
package/dist/cli.js
CHANGED
package/dist/main.js
CHANGED