recess-cli 3.40.0 → 3.41.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/cli.js +8 -1
- package/dist/help.js +2 -1
- package/package.json +3 -3
package/dist/cli.js
CHANGED
|
@@ -5071,6 +5071,12 @@ export async function executeRecessCommand(argv, options = {}) {
|
|
|
5071
5071
|
const chatTitleRaw = flagString(parsed, "chat-title");
|
|
5072
5072
|
const visibility = flagString(parsed, "visibility");
|
|
5073
5073
|
const targetPlatform = flagString(parsed, "target-platform");
|
|
5074
|
+
// Rocky's iPad pencil on the challenge's todos (false: the site's own
|
|
5075
|
+
// Pencil tools get the Pencil). Stored as `pageInkDisabled`.
|
|
5076
|
+
const pageInkRaw = flagString(parsed, "page-ink");
|
|
5077
|
+
const pageInkDisabled = pageInkRaw === undefined
|
|
5078
|
+
? undefined
|
|
5079
|
+
: assertChoice(pageInkRaw, ["true", "false"], "--page-ink") === "false";
|
|
5074
5080
|
const isStarterRaw = flagString(parsed, "is-starter");
|
|
5075
5081
|
const setupAudienceRaw = flagString(parsed, "setup-audience");
|
|
5076
5082
|
const isStarter = isStarterRaw === undefined
|
|
@@ -5111,6 +5117,7 @@ export async function executeRecessCommand(argv, options = {}) {
|
|
|
5111
5117
|
: {}),
|
|
5112
5118
|
...(sortOrder === undefined ? {} : { sortOrder }),
|
|
5113
5119
|
...(isStarter === undefined ? {} : { isStarter }),
|
|
5120
|
+
...(pageInkDisabled === undefined ? {} : { pageInkDisabled }),
|
|
5114
5121
|
...(setupAudienceRaw
|
|
5115
5122
|
? {
|
|
5116
5123
|
setupAudience: assertChoice(setupAudienceRaw, GOAL_TEMPLATE_SETUP_AUDIENCES, "--setup-audience"),
|
|
@@ -5145,7 +5152,7 @@ export async function executeRecessCommand(argv, options = {}) {
|
|
|
5145
5152
|
// shape that caused the template incident; editing an existing spec goes
|
|
5146
5153
|
// through the guarded /ai patch path with its destructive-change token.
|
|
5147
5154
|
if (Object.keys(body).length === 1) {
|
|
5148
|
-
throw new CliError("invalid_arguments", "Pass at least one field to change (--title, --description, --emoji, --image-url, --coin-amount, --chat-title, --category, --tags, --sort-order, --is-starter, --setup-audience, --kind, --visibility, --target-platform, --agent-instructions-file, --output-template-file).");
|
|
5155
|
+
throw new CliError("invalid_arguments", "Pass at least one field to change (--title, --description, --emoji, --image-url, --coin-amount, --chat-title, --category, --tags, --sort-order, --is-starter, --setup-audience, --kind, --visibility, --target-platform, --page-ink, --agent-instructions-file, --output-template-file).");
|
|
5149
5156
|
}
|
|
5150
5157
|
return writeCommand(parsed, {
|
|
5151
5158
|
action: "update goal template metadata (never its setupWorkflowSpec)",
|
package/dist/help.js
CHANGED
|
@@ -626,6 +626,7 @@ Usage:
|
|
|
626
626
|
[--is-starter true|false] [--setup-audience KID_FRIENDLY|PARENT_SETUP]
|
|
627
627
|
[--kind SIMPLE|BLUEPRINT]
|
|
628
628
|
[--visibility PUBLIC|PRIVATE|STAFF_ONLY] [--target-platform ANY|MOBILE|DESKTOP]
|
|
629
|
+
[--page-ink true|false]
|
|
629
630
|
[--agent-instructions-file <path>] [--output-template-file <path>] [--confirm]
|
|
630
631
|
recess [--json] goal-templates delete <template-id> [--expected-version N] [--confirm]
|
|
631
632
|
recess [--json] goal-templates generate-image <template-id|slug>
|
|
@@ -1654,7 +1655,7 @@ export const COMMAND_SUMMARIES = {
|
|
|
1654
1655
|
"goals queue get": "Read a goal's module queue.",
|
|
1655
1656
|
"goals queue set": "Replace a goal's module queue from JSON.",
|
|
1656
1657
|
"todos create": "Create a todo for a kid (--optional: an extra, off the required day and feed lock).",
|
|
1657
|
-
"todos edit": "Patch a todo's fields.",
|
|
1658
|
+
"todos edit": "Patch a todo's fields ({\"pageInk\": false} turns Rocky's iPad pencil off; null follows the challenge).",
|
|
1658
1659
|
"todos complete": "Complete a todo with XP.",
|
|
1659
1660
|
"todos delete": "Delete a todo (soft).",
|
|
1660
1661
|
"todos restore": "Restore a deleted todo.",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "recess-cli",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.41.0",
|
|
4
4
|
"description": "Safe Recess administration and family AI tools from the command line.",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"repository": {
|
|
@@ -46,8 +46,8 @@
|
|
|
46
46
|
"oxlint-tsgolint": "^0.6.0",
|
|
47
47
|
"typescript": "^5.9.2",
|
|
48
48
|
"vitest": "^1.6.0",
|
|
49
|
-
"@tryrecess/
|
|
50
|
-
"@tryrecess/
|
|
49
|
+
"@tryrecess/typescript-config": "0.0.0",
|
|
50
|
+
"@tryrecess/api-types": "0.0.0"
|
|
51
51
|
},
|
|
52
52
|
"scripts": {
|
|
53
53
|
"build": "node node_modules/@tryrecess/typescript-config/bin/tsc-fast.mjs",
|