jgengine 0.8.2 → 0.8.3

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/index.js CHANGED
@@ -9,21 +9,24 @@ import { runDoctor } from "../doctor.js";
9
9
  import { cliVersion, findUp, readPackageJson } from "../pkg.js";
10
10
  import { runSkills } from "../skills.js";
11
11
  const ENGINE_PACKAGES = ["core", "react", "shell", "ws", "sql", "convex", "node", "assets"];
12
- const HELP = `jgengine ${cliVersion()} — pure-TypeScript game engine SDK + agent entry
12
+ const HELP = `jgengine ${cliVersion()} — agent-side CLI for the JGengine TypeScript game SDK
13
13
  Packages: ${ENGINE_PACKAGES.map((name) => `@jgengine/${name}`).join(", ")}.
14
14
  docs: https://jgengine.com · source: https://github.com/Noisemaker111/jgengine
15
15
 
16
- ENTRY (agents: run this when the user says "use jgengine" / "make a game with npx jgengine"):
17
- npx jgengine create "Game Name"
16
+ HUMAN INTERFACE (what people say to you not a shell they must run):
17
+ Make a game that ... with jgengine
18
+
19
+ AGENT RESPONSE (you run these; do not dump this as homework for the user):
20
+ npx jgengine create "Game Name" # scaffold + install skills into the project
18
21
  cd Game-Name
19
- # skills install automatically · AGENTS.md briefs you · then build the game
22
+ # concept pitch questions build (see jgengine-newgame)
20
23
 
21
24
  usage: jgengine <command> [...args]
22
25
 
23
26
  create "<Game Name>" scaffold playable base + install agent skills into the project
24
27
  folder My-Game-Name; name → game.config / HUD / title
25
28
  [--in-repo|--standalone] [--no-install] [--no-skills] [--pm bun|npm|pnpm]
26
- skills -p | -g re-install skills only if create was run with --no-skills
29
+ skills -p | -g re-install skills (recovery only create already installs them)
27
30
  doctor [dir] diagnose version skew, missing peers, unstyled HUD, shape drift
28
31
  llms [package] print packaged API docs (llms.txt) — agent-ready
29
32
  assets [...] @jgengine/assets CLI: list, search, pull CC0 packs
package/dist/skills.js CHANGED
@@ -55,7 +55,7 @@ export function runSkills(argv) {
55
55
 
56
56
  Installs ${GAME_SKILLS.join(", ")} from ${SKILLS_SOURCE}.
57
57
 
58
- create already installs project skills for you you usually never need this command.
58
+ People do not run this. Agents use it; create already installs project skills.
59
59
  `);
60
60
  return 0;
61
61
  }
package/dist/templates.js CHANGED
@@ -346,12 +346,14 @@ describe("${id} world", () => {
346
346
  `;
347
347
  const agentsMd = (name, variant) => `# ${name} — agent briefing
348
348
 
349
- You are in a **JGengine** game project. JGengine is a pure-TypeScript game engine SDK on npm (\`@jgengine/core\`, \`react\`, \`shell\`, …). The CLI is \`npx jgengine\`. Site: https://jgengine.com · source: https://github.com/Noisemaker111/jgengine
349
+ You are in a **JGengine** game project. JGengine is a pure-TypeScript game engine SDK on npm (\`@jgengine/core\`, \`react\`, \`shell\`, …). Site: https://jgengine.com · source: https://github.com/Noisemaker111/jgengine
350
+
351
+ **How people use JGengine:** they say *Make a game that … with jgengine* to an agent. They do **not** start from a CLI tutorial. \`npx jgengine\` is for **you** (scaffold, skills, docs).
350
352
 
351
353
  ## What to do when the user wants this game built
352
354
 
353
- 1. Read skills if present: \`jgengine-newgame\` (workflow), \`jgengine-api\` (API), \`jgengine-verify\` (prove it works). They land under \`.agents/skills/\` or \`.claude/skills/\` when scaffolded via \`npx jgengine create\`.
354
- 2. If skills are missing: \`npx jgengine skills -p\` (or use this file + \`npx jgengine llms core\`).
355
+ 1. Read skills if present: \`jgengine-newgame\` (workflow), \`jgengine-api\` (API), \`jgengine-verify\` (prove it works). They land under \`.agents/skills/\` or \`.claude/skills/\` when scaffolded via create.
356
+ 2. If skills are missing (your problem, not the user's): \`npx jgengine skills -p\` or use this file + \`npx jgengine llms core\`.
355
357
  3. **User-facing first reply is short** — game name, fantasy in 2–4 lines, POV (1st / 3rd / top-down / HUD-only), world kind, scale vibe. Ask a few tight questions (POV, world, multiplayer, how big). **Do not** dump file trees, catalog ids, keybind tables, or full phase plans to the user.
356
358
  4. Keep the full engineering plan (files, systems, budgets) internal. After they answer, scaffold is already here — build in phases, full game not a slice.
357
359
 
package/llms.txt CHANGED
@@ -1,7 +1,7 @@
1
1
  # @jgengine/jgengine
2
- > JGengine CLI pure-TypeScript game engine entry for humans and agents. Run: npx jgengine create "My Game Name" (scaffolds a playable base and installs agent skills). Then build the game. Docs: https://jgengine.com
2
+ > Agent-side CLI for JGengine. People build by telling an agent: Make a game that ... with jgengine. Agents use this CLI (create, skills, doctor, llms). Docs: https://jgengine.com
3
3
 
4
- Version: 0.8.2
4
+ Version: 0.8.3
5
5
  License: AGPL-3.0-only
6
6
  Repository: https://github.com/Noisemaker111/jgengine
7
7
  Docs: https://jgengine.com
@@ -304,7 +304,9 @@ Exact import paths and export names — **do not invent paths**; every row below
304
304
 
305
305
  ## Getting started (new project)
306
306
 
307
- Fastest path the `jgengine` CLI scaffolds the entire canonical shape below (harness, skeleton, stub game, verify test, AGENTS.md) as a booting game:
307
+ **People** start with one sentence to an agent: `Make a game that with jgengine`. They do not need the CLI.
308
+
309
+ **Agents** scaffold with the CLI — harness, skeleton, stub game, verify test, AGENTS.md, skills:
308
310
 
309
311
  ```sh
310
312
  npx jgengine create "My Game Name" # folder → My-Game-Name; skills install automatically
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "jgengine",
3
- "version": "0.8.2",
4
- "description": "JGengine CLI pure-TypeScript game engine entry for humans and agents. Run: npx jgengine create \"My Game Name\" (scaffolds a playable base and installs agent skills). Then build the game. Docs: https://jgengine.com",
3
+ "version": "0.8.3",
4
+ "description": "Agent-side CLI for JGengine. People build by telling an agent: Make a game that ... with jgengine. Agents use this CLI (create, skills, doctor, llms). Docs: https://jgengine.com",
5
5
  "keywords": [
6
6
  "game-engine",
7
7
  "typescript",