@stage5/lumine 0.2.91 → 0.2.94
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/README.md +31 -0
- package/lib/admin.js +599 -83
- package/lib/api.js +58 -0
- package/lib/app-mcp/server.js +135 -23
- package/lib/assets.js +93 -2
- package/lib/cardcraft.js +141 -0
- package/lib/commands.js +17 -0
- package/lib/constants.js +6 -0
- package/lib/rewards.js +3 -1
- package/lib/util.js +28 -1
- package/package.json +1 -1
- package/sdk/BUILD_SDK_INDEX.md +35 -6
- package/sdk/LUMINE_ADMIN.md +28 -0
package/lib/rewards.js
CHANGED
|
@@ -238,7 +238,9 @@ function printRewardsHelp() {
|
|
|
238
238
|
|
|
239
239
|
rewards.json (project root) declares the economy the reviewer approves:
|
|
240
240
|
{ "userDailyXP", "userDailyCoins", "userDailyClaims"?,
|
|
241
|
-
"rules": [{ "id", "title", "howTo"? (how to earn it, in the player's words), "
|
|
241
|
+
"rules": [{ "id", "title", "howTo"? (how to earn it, in the player's words), "category"? (section header, up to 40 characters, e.g. "Bring friends"),
|
|
242
|
+
"series"? (lowercase key for repeat rules like friend-1/2/3; they must share category, verifier and amounts), "xp", "coins", "verifier": "numeric-quiz" | "completion",
|
|
242
243
|
"maxAttempts"?, "retry"?: { "xpPercent", "coinsPercent", "paidAttempts"? }, "minSeconds"? (completion), "progression"?: "dated" | "until-earned" (quiz) }] }
|
|
244
|
+
The Earn page shows rules under their category headers and each series as one row ("up to 3 a day").
|
|
243
245
|
Questions and answer keys never go in project files; they belong in the sheet.`);
|
|
244
246
|
}
|
package/lib/util.js
CHANGED
|
@@ -47,7 +47,34 @@ export function formatBytes(bytes) {
|
|
|
47
47
|
const value = Math.max(0, Number(bytes) || 0);
|
|
48
48
|
if (value < 1024) return `${value} B`;
|
|
49
49
|
if (value < 1024 * 1024) return `${(value / 1024).toFixed(1)} KB`;
|
|
50
|
-
|
|
50
|
+
if (value < 1024 * 1024 * 1024) {
|
|
51
|
+
return `${(value / (1024 * 1024)).toFixed(1)} MB`;
|
|
52
|
+
}
|
|
53
|
+
return `${(value / (1024 * 1024 * 1024)).toFixed(1)} GB`;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
// Storage sizes for the Lumine file storage unlock: "500MB", "1GB", "1.5gb",
|
|
57
|
+
// or a bare number of MB ("750"). Binary units, matching the server quota.
|
|
58
|
+
export function parseStorageSizeBytes(value) {
|
|
59
|
+
const raw = String(value ?? "")
|
|
60
|
+
.trim()
|
|
61
|
+
.toLowerCase()
|
|
62
|
+
.replace(/\s+/g, "");
|
|
63
|
+
const match = raw.match(/^(\d+(?:\.\d+)?)(mb|m|gb|g)?$/);
|
|
64
|
+
if (!match) {
|
|
65
|
+
throw new Error(
|
|
66
|
+
`Pass a storage size like 500MB, 1GB or 2GB (got "${String(value ?? "")}").`,
|
|
67
|
+
);
|
|
68
|
+
}
|
|
69
|
+
const amount = Number(match[1]);
|
|
70
|
+
const unit = match[2] && match[2].startsWith("g") ? "gb" : "mb";
|
|
71
|
+
const bytes = Math.round(
|
|
72
|
+
amount * (unit === "gb" ? 1024 * 1024 * 1024 : 1024 * 1024),
|
|
73
|
+
);
|
|
74
|
+
if (!Number.isSafeInteger(bytes) || bytes <= 0) {
|
|
75
|
+
throw new Error("The storage size must be positive.");
|
|
76
|
+
}
|
|
77
|
+
return bytes;
|
|
51
78
|
}
|
|
52
79
|
|
|
53
80
|
export function isNewerVersion(latestVersion, currentVersion) {
|
package/package.json
CHANGED
package/sdk/BUILD_SDK_INDEX.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# Build SDK Index
|
|
2
2
|
|
|
3
|
-
Version: 1.
|
|
4
|
-
Updated: 2026-09-
|
|
5
|
-
Generated: 2026-09-
|
|
3
|
+
Version: 1.61.0
|
|
4
|
+
Updated: 2026-09-28
|
|
5
|
+
Generated: 2026-09-27T17:21:08.257Z
|
|
6
6
|
|
|
7
7
|
## Notes
|
|
8
8
|
- This SDK is injected into Build iframes via the Build preview/runtime.
|
|
@@ -33,7 +33,7 @@ Generated: 2026-09-27T07:17:40.033Z
|
|
|
33
33
|
- Use Twinkle.live for one-way app livestreams and Twinkle.chat for the accompanying thread. Free livestreams require a verified host, end after at most 15 minutes, and issue at most 10 private viewer grants. Twinkle keeps platform-owned live-status/end controls above active hosts, so app code cannot hide or replace the broadcaster's Stop path.
|
|
34
34
|
- Media Energy is separate from AI Energy. Replace Media Energy UI only from canonical mediaEnergy/getUsage responses; never decrement, reserve, or synthesize it in app code.
|
|
35
35
|
- Twinkle.rewards awards real XP and Coins only in the current approved published release. Drafts, local previews, private apps and superseded releases cannot earn. The server supplies a published-runtime grant; app code cannot choose a recipient or award amount.
|
|
36
|
-
- The creator's agent designs the rewards. Declare the economy in a project file `rewards.json` at the root: budgets (userDailyXP, userDailyCoins, optional userDailyClaims; there is no app-wide daily or lifetime budget, only what one learner can earn per day) and rules [{ id, title, xp, coins, verifier: 'numeric-quiz' | 'completion', maxAttempts?, retry?: { xpPercent, coinsPercent, paidAttempts? }, minSeconds? (completion), progression?: 'dated' | 'until-earned' (quiz) }]. Wire the matching Twinkle.rewards calls with those literal rule ids. Questions and answer keys NEVER go in project files (published source is readable by every player): quiz rules get them from the private question sheet uploaded with `lumine rewards sheet <file.json>` ({ rules: { <ruleId>: { questions?, sets? } } }); `lumine rewards check` validates both together. A review request freezes the code and proposes rewards.json merged with the sheet; the administrator reads the code, checks the amounts and whether the app is exploitable, may change any amount, and approves. Creators are kids and teens: show approval status and one Send for review action; do not ask them to fill in technical forms. Every code update that retains rewards needs a new approval before publishing. Removing the SDK automatically clears its gate. Apps read amounts, tries and sets from getStatus, never from their own file.
|
|
36
|
+
- The creator's agent designs the rewards. Declare the economy in a project file `rewards.json` at the root: budgets (userDailyXP, userDailyCoins, optional userDailyClaims; there is no app-wide daily or lifetime budget, only what one learner can earn per day) and rules [{ id, title, howTo?, category? (section header, up to 40 characters), series? (key for repeat rules that share category and amounts), xp, coins, verifier: 'numeric-quiz' | 'completion', maxAttempts?, retry?: { xpPercent, coinsPercent, paidAttempts? }, minSeconds? (completion), progression?: 'dated' | 'until-earned' (quiz) }]. Wire the matching Twinkle.rewards calls with those literal rule ids. Questions and answer keys NEVER go in project files (published source is readable by every player): quiz rules get them from the private question sheet uploaded with `lumine rewards sheet <file.json>` ({ rules: { <ruleId>: { questions?, sets? } } }); `lumine rewards check` validates both together. A review request freezes the code and proposes rewards.json merged with the sheet; the administrator reads the code, checks the amounts and whether the app is exploitable, may change any amount, and approves. Creators are kids and teens: show approval status and one Send for review action; do not ask them to fill in technical forms. Every code update that retains rewards needs a new approval before publishing. Removing the SDK automatically clears its gate. Apps read amounts, tries and sets from getStatus, never from their own file.
|
|
37
37
|
- Verifiers: 'numeric-quiz' pays for server-checked numeric answers (retry share, attempt limits, dated sets or until-earned sets that stay up until somebody earns them, after-answer guides). 'completion' pays when the app reports an activity finished — a cleared stage, a finished round — at least minSeconds after start({ ruleId }); the server checks only the elapsed time, once per learner per site day (UTC midnight), and the budgets. Call start when the activity begins and claim({ challengeId }) with no answers when it ends; keep completion amounts and userDailyXP small enough that a player scripting the calls would not matter, because nothing else is verified.
|
|
38
38
|
- Numeric quiz answers are verified on the server; client scores, privateDb state, timers and completion booleans are not verified reward evidence. Limits reset at UTC midnight. Rules are earned once per viewer per UTC day; attempt limits and retry payouts come from the approved rule. Challenges expire at the UTC day boundary. Budgets apply across release changes.
|
|
39
39
|
- Optional reward rule controls: maxLifetimeClaims caps one learner’s receipts for that rule across every day and release; completionProof: classic-tower-v1 requires a server-simulated Classic Tower finish in addition to minSeconds. These are server-enforced controls. Existing completion rules without completionProof still verify elapsed time only. Registered proof profiles also include breadface-v1, breadface-v2 and breadface-v3 (server-simulated Breadface inputs; each is one reviewed release's exact physics, chosen by the reviewer) study-record-v1 (a private study record reviewed by JEV, billed to the learner’s AI Energy), and Groove Lab's groove-lab-song-v1 (a song the learner published today, checked on the server for length, notes and originality) and groove-lab-heard-v1 (three established accounts finished the learner's songs today), Ashen Vigil's vigil-guest-coplay-v1 (a new guest spent 10 minutes with the learner in a private world room, measured by the world relay; each guest pays once) and minecraft-first-link-v1 (the learner is the first Twinkle account ever linked to that Minecraft player; each player pays once). Profiles are platform-owned; an app cannot invent a verifier or authorize its own reward.
|
|
@@ -137,7 +137,9 @@ files:read, media:read, media:write, live:read, live:write, user:read, users:rea
|
|
|
137
137
|
- Returns: { success, session } when opened by lumine app-mcp
|
|
138
138
|
- Register the live iframe handlers for the published app's static MCP tool manifest.
|
|
139
139
|
- Tool discovery comes only from /app-tools.json in the pinned published artifact; runtime code cannot add or rename tools.
|
|
140
|
-
- Every declared tool needs a same-named handler. Outside an app-mcp session, registration stores the handlers and resolves with active:false
|
|
140
|
+
- Every declared tool needs a same-named handler. Outside an app-mcp session, registration stores the handlers, tells Twinkle the app offers tools (so the signed-in viewer can click Connect AI helper and pair this open tab with lumine app-mcp <buildId> --code <code>), and resolves with active:false.
|
|
141
|
+
- Mark each tool that only reads with "readOnly": true in /app-tools.json; for a tool whose action argument decides, declare "readOnlyWhen": { "action": ["list", "export"] }. A helper paired through Connect AI helper can use only read-only calls until the viewer switches on Allow edits; undeclared tools count as edits.
|
|
142
|
+
- Include what the viewer has selected or is looking at in the state-reading tool (for example the selected range and active item), so a paired helper can see what the viewer is pointing at.
|
|
141
143
|
- Handlers run serially inside the visible app iframe and should return the confirmed post-action state.
|
|
142
144
|
- Do not synthesize server-owned state; await Twinkle SDK mutations before returning.
|
|
143
145
|
- Example: await Twinkle.appTools.register({ handlers: { get_state: () => ({ view, data }), open_view: ({ view }) => navigateTo(view) } });
|
|
@@ -1335,13 +1337,14 @@ world.updatePresence({ x, y, z, facing });
|
|
|
1335
1337
|
|
|
1336
1338
|
### Twinkle.rewards
|
|
1337
1339
|
- await Twinkle.rewards.getStatus() | scopes: rewards:claim
|
|
1338
|
-
- Returns: { mode: "live", dayKey, userDailyClaims, claimsToday, budgets: { userDailyXP, userDailyCoins }, rules: [{ id, title, howTo?, xp, coins, verifier: "numeric-quiz" | "completion", minSeconds?, progression?, retryReward: { xp, coins }, maxAttempts, available, setKey, questionCount }], challenges: [{ challengeId, ruleId, attempts, attemptsRemaining, state: "open" | "finished" | "earned", setKey, questions: [{ prompt, hint?, guide? }] }], history: [{ ruleId, xp, coins, attempt, createdAt }], balances: { xp, coins } } | { mode: "preview", dayKey?, rules, challenges: [], history: [], balances?, problems?: string[], message }
|
|
1340
|
+
- Returns: { mode: "live", dayKey, userDailyClaims, claimsToday, budgets: { userDailyXP, userDailyCoins }, rules: [{ id, title, howTo?, category?, series?, xp, coins, verifier: "numeric-quiz" | "completion", minSeconds?, progression?, retryReward: { xp, coins }, maxAttempts, available, setKey, questionCount }], challenges: [{ challengeId, ruleId, attempts, attemptsRemaining, state: "open" | "finished" | "earned", setKey, questions: [{ prompt, hint?, guide? }] }], history: [{ ruleId, xp, coins, attempt, createdAt }], balances: { xp, coins } } | { mode: "preview", dayKey?, rules, challenges: [], history: [], balances?, problems?: string[], message }
|
|
1339
1341
|
- Read canonical earning rules (without answer keys), today’s started challenges, today’s receipts and balances. Drafts return preview mode: for the app's owner the rules come from the draft's own rewards.json and question sheet (problems lists what is still wrong with them); anyone else sees no rules. Unapproved or revoked published releases return an error.
|
|
1340
1342
|
- rules[].available is false on a site day (UTC) the reviewer scheduled no questions for; show the rule as not available instead of starting it. xp/coins are the first-try amounts; retryReward is what a correct answer pays after a wrong one (equal to xp/coins unless the reviewer set a retry share). maxAttempts null means unlimited wrong answers until the site's daily reset (UTC midnight, 9:00 AM in Korea). retry.paidAttempts, when set, is the last attempt number a correct answer is still paid on: a later correct answer is recorded as solved (receipt xp 0, coins 0) and pays nothing — tell the learner before they pass it.
|
|
1341
1343
|
- challenges lists challenges this viewer already started today with their questions, so an app can resume after a reload without calling start. A question's guide (reviewer-approved JSON teaching content: explanation, interactive-model configuration) is present only once the viewer has answered at least once, right or wrong; render it as the after-attempt lesson. claimsToday against userDailyClaims (null = uncapped) tells whether another bounty can still pay today.
|
|
1342
1344
|
- Under progression 'until-earned' the same set stays up day after day until somebody earns it; setKey names the set currently up. Completion rules are always available and have questionCount 0.
|
|
1343
1345
|
- Rules may set maxLifetimeClaims, a per-learner limit for that rule across days and releases. rules[].lifetime contains the server-confirmed limit and remaining claims. App storage never enforces this limit.
|
|
1344
1346
|
- howTo is the rule's optional plain-words steps from rewards.json (up to 300 characters, e.g. "Save a new design of at least 64 blocks in Designs"). The Earn page shows it under the title; show it in the app's own rewards list too so players always know exactly what earns each reward.
|
|
1347
|
+
- category and series are optional rewards.json labels for a long list. category is a short section header (up to 40 characters, e.g. "Bring friends"); series is a short lowercase key (e.g. "new-friend") tying repeat rules like vigil-friend-1/2/3 together, and rules in one series must share category, verifier, XP and Coins. The Earn page groups rules by category and shows each series as one row ("up to 3 a day", "1 of 3 today"); group the app's own rewards list the same way.
|
|
1345
1348
|
- await Twinkle.rewards.getReceipt({ challengeId }) | scopes: rewards:claim
|
|
1346
1349
|
- Returns: { mode: "live", status: "awarded" | "pending" | "expired" | "not_found", receipt: { id, challengeId, ruleId, reviewId, artifactVersionId, dayKey, xp, coins, attempt, createdAt } | null, balances: { xp, coins } } | { mode: "preview", status: "not_found", receipt: null, message }
|
|
1347
1350
|
- Read an existing receipt for this app and signed-in viewer by server-issued challengeId, including previous UTC days and previous approved versions. Requires the current approved published release and runtime grant; a stale frame must reload first. Never awards, retries a claim, returns answer keys, or restores removed rewards permission.
|
|
@@ -1386,6 +1389,32 @@ world.updatePresence({ x, y, z, facing });
|
|
|
1386
1389
|
- Use a receiptId returned by getTimeline. Both reads independently check retirement and app ownership; guessing an active or other app’s receipt cannot reveal its questions or guides. Returns build_reward_archive_unavailable (404) if unavailable.
|
|
1387
1390
|
- Uses that receipt’s frozen approved sheet, never today’s edited question or the mutable draft. Answer keys and tolerances are never returned. Render the question first and offer Reveal guide for learning, without a reward-claim button.
|
|
1388
1391
|
|
|
1392
|
+
### Twinkle.cardCraft
|
|
1393
|
+
- await Twinkle.cardCraft.getStatus() | scopes: cardCraft:read
|
|
1394
|
+
- Returns: { mode: "live" | "preview", available, reason?: "not_approved" | "not_declared" | "invalid" | "published_app_required", recipe: { kinds: [{ id, label, description, params }], tiers: { "1": [kindId] … "6": [kindId] }, acceptedLevels: number[] } | null, problems?: string[], message? }
|
|
1395
|
+
- Live mode (the published app) returns the reviewer-approved recipe, which may differ from the cardcraft.json in the app files until the next approval. In a draft the owner sees their own draft recipe and its problems; anyone else sees no recipe.
|
|
1396
|
+
- cardcraft.json (project root): { guidance?, kinds: [{ id, label, description?, params: { <name>: { type: "enum", values } | { type: "integer" | "number", min, max, scaleWithTier? } | { type: "boolean" } | { type: "string", maxLength } } }], tiers: { "1"…"6": [kindId] } }. Levels are card colours (1 blue, 2 pink, 3 orange, 4 magenta, 5 gold, 6 black); a missing level means cards of that colour cannot be crafted here. scaleWithTier narrows a numeric range to the level's sixth of it (blue = bottom band, black = top band). Validate with `lumine cardcraft check`, send for review with `lumine cardcraft review`.
|
|
1397
|
+
- await Twinkle.cardCraft.craft({ cardId, requestId? }) | scopes: cardCraft:craft
|
|
1398
|
+
- Returns: { asset: { assetId, cardId, kind, name, description, params, palette: ["#rrggbb"], tier: { level, colour, quality, effects, rank }, state, stateRevision, craftedAt, stateUpdatedAt, card: { id, word, level, colour, quality, style, imageUrl, creator: { id, username }, crafterId }, app: { buildId } }, duplicate: boolean } | { mode: "preview", asset: { assetId: null, preview: true, … }, duplicate: false }
|
|
1399
|
+
- Twinkle asks the player to confirm first (a card can only ever be crafted once). Omit cardId to let Twinkle show the player a picker of their own cards that can be crafted here, or pick cards yourself with Twinkle.aiCards.list({ userId: viewer.id }); the card must be revealed (have its picture) and its colour must be accepted by the recipe. A player who cancels gets an error with code card_craft_cancelled.
|
|
1400
|
+
- The AI writes the name and description; Twinkle checks that text is fine to show publicly for all ages. Text that is not clearly fine is rewritten once, and if it is still not clearly fine the asset gets a plain name from its colour and species or kind (for example "Gold Fox") and a stock description, with free-text params left empty. The craft itself never fails because of this check.
|
|
1401
|
+
- The card page shows "Crafted into <name> in <app>" for a public app, and only "Crafted into <name>" (no app name or link) while the app is private. Deleting the app frees the card so it can be crafted again; unpublishing does not.
|
|
1402
|
+
- Only the published app crafts for real. In a draft the owner gets a preview asset: the AI runs on the draft recipe, nothing is stored and the card keeps its craft.
|
|
1403
|
+
- Pass the same requestId when retrying after a lost reply to get the same asset back (duplicate: true). Errors carry code: card_already_crafted (details.name, details.appTitle), card_craft_in_progress, card_changed_hands, card_craft_level_not_accepted, card_craft_card_unrevealed, card_craft_generation_failed (the card is unchanged; try again), card_craft_not_approved.
|
|
1404
|
+
- Example: const { asset } = await Twinkle.cardCraft.craft({ cardId });
|
|
1405
|
+
spawnPet(asset.kind, asset.params, asset.palette, asset.tier.effects);
|
|
1406
|
+
- await Twinkle.cardCraft.list({ cursor?, limit? }) | scopes: cardCraft:read
|
|
1407
|
+
- Returns: { assets: [{ assetId, cardId, kind, name, description, params, palette: ["#rrggbb"], tier: { level, colour, quality, effects, rank }, state, stateRevision, craftedAt, stateUpdatedAt, card: { id, word, level, colour, quality, style, imageUrl, creator: { id, username }, crafterId }, app: { buildId } }], cursor: { assetId } | null }
|
|
1408
|
+
- The viewer's assets in this app: assets whose card they own right now. After a sale the old owner's list no longer has it and the buyer's does. limit 1-50 (default 20).
|
|
1409
|
+
- await Twinkle.cardCraft.get({ assetId } | { cardId }) | scopes: cardCraft:read
|
|
1410
|
+
- Returns: { asset: { assetId, cardId, kind, name, description, params, palette: ["#rrggbb"], tier: { level, colour, quality, effects, rank }, state, stateRevision, craftedAt, stateUpdatedAt, card: { id, word, level, colour, quality, style, imageUrl, creator: { id, username }, crafterId }, app: { buildId } } | null }
|
|
1411
|
+
- null when the viewer does not own the card (any more), the card was burned, or it was crafted in another app.
|
|
1412
|
+
- await Twinkle.cardCraft.setState({ assetId, state, expectedRevision }) | scopes: cardCraft:write
|
|
1413
|
+
- Returns: { asset }
|
|
1414
|
+
- Saves the asset's own progress (JSON object/array up to 16,000 bytes, or null to clear): level, hunger, nickname, outfit. It travels with the card when it is sold, so keep asset progress here and player progress (coins, room layout) in privateDb.
|
|
1415
|
+
- The asset's name is fixed: it is shown on the card page and cannot be renamed. To let owners name their pet, keep an in-game nickname in state (for example state.nickname, trimmed and length-limited by your app) and show it in the game. After a sale the new owner can set their own nickname the same way.
|
|
1416
|
+
- expectedRevision is the stateRevision you last read; a mismatch fails with code card_craft_state_conflict (details.stateRevision), and a card the viewer no longer owns fails with card_craft_not_owner.
|
|
1417
|
+
|
|
1389
1418
|
## Examples
|
|
1390
1419
|
|
|
1391
1420
|
### Daily reflection feed
|
package/sdk/LUMINE_ADMIN.md
CHANGED
|
@@ -1083,6 +1083,34 @@ mutation when a caller needs the same retry identity across processes. The CLI
|
|
|
1083
1083
|
generates a fresh key for every mutation invocation; if a mutation fails, its
|
|
1084
1084
|
JSON error includes `details.retryIdempotencyKey` for a safe exact retry.
|
|
1085
1085
|
|
|
1086
|
+
### Build review requests: one queue for every unlock (any time; added 2026-09-28)
|
|
1087
|
+
|
|
1088
|
+
Everything a creator asks Mikey to unlock is one review request with a type:
|
|
1089
|
+
`rewards` (XP & Coin rewards, below), `project-limit` (more project room),
|
|
1090
|
+
`storage-limit` (more Lumine file storage, per creator) and `cardcraft` (an AI
|
|
1091
|
+
Card crafting recipe). Mikey sees them in one list (Management → **Build
|
|
1092
|
+
approvals**, or the CLI below), gets the same DM card for each, and decides
|
|
1093
|
+
them the same way. Each type keeps its own rules: reward approvals carry the
|
|
1094
|
+
earning rules and publish the frozen version; storage approvals take a size
|
|
1095
|
+
(500 MB / 1 GB / 2 GB tiers, any size up to the 2 GB cap, never lowering an
|
|
1096
|
+
existing approval); project room approvals raise Main to the fixed bounds;
|
|
1097
|
+
card crafting approvals make the recipe live in the published app without a
|
|
1098
|
+
new release. Only rewards and card crafting approvals can be revoked. The
|
|
1099
|
+
older per-type commands (`reward-review`, `cardcraft-review`, `storage
|
|
1100
|
+
approve|reject|list`) are aliases of these routes and keep working.
|
|
1101
|
+
|
|
1102
|
+
```bash
|
|
1103
|
+
lumine admin review list --json # waiting on a decision (default)
|
|
1104
|
+
lumine admin review list --status queue --type storage,project --json
|
|
1105
|
+
lumine admin review show storage:12 --json # <type>:<id>, or <id> --type storage
|
|
1106
|
+
lumine admin review approve storage:12 --size 1GB --json
|
|
1107
|
+
lumine admin review reject project:4 --reason "Split the big file first" --json
|
|
1108
|
+
lumine admin review approve cardcraft:3 --json
|
|
1109
|
+
lumine admin review revoke cardcraft:3 --reason "Too strong for level 1 cards" --json
|
|
1110
|
+
lumine admin review approve rewards:70 --config rules.json --json
|
|
1111
|
+
lumine admin review propose rewards:70 --dir /private/tmp/reward-review-70 --config rules.json --json
|
|
1112
|
+
```
|
|
1113
|
+
|
|
1086
1114
|
### Build XP/Coin reward approvals (any time; also a full-daily-review duty)
|
|
1087
1115
|
|
|
1088
1116
|
The creator's Lumine designs the rewards and writes them into the app. The
|