@yottagraph-app/aether-instructions 1.1.45 → 1.1.47

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/AGENTS.md CHANGED
@@ -24,7 +24,8 @@ The `aether` skill (`.agents/skills/aether/SKILL.md`) covers architecture, data,
24
24
 
25
25
  Detect your runtime once at startup, then read the matching topic in the `aether` skill:
26
26
 
27
- - **Cursor Cloud** if `$HOME` starts with `/root` or `/home/ubuntu`, OR `uname -s` reports `Linux` in a container-shaped path, OR a "Dev Server" terminal was auto-started from `.agents/environment.json`. → Read [`cursor-cloud.md`](.agents/skills/aether/cursor-cloud.md).
27
+ - **Claude Code (claude.ai/code)** if you are Claude Code running in a cloud session (Linux container, `$HOME` starts with `/root` or `/home/ubuntu`, and you were invoked via claude.ai/code rather than a local CLI). → Read [`claude-code-cloud.md`](.agents/skills/aether/claude-code-cloud.md). Sessions are ephemeral — commit and push changes regularly.
28
+ - **Cursor Cloud** if `$HOME` starts with `/root` or `/home/ubuntu`, OR `uname -s` reports `Linux` in a container-shaped path, OR a "Dev Server" terminal was auto-started from `.agents/environment.json`, AND you are running inside Cursor. → Read [`cursor-cloud.md`](.agents/skills/aether/cursor-cloud.md).
28
29
  - **Local dev** if `$HOME` is under `/Users/…` (macOS) or a normal Linux/Windows user home, and no "Dev Server" terminal is auto-running. → If `.env` and `node_modules/` are present, you're set up; otherwise read [`local-setup.md`](.agents/skills/aether/local-setup.md).
29
30
 
30
31
  This check is cheap and only needs to run once per session.
@@ -50,10 +50,12 @@ elif [ -d .cursor ]; then
50
50
  echo "Migrated .cursor/ → .agents/"
51
51
  fi
52
52
 
53
- # Create symlinks if absent
54
- [ -e .cursor ] || ln -s .agents .cursor
55
- [ -e .claude ] || ln -s .agents .claude
56
- [ -e .mcp.json ] || ln -s .agents/mcp.json .mcp.json
53
+ # Create symlinks if absent. Test -L first so a symlink with a not-yet-created
54
+ # target (e.g. .mcp.json -> .agents/mcp.json before init populates it) doesn't
55
+ # trigger an `ln: File exists` error. Plain -e follows symlinks.
56
+ [ -L .cursor ] || [ -e .cursor ] || ln -s .agents .cursor
57
+ [ -L .claude ] || [ -e .claude ] || ln -s .agents .claude
58
+ [ -L .mcp.json ] || [ -e .mcp.json ] || ln -s .agents/mcp.json .mcp.json
57
59
  ```
58
60
 
59
61
  Report to user:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yottagraph-app/aether-instructions",
3
- "version": "1.1.45",
3
+ "version": "1.1.47",
4
4
  "description": "Cursor commands and skills for Aether development",
5
5
  "files": [
6
6
  "commands",
@@ -0,0 +1,75 @@
1
+ If you are in a claude.ai/code cloud session, the `environment.json` install
2
+ step runs `init-project.js` and `npm install` automatically, and starts a dev
3
+ server on port 3000.
4
+
5
+ **Verify before starting:** check that `.env` exists and `node_modules/` is
6
+ present. If either is missing, run: `node init-project.js && npm install`
7
+
8
+ **Do NOT** manually run `nvm install` or `nvm use` — Node version is managed
9
+ by the environment.
10
+
11
+ ### Sessions are ephemeral
12
+
13
+ Each claude.ai/code session clones a fresh copy of the repo. Uncommitted
14
+ changes are lost when the session ends. Commit and push work regularly.
15
+
16
+ ### GitHub connection required
17
+
18
+ The repo must be hosted on GitHub. On first use, you will be prompted to
19
+ install the Claude GitHub App on the repository. Alternatively, run
20
+ `/web-setup` in Claude Code to sync a local `gh` CLI token to your account.
21
+ Both public and private repos are supported.
22
+
23
+ ### Initial environment setup only
24
+
25
+ This subsection applies ONLY when first asked to "set up the development
26
+ environment" or "demonstrate that the environment is working." It does
27
+ **NOT** apply to ongoing development — once the app is built, use the
28
+ browser normally to test and verify UI changes.
29
+
30
+ **During initial setup**, skip browser/UI testing. The starter UI is a
31
+ placeholder template that will be replaced by `/build_my_app`. Do not
32
+ launch a browser, record videos, or take screenshots at this stage.
33
+ Verifying `npm run build` passes is sufficient.
34
+
35
+ 1. Check the "Dev Server" terminal output for a line containing
36
+ `Listening on` or `Local: http://localhost:3000`. If present, the
37
+ environment is working.
38
+ 2. If the dev server is NOT running, start it with `npm run dev` and wait
39
+ for the "Listening on" line.
40
+ 3. Run `npm run build` to verify the project compiles.
41
+ 4. Once confirmed, tell the user the environment is ready, then
42
+ immediately run the `/build_my_app` command.
43
+
44
+ ### MCP tools
45
+
46
+ Lovelace MCP servers (`lovelace-elemental`, `lovelace-stocks`, etc.) are
47
+ available after running `/broadchurch_setup`, which writes `.agents/mcp.json`
48
+ with the tenant's portal proxy URLs. Check your tool list for `elemental_*`
49
+ tools. If they're not available, use the Elemental API client
50
+ (`useElementalClient()`) and the skill docs in `.agents/skills/elemental-api/`
51
+ and `.agents/skills/data-model/` for platform data access instead.
52
+
53
+ ### Technical details
54
+
55
+ Node 20 is the baseline (`.nvmrc`). The `environment.json` install step
56
+ handles this via `nvm install 20 && nvm alias default 20`. Newer Node
57
+ versions (22, 25) generally work but may produce `EBADENGINE` warnings
58
+ during install — safe to ignore.
59
+
60
+ The install step runs `node init-project.js --local` (creates `.env` if
61
+ absent) then `npm install` (triggers `postinstall` → `nuxt prepare`).
62
+ Auth0 is bypassed via `NUXT_PUBLIC_USER_NAME=dev-user`
63
+ in the generated `.env`.
64
+
65
+ **No automated test suite.** Verification is `npm run build` (compile
66
+ check) and `npm run format:check` (Prettier). See Verification Commands.
67
+
68
+ **Before committing:** always run `npm run format` — the husky pre-commit
69
+ hook runs `lint-staged` with `prettier --check` and will reject
70
+ unformatted files.
71
+
72
+ ### Availability
73
+
74
+ claude.ai/code is available on Pro, Max, Team, and Enterprise plans
75
+ (Research Preview). Sessions are billed against your plan's usage.