recess-cli 3.58.0 → 3.60.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/args.js +2 -0
- package/dist/command-schema.js +8 -0
- package/dist/commands/changelog.js +17 -1
- package/dist/commands/family.js +89 -7
- package/dist/help.js +22 -11
- package/package.json +1 -1
package/dist/args.js
CHANGED
|
@@ -68,6 +68,7 @@ export const BOOLEAN_FLAGS = new Set([
|
|
|
68
68
|
"include-weekends",
|
|
69
69
|
"json",
|
|
70
70
|
"keep-tokens",
|
|
71
|
+
"mine",
|
|
71
72
|
"mirrored",
|
|
72
73
|
"no-ai",
|
|
73
74
|
"no-collision",
|
|
@@ -92,6 +93,7 @@ export const BOOLEAN_FLAGS = new Set([
|
|
|
92
93
|
"state-funding",
|
|
93
94
|
"supersede",
|
|
94
95
|
"to-end",
|
|
96
|
+
"top-up",
|
|
95
97
|
"unlink",
|
|
96
98
|
"visual-only",
|
|
97
99
|
"wait",
|
package/dist/command-schema.js
CHANGED
|
@@ -33,6 +33,7 @@ export const FAMILY_REMOTE_READS = [
|
|
|
33
33
|
"family calendar",
|
|
34
34
|
"family changes",
|
|
35
35
|
"family config",
|
|
36
|
+
"family events",
|
|
36
37
|
"family guardians",
|
|
37
38
|
"family kids",
|
|
38
39
|
"family reminders",
|
|
@@ -79,6 +80,7 @@ export const FAMILY_REMOTE_READS = [
|
|
|
79
80
|
"kid social",
|
|
80
81
|
"kid enrollments",
|
|
81
82
|
"kid math-progress",
|
|
83
|
+
"kid league",
|
|
82
84
|
"kid memory ls",
|
|
83
85
|
"kid memory cat",
|
|
84
86
|
"kid memory grep",
|
|
@@ -87,6 +89,8 @@ export const FAMILY_REMOTE_WRITES = [
|
|
|
87
89
|
"family add-guardian",
|
|
88
90
|
"family cancel-reminder",
|
|
89
91
|
"family drop-class",
|
|
92
|
+
"family join-event",
|
|
93
|
+
"family leave-event",
|
|
90
94
|
"family pause",
|
|
91
95
|
"family register-class",
|
|
92
96
|
"family remind",
|
|
@@ -269,7 +273,10 @@ const FAMILY_COMMANDS = new Set([
|
|
|
269
273
|
"family changes",
|
|
270
274
|
"family config",
|
|
271
275
|
"family drop-class",
|
|
276
|
+
"family events",
|
|
272
277
|
"family guardians",
|
|
278
|
+
"family join-event",
|
|
279
|
+
"family leave-event",
|
|
273
280
|
"family kids",
|
|
274
281
|
"family pause",
|
|
275
282
|
"family register-class",
|
|
@@ -379,6 +386,7 @@ const FAMILY_COMMANDS = new Set([
|
|
|
379
386
|
"kid social",
|
|
380
387
|
"kid enrollments",
|
|
381
388
|
"kid math-progress",
|
|
389
|
+
"kid league",
|
|
382
390
|
"kid memory ls",
|
|
383
391
|
"kid memory cat",
|
|
384
392
|
"kid memory grep",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { fs } from "../in-app.js";
|
|
2
2
|
import path from "node:path";
|
|
3
3
|
import { unwrap } from "../api.js";
|
|
4
|
-
import { flagString } from "../args.js";
|
|
4
|
+
import { flagString, hasFlag } from "../args.js";
|
|
5
5
|
import { CliError } from "../errors.js";
|
|
6
6
|
import { assertChoice, positional } from "./shared.js";
|
|
7
7
|
async function readSend(parsed) {
|
|
@@ -33,6 +33,22 @@ export async function runChangelogCommand({ parsed, api, writeCommand, }) {
|
|
|
33
33
|
throw new CliError("invalid_arguments", "Use changelog preview|test|send|history|show.");
|
|
34
34
|
}
|
|
35
35
|
const send = await readSend(parsed);
|
|
36
|
+
if (action === "send" && hasFlag(parsed, "top-up")) {
|
|
37
|
+
const slug = send.slug;
|
|
38
|
+
const { added } = unwrap(await api.client.POST("/admin/changelog-sends/top-up/", {
|
|
39
|
+
body: { slug, preview: true },
|
|
40
|
+
}));
|
|
41
|
+
if (added === 0)
|
|
42
|
+
return { slug, added, queued: false };
|
|
43
|
+
return writeCommand(parsed, {
|
|
44
|
+
action: `email and text the ${added} people the "${slug}" send missed, with its original copy. The feed and Slack posts don't repeat.`,
|
|
45
|
+
target: { slug },
|
|
46
|
+
request: { slug },
|
|
47
|
+
details: { added },
|
|
48
|
+
}, async () => unwrap(await api.client.POST("/admin/changelog-sends/top-up/", {
|
|
49
|
+
body: { slug },
|
|
50
|
+
})));
|
|
51
|
+
}
|
|
36
52
|
if (action === "test") {
|
|
37
53
|
const audience = assertChoice(flagString(parsed, "audience", { required: true }), ["kids", "parents", "tutors"], "--audience");
|
|
38
54
|
return unwrap(await api.client.POST("/admin/changelog-sends/test/", {
|
package/dist/commands/family.js
CHANGED
|
@@ -556,6 +556,47 @@ export async function runFamilyCommand({ parsed, api, writeCommand, }) {
|
|
|
556
556
|
if (verb === "calendar") {
|
|
557
557
|
return unwrap(await api.client.GET("/parent-v2/calendar/"));
|
|
558
558
|
}
|
|
559
|
+
if (verb === "events") {
|
|
560
|
+
const kid = hasFlag(parsed, "student")
|
|
561
|
+
? await resolveFamilyKid(api, parsed)
|
|
562
|
+
: undefined;
|
|
563
|
+
const search = flagString(parsed, "search")?.trim();
|
|
564
|
+
const days = flagInteger(parsed, "days", { min: 1, max: 35 });
|
|
565
|
+
return unwrap(await api.client.GET("/parent-v2/events/", {
|
|
566
|
+
params: {
|
|
567
|
+
query: {
|
|
568
|
+
...(search ? { search } : {}),
|
|
569
|
+
...(days !== undefined ? { days } : {}),
|
|
570
|
+
...(kid ? { studentId: kid.id } : {}),
|
|
571
|
+
...(hasFlag(parsed, "mine") ? { mine: "true" } : {}),
|
|
572
|
+
},
|
|
573
|
+
},
|
|
574
|
+
}));
|
|
575
|
+
}
|
|
576
|
+
if (verb === "join-event" || verb === "leave-event") {
|
|
577
|
+
const eventId = flagUuid(parsed, "event", { required: true });
|
|
578
|
+
const kid = hasFlag(parsed, "student")
|
|
579
|
+
? await resolveFamilyKid(api, parsed)
|
|
580
|
+
: undefined;
|
|
581
|
+
const going = verb === "join-event";
|
|
582
|
+
const body = { going, ...(kid ? { studentId: kid.id } : {}) };
|
|
583
|
+
const who = kid ? kidName(kid) : "you";
|
|
584
|
+
return writeNow(parsed, {
|
|
585
|
+
action: going
|
|
586
|
+
? `sign ${who} up for a community event`
|
|
587
|
+
: `take ${who} off a community event`,
|
|
588
|
+
target: { event: eventId, ...(kid ? kidTarget(kid) : { user: "@me" }) },
|
|
589
|
+
request: body,
|
|
590
|
+
details: {
|
|
591
|
+
consequence: going
|
|
592
|
+
? "Saves the spot on the event page, under its own rules (who it's for, age, capacity); free. Undo: family undo."
|
|
593
|
+
: "Drops the spot on the event page. Undo: family undo.",
|
|
594
|
+
},
|
|
595
|
+
}, async () => unwrap(await api.client.POST("/parent-v2/events/{eventId}/rsvp/", {
|
|
596
|
+
params: { path: { eventId } },
|
|
597
|
+
body,
|
|
598
|
+
})));
|
|
599
|
+
}
|
|
559
600
|
if (verb === "login-link") {
|
|
560
601
|
// Sends an email; nothing in the family changes, so no confirm.
|
|
561
602
|
return writeNow(parsed, {
|
|
@@ -670,17 +711,27 @@ export async function runFamilyCommand({ parsed, api, writeCommand, }) {
|
|
|
670
711
|
const kid = hasFlag(parsed, "student")
|
|
671
712
|
? await resolveFamilyKid(api, parsed)
|
|
672
713
|
: undefined;
|
|
714
|
+
const every = flagString(parsed, "every")?.trim();
|
|
715
|
+
const until = flagDate(parsed, "until");
|
|
716
|
+
if (until !== undefined && !every)
|
|
717
|
+
throw new CliError("invalid_arguments", "--until needs --every.");
|
|
673
718
|
const body = {
|
|
674
719
|
body: text,
|
|
675
720
|
...(offset ? { sendAt: at } : { at }),
|
|
676
721
|
...(kid ? { studentId: kid.id } : {}),
|
|
722
|
+
...(every ? { every } : {}),
|
|
723
|
+
...(until !== undefined ? { until } : {}),
|
|
677
724
|
};
|
|
678
725
|
return writeNow(parsed, {
|
|
679
|
-
action:
|
|
726
|
+
action: every
|
|
727
|
+
? `text you "${text}" from ${at}, repeating ${every}${until ? ` until ${until}` : ""}`
|
|
728
|
+
: `text you "${text}" at ${at}`,
|
|
680
729
|
target: { user: "@me", ...(kid ? kidTarget(kid) : {}) },
|
|
681
730
|
request: body,
|
|
682
731
|
details: {
|
|
683
|
-
consequence:
|
|
732
|
+
consequence: every
|
|
733
|
+
? "One repeating reminder at that time on your clock (your timezone, across DST) until --until or canceled. family cancel-reminder or family undo stops the whole series."
|
|
734
|
+
: "Rocky texts you then (your timezone). Cancel with family cancel-reminder or family undo.",
|
|
684
735
|
},
|
|
685
736
|
}, async () => unwrap(await api.client.POST("/parent-v2/reminders/", { body })));
|
|
686
737
|
}
|
|
@@ -693,7 +744,9 @@ export async function runFamilyCommand({ parsed, api, writeCommand, }) {
|
|
|
693
744
|
action: "cancel one of your upcoming reminders",
|
|
694
745
|
target: { reminder: id },
|
|
695
746
|
request: {},
|
|
696
|
-
details: {
|
|
747
|
+
details: {
|
|
748
|
+
consequence: "It won't be texted; a repeating one stops for good (undo: family undo).",
|
|
749
|
+
},
|
|
697
750
|
}, async () => unwrap(await api.client.DELETE("/parent-v2/reminders/{id}/", {
|
|
698
751
|
params: { path: { id } },
|
|
699
752
|
})));
|
|
@@ -909,7 +962,7 @@ export async function runFamilyCommand({ parsed, api, writeCommand, }) {
|
|
|
909
962
|
},
|
|
910
963
|
}, async () => unwrap(await api.client.POST("/parent-v2/report-bug/", { body })));
|
|
911
964
|
}
|
|
912
|
-
throw new CliError("invalid_arguments", "Use family kids|today|schedule|tutor|account|set-name|set-notifications|set-phone|set-timezone|guardians|changes|undo|remind|reminders|cancel-reminder|config|set|pause|add-guardian|billing|billing-link|calendar|login-link|school-classes|school-class-options|drop-class|restore-class|swap-class|register-class|context|memory|message-guide|report-bug.");
|
|
965
|
+
throw new CliError("invalid_arguments", "Use family kids|today|schedule|tutor|account|set-name|set-notifications|set-phone|set-timezone|guardians|changes|undo|remind|reminders|cancel-reminder|config|set|pause|add-guardian|billing|billing-link|calendar|events|join-event|leave-event|login-link|school-classes|school-class-options|drop-class|restore-class|swap-class|register-class|context|memory|message-guide|report-bug.");
|
|
913
966
|
}
|
|
914
967
|
export async function runKidCommand({ parsed, api, writeCommand, }) {
|
|
915
968
|
const verb = parsed.positionals[1];
|
|
@@ -938,6 +991,8 @@ export async function runKidCommand({ parsed, api, writeCommand, }) {
|
|
|
938
991
|
goalTitle: todo.goalTitle,
|
|
939
992
|
// false = an extra the kid picked, beyond the day's plan.
|
|
940
993
|
required: todo.required,
|
|
994
|
+
// Who put it on the list (a named family adult, the kid, Rocky…).
|
|
995
|
+
...(todo.addedBy ? { addedBy: todo.addedBy } : {}),
|
|
941
996
|
coins: todo.reward,
|
|
942
997
|
...(todo.tag === "FLASHCARD_REVIEW" ? { kind: "flashcards" } : {}),
|
|
943
998
|
minutes: todo.estimatedTimeInMins,
|
|
@@ -955,9 +1010,25 @@ export async function runKidCommand({ parsed, api, writeCommand, }) {
|
|
|
955
1010
|
};
|
|
956
1011
|
}
|
|
957
1012
|
if (verb === "goals") {
|
|
958
|
-
|
|
1013
|
+
const data = unwrap(await api.client.GET("/parent/kid/{kidId}/goals/", {
|
|
959
1014
|
params: { path: { kidId } },
|
|
960
1015
|
}));
|
|
1016
|
+
// Find a challenge by name: every word of --search in its title.
|
|
1017
|
+
const words = (flagString(parsed, "search") ?? "")
|
|
1018
|
+
.toLowerCase()
|
|
1019
|
+
.split(/\s+/)
|
|
1020
|
+
.filter(Boolean);
|
|
1021
|
+
const rawStatus = flagString(parsed, "status");
|
|
1022
|
+
const status = rawStatus
|
|
1023
|
+
? assertChoice(rawStatus.toLowerCase(), ["active", "paused", "completed"], "--status").toUpperCase()
|
|
1024
|
+
: null;
|
|
1025
|
+
if (words.length === 0 && !status)
|
|
1026
|
+
return data;
|
|
1027
|
+
return {
|
|
1028
|
+
...data,
|
|
1029
|
+
goals: data.goals.filter((goal) => (!status || goal.status === status) &&
|
|
1030
|
+
words.every((word) => goal.title.toLowerCase().includes(word))),
|
|
1031
|
+
};
|
|
961
1032
|
}
|
|
962
1033
|
if (verb === "xp") {
|
|
963
1034
|
const range = flagString(parsed, "range");
|
|
@@ -1980,6 +2051,9 @@ export async function runKidCommand({ parsed, api, writeCommand, }) {
|
|
|
1980
2051
|
const goalId = flagUuid(parsed, "goal", { required: true });
|
|
1981
2052
|
const title = flagString(parsed, "title");
|
|
1982
2053
|
const description = flagString(parsed, "description");
|
|
2054
|
+
const find = flagString(parsed, "find");
|
|
2055
|
+
const replace = flagString(parsed, "replace");
|
|
2056
|
+
const append = flagString(parsed, "append-text");
|
|
1983
2057
|
const todoTitle = flagString(parsed, "todo-title");
|
|
1984
2058
|
const minutes = flagInteger(parsed, "minutes", { min: 1, max: 600 });
|
|
1985
2059
|
const url = flagString(parsed, "url");
|
|
@@ -1988,6 +2062,9 @@ export async function runKidCommand({ parsed, api, writeCommand, }) {
|
|
|
1988
2062
|
const body = {
|
|
1989
2063
|
...(title !== undefined ? { title } : {}),
|
|
1990
2064
|
...(description !== undefined ? { description } : {}),
|
|
2065
|
+
...(find !== undefined ? { find } : {}),
|
|
2066
|
+
...(replace !== undefined ? { replace } : {}),
|
|
2067
|
+
...(append !== undefined ? { append } : {}),
|
|
1991
2068
|
...(todoTitle !== undefined ? { todoTitle } : {}),
|
|
1992
2069
|
...(minutes !== undefined ? { minutes } : {}),
|
|
1993
2070
|
...(url !== undefined ? { url } : {}),
|
|
@@ -2000,7 +2077,7 @@ export async function runKidCommand({ parsed, api, writeCommand, }) {
|
|
|
2000
2077
|
target: { ...kidTarget(kid), goalId },
|
|
2001
2078
|
request: body,
|
|
2002
2079
|
details: {
|
|
2003
|
-
consequence: "Only a challenge with no template behind it can change here; a template-backed one is shared with other kids.",
|
|
2080
|
+
consequence: "Only a challenge with no template behind it can change here; a template-backed one is shared with other kids (add a note instead: kid set-goal-note).",
|
|
2004
2081
|
},
|
|
2005
2082
|
}, async () => unwrap(await api.client.PATCH("/parent-v2/kid/{kidId}/challenges/{goalId}/", {
|
|
2006
2083
|
params: { path: { kidId, goalId } },
|
|
@@ -2552,6 +2629,11 @@ export async function runKidCommand({ parsed, api, writeCommand, }) {
|
|
|
2552
2629
|
params: { path: { kidId } },
|
|
2553
2630
|
}));
|
|
2554
2631
|
}
|
|
2632
|
+
if (verb === "league") {
|
|
2633
|
+
return unwrap(await api.client.GET("/parent-v2/kid/{kidId}/league/", {
|
|
2634
|
+
params: { path: { kidId } },
|
|
2635
|
+
}));
|
|
2636
|
+
}
|
|
2555
2637
|
if (verb === "math-progress") {
|
|
2556
2638
|
const view = assertChoice(flagString(parsed, "view") ?? "overview", ["overview", "activity"], "--view");
|
|
2557
2639
|
const since = flagDate(parsed, "since");
|
|
@@ -2616,7 +2698,7 @@ export async function runKidCommand({ parsed, api, writeCommand, }) {
|
|
|
2616
2698
|
body,
|
|
2617
2699
|
})));
|
|
2618
2700
|
}
|
|
2619
|
-
throw new CliError("invalid_arguments", "Use kid today|goals|xp|map-scores|classes|profile|set-profile|texts|set-texts|set-rooms|feed-lock|set-feed-lock|logins|reveal-login|add-login|edit-login|remove-login|excuse|unexcuse-weekly|cowork|switch-cowork|friends|friend-parent|pair-device|goal-schedule|pause-goal|resume-goal|goal-note|set-goal-note|add-todo|todo|move-todo|end-session|remove-todo|edit-todo|repeat-todo|join-challenge|leave-challenge|complete-challenge|set-goal-games|set-goal-required|set-challenge-order|set-goal-coins|set-goal-days|set-todo-reward|mark-done|set-todo-required|challenges|rename-challenge|set-todo-naming|help|help-done|excuse-days|excused-days|unexcuse-days|moments|config|set|progress|schedule|attendance|browse-challenges|sign-in-code|todos|goal|conversations|social|enrollments|math-progress|memory|observe|send-note.");
|
|
2701
|
+
throw new CliError("invalid_arguments", "Use kid today|goals|xp|map-scores|classes|profile|set-profile|texts|set-texts|set-rooms|feed-lock|set-feed-lock|logins|reveal-login|add-login|edit-login|remove-login|excuse|unexcuse-weekly|cowork|switch-cowork|friends|friend-parent|pair-device|goal-schedule|pause-goal|resume-goal|goal-note|set-goal-note|add-todo|todo|move-todo|end-session|remove-todo|edit-todo|repeat-todo|join-challenge|leave-challenge|complete-challenge|set-goal-games|set-goal-required|set-challenge-order|set-goal-coins|set-goal-days|set-todo-reward|mark-done|set-todo-required|challenges|rename-challenge|set-todo-naming|help|help-done|excuse-days|excused-days|unexcuse-days|moments|config|set|progress|schedule|attendance|browse-challenges|sign-in-code|todos|goal|conversations|social|enrollments|math-progress|league|memory|observe|send-note.");
|
|
2620
2702
|
}
|
|
2621
2703
|
/**
|
|
2622
2704
|
* `me`: the caller's OWN to-dos and challenges (a parent learning too), over
|
package/dist/help.js
CHANGED
|
@@ -232,7 +232,8 @@ Usage:
|
|
|
232
232
|
recess [--json] family swap-class --student <kid> --from <cohort-id>
|
|
233
233
|
--to <cohort-id-or-none> [--confirm]
|
|
234
234
|
recess [--json] family register-class --student <kid> --cohort <cohort-id> [--confirm]
|
|
235
|
-
recess [--json] family remind --at "YYYY-MM-DD HH:mm" --body TEXT [--student <kid>]
|
|
235
|
+
recess [--json] family remind --at "YYYY-MM-DD HH:mm" --body TEXT [--student <kid>]
|
|
236
|
+
[--every <daily|weekdays|weekends|weekly|"Mon, Wed"> [--until YYYY-MM-DD]] [--confirm]
|
|
236
237
|
recess [--json] family reminders
|
|
237
238
|
recess [--json] family cancel-reminder --reminder <reminder-id> [--confirm]
|
|
238
239
|
recess [--json] family config
|
|
@@ -242,6 +243,9 @@ Usage:
|
|
|
242
243
|
recess [--json] family billing
|
|
243
244
|
recess [--json] family billing-link
|
|
244
245
|
recess [--json] family calendar
|
|
246
|
+
recess [--json] family events [--search TEXT] [--days N] [--student <kid>] [--mine]
|
|
247
|
+
recess [--json] family join-event --event <event-id> [--student <kid>] [--confirm]
|
|
248
|
+
recess [--json] family leave-event --event <event-id> [--student <kid>] [--confirm]
|
|
245
249
|
recess [--json] family login-link [--confirm]
|
|
246
250
|
recess [--json] family context [--student <kid>]
|
|
247
251
|
recess [--json] family memory [--query TEXT] [--date YYYY-MM-DD]
|
|
@@ -254,7 +258,8 @@ Usage:
|
|
|
254
258
|
recess [--json] family report-bug --text TEXT [--summary TEXT] [--kind bug|request] [--student <kid>]
|
|
255
259
|
[--todo <todo-id>] [--confirm]
|
|
256
260
|
recess [--json] kid today --student <kid> [--date YYYY-MM-DD]
|
|
257
|
-
recess [--json] kid goals --student <kid>
|
|
261
|
+
recess [--json] kid goals --student <kid> [--search TEXT]
|
|
262
|
+
[--status active|paused|completed]
|
|
258
263
|
recess [--json] kid xp --student <kid> [--range week|month|quarter|year]
|
|
259
264
|
recess [--json] kid map-scores --student <kid>
|
|
260
265
|
recess [--json] kid classes --student <kid>
|
|
@@ -316,7 +321,8 @@ Usage:
|
|
|
316
321
|
--required on|off [--minutes N] [--url URL] [--start YYYY-MM-DD]
|
|
317
322
|
[--weeks N | --until YYYY-MM-DD | --todos N] [--confirm]
|
|
318
323
|
recess [--json] kid edit-challenge --student <kid> --goal <goal-id> [--title TEXT]
|
|
319
|
-
[--description TEXT
|
|
324
|
+
[--description TEXT | --find TEXT --replace TEXT | --append-text TEXT]
|
|
325
|
+
[--todo-title TEXT] [--minutes N] [--url URL]
|
|
320
326
|
[--until YYYY-MM-DD | --todos N | --no-limit] [--confirm]
|
|
321
327
|
recess [--json] kid refresh-todo --student <kid> --goal <goal-id> [--date YYYY-MM-DD] [--confirm]
|
|
322
328
|
recess [--json] kid set-goal-days --student <kid> --goal <goal-id>
|
|
@@ -358,6 +364,7 @@ Usage:
|
|
|
358
364
|
recess [--json] kid enrollments --student <kid>
|
|
359
365
|
recess [--json] kid math-progress --student <kid> [--view overview|activity]
|
|
360
366
|
[--since YYYY-MM-DD]
|
|
367
|
+
recess [--json] kid league --student <kid>
|
|
361
368
|
recess [--json] kid memory ls|cat|grep --student <kid> [--path TEXT] [--pattern TEXT]
|
|
362
369
|
recess [--json] kid observe --student <kid> --note TEXT [--confirm]
|
|
363
370
|
recess [--json] kid send-note --student <kid> --note TEXT [--confirm]
|
|
@@ -463,7 +470,7 @@ Usage:
|
|
|
463
470
|
recess [--json] feed post --users <id,id,...> --text TEXT [--send-email] [--confirm]
|
|
464
471
|
recess [--json] changelog preview --file <send.json> [--html-dir <dir>]
|
|
465
472
|
recess [--json] changelog test --file <send.json> --audience kids|parents|tutors
|
|
466
|
-
recess [--json] changelog send --file <send.json> [--confirm]
|
|
473
|
+
recess [--json] changelog send --file <send.json> [--top-up] [--confirm]
|
|
467
474
|
recess [--json] changelog history
|
|
468
475
|
recess [--json] changelog show <slug>
|
|
469
476
|
recess [--json] dms send --users <id,id,...> --text TEXT [--confirm]
|
|
@@ -1485,6 +1492,9 @@ export const COMMAND_SUMMARIES = {
|
|
|
1485
1492
|
"family billing": "Subscriptions, next charges, failed payments, plans, what can pause.",
|
|
1486
1493
|
"family billing-link": "The billing page link (cards, plan, receipts).",
|
|
1487
1494
|
"family calendar": "School-wide days off ahead this school year.",
|
|
1495
|
+
"family events": "Upcoming Recess community events (Hangouts > Events: parent talks and coffees, kids' groups), for you and each kid who can see them: host, time, who it's for, who in the family is going, the event id and page link. --search matches title, description or host; --days 1-35 (14); --mine only ones the family goes to. Classes are kid schedule.",
|
|
1496
|
+
"family join-event": "Sign you (no --student) or a kid up for a community event from family events (at once; free, the page's own rules).",
|
|
1497
|
+
"family leave-event": "Take you (no --student) or a kid off a community event (at once).",
|
|
1488
1498
|
"family login-link": "Email yourself a fresh sign-in link and code (at once; not a change).",
|
|
1489
1499
|
"family context": "Who's on the account: family, each kid's tutor and guide, school tier.",
|
|
1490
1500
|
"family memory": "What Rocky remembers about the family: family, yours, recent journal, --query.",
|
|
@@ -1493,9 +1503,9 @@ export const COMMAND_SUMMARIES = {
|
|
|
1493
1503
|
"family memory forget": "Forget one exact line of the family notes (at once).",
|
|
1494
1504
|
"family message-guide": "Message your kid's guide (a support ticket; Rocky tells them in the app and on Slack); the person for anything. --text is the full note, kept on the ticket; --ask is what the guide is sent: who asked, what they want and the one fact the guide needs, in a line or two (200 characters). Always pass --ask. --event (a class session, from kid schedule, attendance or rooms) sends it to that class's teachers instead of the kid's guide: for a question about one class.",
|
|
1495
1505
|
"family report-bug": "Report a bug, or a request (--kind request: something missing, or what you think of Rocky), to the Recess team (at once; not a change).",
|
|
1496
|
-
"family remind": "Have Rocky text you a reminder (applies at once).",
|
|
1497
|
-
"family reminders": "Your upcoming text-me reminders.",
|
|
1498
|
-
"family cancel-reminder": "Cancel an upcoming reminder (applies at once).",
|
|
1506
|
+
"family remind": "Have Rocky text you a reminder, once or repeating (applies at once).",
|
|
1507
|
+
"family reminders": "Your upcoming text-me reminders; a repeating one is one entry with its rule.",
|
|
1508
|
+
"family cancel-reminder": "Cancel an upcoming reminder, a repeating one's whole series (applies at once).",
|
|
1499
1509
|
"family config": "The family's settings, one line each, with paths.",
|
|
1500
1510
|
"family set": "Change one family setting by path (at once, or confirm when marked).",
|
|
1501
1511
|
"family pause": "Pause a kid's weekly class billing 1-6 weeks from Sunday (family undo resumes).",
|
|
@@ -1507,7 +1517,7 @@ export const COMMAND_SUMMARIES = {
|
|
|
1507
1517
|
"family swap-class": "Queue (or cancel) a kid's class switch.",
|
|
1508
1518
|
"family register-class": "Register a kid for a school class.",
|
|
1509
1519
|
"kid today": "A kid's day: todos, XP, schedule.",
|
|
1510
|
-
"kid goals": "A kid's goals and progress.",
|
|
1520
|
+
"kid goals": "A kid's goals and progress; --search finds one by name, with its id.",
|
|
1511
1521
|
"kid xp": "A kid's XP history.",
|
|
1512
1522
|
"kid map-scores": "A kid's MAP test scores.",
|
|
1513
1523
|
"kid classes": "A kid's classes.",
|
|
@@ -1552,7 +1562,7 @@ export const COMMAND_SUMMARIES = {
|
|
|
1552
1562
|
"kid screenshots": "Links to up to five session screenshots of one to-do.",
|
|
1553
1563
|
"kid send-screenshot": "Show a parent session screenshots: pictures on a Rocky text, links elsewhere.",
|
|
1554
1564
|
"kid create-challenge": "A private fixed challenge: the same to-do on set days, optionally limited (at once; accounts that can create challenges).",
|
|
1555
|
-
"kid edit-challenge": "Edit a challenge with no template behind it, including its limit (at once; tutors too).",
|
|
1565
|
+
"kid edit-challenge": "Edit a challenge with no template behind it, including its limit; --find/--replace or --append-text change part of the description (at once; tutors too).",
|
|
1556
1566
|
"kid refresh-todo": "Make a challenge's to-do again for a day (at once; queued).",
|
|
1557
1567
|
"kid challenges": "A kid's challenges, one line each, plus the page with the rest.",
|
|
1558
1568
|
"kid mark-done": "Mark a to-do done a parent vouches for; it pays as usual (at once).",
|
|
@@ -1571,7 +1581,7 @@ export const COMMAND_SUMMARIES = {
|
|
|
1571
1581
|
"kid complete-challenge": "Mark a kid's challenge finished: no coins or badge (family undo reopens).",
|
|
1572
1582
|
"kid set-todo-reward": "Set a to-do's XP and/or coins to new totals (family undo reverses).",
|
|
1573
1583
|
"kid progress": "A kid's on-track progress per subject from the skill map.",
|
|
1574
|
-
"kid schedule": "A kid's upcoming class sessions in your timezone, with event ids and plan.",
|
|
1584
|
+
"kid schedule": "A kid's upcoming class sessions in your timezone, with event ids and plan (community events: family events).",
|
|
1575
1585
|
"kid attendance": "A kid's recent class sessions: attended, missed, excused.",
|
|
1576
1586
|
"kid browse-challenges": "Library challenges a kid can join here (picked for them, or --query).",
|
|
1577
1587
|
"kid sign-in-code": "The app link and a one-time sign-in code for a kid (at once; not a change).",
|
|
@@ -1581,6 +1591,7 @@ export const COMMAND_SUMMARIES = {
|
|
|
1581
1591
|
"kid social": "A kid's friends, events, comments, chat counts, safety (view only).",
|
|
1582
1592
|
"kid enrollments": "A kid's active enrollments: plan, price, pauses.",
|
|
1583
1593
|
"kid math-progress": "A kid's Math Academy course, progress and activity.",
|
|
1594
|
+
"kid league": "A kid's Recess league this week (not Math Academy's): tier, rank in it, weekly XP, promotion or demotion zone, when the week closes, last week's result.",
|
|
1584
1595
|
"kid memory ls": "List the files in what Rocky knows about a kid.",
|
|
1585
1596
|
"kid memory cat": "Read one file of what Rocky knows about a kid.",
|
|
1586
1597
|
"kid memory grep": "Find lines in what Rocky knows about a kid.",
|
|
@@ -1645,7 +1656,7 @@ export const COMMAND_SUMMARIES = {
|
|
|
1645
1656
|
"feed post": "Post a message to users' feeds (optionally email).",
|
|
1646
1657
|
"changelog preview": "Render a changelog blast and count who it reaches, sending nothing.",
|
|
1647
1658
|
"changelog test": "Send yourself one audience's email and text.",
|
|
1648
|
-
"changelog send": "Send a live changelog post to its audience, once.",
|
|
1659
|
+
"changelog send": "Send a live changelog post to its audience, once. --top-up reaches whoever its audience now covers but it missed.",
|
|
1649
1660
|
"changelog history": "List every changelog send.",
|
|
1650
1661
|
"changelog show": "One changelog send and its exact copy.",
|
|
1651
1662
|
"dms send": "Send a Recess chat DM as yourself to each user (1:1).",
|