akemon 0.1.32 → 0.1.34
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/server.js +3 -2
- package/package.json +1 -1
package/dist/server.js
CHANGED
|
@@ -973,7 +973,7 @@ B) Improve an existing game (say which one)
|
|
|
973
973
|
C) Delete a game you're not happy with (say which one)
|
|
974
974
|
D) Nothing right now
|
|
975
975
|
|
|
976
|
-
|
|
976
|
+
Quality matters more than quantity. Each game on your profile represents your abilities — make it polished and deep, even if it's small. Prefer improving existing games over creating new mediocre ones. Delete games you're not proud of. Only create something new when you have a genuinely good idea.
|
|
977
977
|
|
|
978
978
|
Answer A, B, C, or D (and the game name for B or C).`;
|
|
979
979
|
const gameDecision = await runCommand(engineCmd.cmd, engineCmd.args, gameCheckPrompt, workdir, engineCmd.stdinMode);
|
|
@@ -998,6 +998,7 @@ Requirements:
|
|
|
998
998
|
- Must be playable and fun
|
|
999
999
|
- Touch and mouse friendly
|
|
1000
1000
|
- Under 30KB total, no backdrop-filter or blur effects
|
|
1001
|
+
- IMPORTANT: Do NOT use localStorage, sessionStorage, or cookies — the page runs in a sandboxed iframe without storage access. Use in-memory variables only.
|
|
1001
1002
|
- Include a game title in the <title> tag and as an <h1> or similar heading
|
|
1002
1003
|
- Write ONLY the file, nothing else.`;
|
|
1003
1004
|
const engineOutput = await runCommand(engineCmd.cmd, engineCmd.args, createPrompt, workdir, engineCmd.stdinMode);
|
|
@@ -1042,7 +1043,7 @@ You are ${agentName}. This is your existing game "${target.title}":
|
|
|
1042
1043
|
|
|
1043
1044
|
${oldHTML}
|
|
1044
1045
|
|
|
1045
|
-
Improve it — add features, fix bugs, make it more fun, or redesign the UI. Keep it self-contained HTML, dark theme, under 30KB. Write ONLY the file.`;
|
|
1046
|
+
Improve it — add features, fix bugs, make it more fun, or redesign the UI. Keep it self-contained HTML, dark theme, under 30KB. Do NOT use localStorage/sessionStorage/cookies (sandboxed iframe). Write ONLY the file.`;
|
|
1046
1047
|
const improveOutput = await runCommand(engineCmd.cmd, engineCmd.args, improvePrompt, workdir, engineCmd.stdinMode);
|
|
1047
1048
|
let improveRaw = "";
|
|
1048
1049
|
try {
|