recess-cli 3.40.0 → 3.42.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 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"),
@@ -5121,7 +5128,7 @@ export async function executeRecessCommand(argv, options = {}) {
5121
5128
  : {}),
5122
5129
  ...(visibility
5123
5130
  ? {
5124
- visibility: assertChoice(visibility, ["PUBLIC", "PRIVATE", "STAFF_ONLY"], "--visibility"),
5131
+ visibility: assertChoice(visibility, ["PUBLIC", "PRIVATE", "STAFF_ONLY", "UNLISTED"], "--visibility"),
5125
5132
  }
5126
5133
  : {}),
5127
5134
  ...(targetPlatform
@@ -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
@@ -625,7 +625,8 @@ Usage:
625
625
  [--image-url URL] [--coin-amount N] [--chat-title TEXT|none] [--sort-order N]
626
626
  [--is-starter true|false] [--setup-audience KID_FRIENDLY|PARENT_SETUP]
627
627
  [--kind SIMPLE|BLUEPRINT]
628
- [--visibility PUBLIC|PRIVATE|STAFF_ONLY] [--target-platform ANY|MOBILE|DESKTOP]
628
+ [--visibility PUBLIC|PRIVATE|STAFF_ONLY|UNLISTED] [--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.40.0",
3
+ "version": "3.42.0",
4
4
  "description": "Safe Recess administration and family AI tools from the command line.",
5
5
  "license": "UNLICENSED",
6
6
  "repository": {