@yottagraph-app/aether-instructions 1.1.6 → 1.1.8
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/commands/build_my_app.md +22 -12
- package/package.json +1 -1
- package/rules/aether.mdc +1 -1
- package/rules/api.mdc +10 -15
package/commands/build_my_app.md
CHANGED
|
@@ -28,25 +28,35 @@ Stop here and wait for the user to describe what they want.
|
|
|
28
28
|
|
|
29
29
|
---
|
|
30
30
|
|
|
31
|
-
## Step 2:
|
|
31
|
+
## Step 2: Check MCP Servers
|
|
32
32
|
|
|
33
|
-
Check if
|
|
33
|
+
Check if Lovelace MCP tools are available by looking at your tool list for
|
|
34
|
+
tools like `elemental_get_schema`, `elemental_get_entity`, etc.
|
|
35
|
+
|
|
36
|
+
**If MCP tools are available:** Great — you have access to Lovelace platform
|
|
37
|
+
tools (entity search, market data, news, etc.) that you can use during
|
|
38
|
+
development.
|
|
39
|
+
|
|
40
|
+
**If MCP tools are NOT available:** Check if `.cursor/mcp.json` exists:
|
|
34
41
|
|
|
35
42
|
```bash
|
|
36
43
|
cat .cursor/mcp.json 2>/dev/null
|
|
37
44
|
```
|
|
38
45
|
|
|
39
|
-
|
|
46
|
+
If the file exists but tools aren't showing, they may need to be enabled:
|
|
40
47
|
|
|
41
|
-
>
|
|
48
|
+
> Your project has Lovelace MCP servers configured (`.cursor/mcp.json`),
|
|
49
|
+
> but they don't appear to be active yet. Cursor disables new MCP servers
|
|
50
|
+
> by default.
|
|
42
51
|
>
|
|
43
|
-
> Open **Cursor Settings** (Cmd+Shift+J) → **Tools & MCP** and enable the
|
|
44
|
-
>
|
|
45
|
-
> Let me know when they're enabled (or if you'd like to skip this
|
|
46
|
-
|
|
47
|
-
Wait for confirmation before proceeding. If the user skips this step, note that MCP tools won't be available during the build but can be enabled later.
|
|
52
|
+
> Open **Cursor Settings** (Cmd+Shift+J) → **Tools & MCP** and enable the
|
|
53
|
+
> `lovelace-*` servers listed there. They should show green toggles when
|
|
54
|
+
> active. Let me know when they're enabled (or if you'd like to skip this).
|
|
48
55
|
|
|
49
|
-
|
|
56
|
+
Wait for confirmation before proceeding. If the user skips this step or
|
|
57
|
+
the settings panel isn't available (e.g. Cursor Cloud), proceed without
|
|
58
|
+
MCP tools — the app can still be built using the Elemental API client
|
|
59
|
+
(`useElementalClient()`) directly.
|
|
50
60
|
|
|
51
61
|
---
|
|
52
62
|
|
|
@@ -63,10 +73,10 @@ Then read these files to understand what's available:
|
|
|
63
73
|
1. `DESIGN.md` -- project vision and current status
|
|
64
74
|
2. `broadchurch.yaml` -- project config (name, gateway URL, etc.)
|
|
65
75
|
3. **The `api` cursor rule** -- this is critical. It describes the Query Server, the platform's primary data source. Build against platform APIs, not external sources.
|
|
66
|
-
4.
|
|
76
|
+
4. **`.cursor/skills/`** — Each subdirectory is one skill. List them, open each skill’s entry (usually `SKILL.md`) and follow its structure to learn what is documented (APIs, schemas, helpers, etc.).
|
|
67
77
|
5. `.cursor/rules/` -- scan rule names to know what other patterns are available
|
|
68
78
|
|
|
69
|
-
**Important: Use the platform's data.** This app runs on the Lovelace platform, which provides a Query Server with entities, news, filings, sentiment, relationships, events, and more. Read the `api` rule and the
|
|
79
|
+
**Important: Use the platform's data.** This app runs on the Lovelace platform, which provides a Query Server with entities, news, filings, sentiment, relationships, events, and more. Read the `api` rule and the skills under `.cursor/skills/` to understand what data is available. Use `getSchema()` to discover entity types and properties at runtime.
|
|
70
80
|
|
|
71
81
|
Key capabilities:
|
|
72
82
|
|
package/package.json
CHANGED
package/rules/aether.mdc
CHANGED
|
@@ -8,7 +8,7 @@ alwaysApply: true
|
|
|
8
8
|
|
|
9
9
|
**Structure:** `pages/` (file-based routing), `components/`, `composables/`, `server/api/`, `agents/` (Python ADK), `mcp-servers/` (Python FastMCP).
|
|
10
10
|
|
|
11
|
-
**Data:** The Query Server (Elemental API) is the primary data source -- entities, news, filings, sentiment, relationships, events. Use `useElementalClient()` from `@yottagraph-app/elemental-api/client`. Do NOT call external APIs for data the platform provides. Discovery-first: use `getSchema()` to discover entity types and properties at runtime. Skill docs
|
|
11
|
+
**Data:** The Query Server (Elemental API) is the primary data source -- entities, news, filings, sentiment, relationships, events. Use `useElementalClient()` from `@yottagraph-app/elemental-api/client`. Do NOT call external APIs for data the platform provides. Discovery-first: use `getSchema()` to discover entity types and properties at runtime. Skill docs: `skills/elemental-api/` (API endpoints) and `skills/data-model/` (Lovelace entity types, properties, relationships, YAML schemas per fetch source; `SKILL.md` first). Run `npm install` if those directories are empty. Lovelace MCP servers may also be configured (see `api` rule) but are optional — check your tool list before assuming they're available.
|
|
12
12
|
|
|
13
13
|
**Storage:** KV (Upstash Redis) for preferences and lightweight state via `Pref<T>` from `usePrefsStore()`. Supabase for relational data if connected (check `.env`).
|
|
14
14
|
|
package/rules/api.mdc
CHANGED
|
@@ -16,21 +16,16 @@ regularly — use the discovery-first pattern to find what's available.
|
|
|
16
16
|
|
|
17
17
|
## Skill Documentation
|
|
18
18
|
|
|
19
|
-
For
|
|
20
|
-
`skills/elemental-api
|
|
21
|
-
|
|
22
|
-
`npm install` (
|
|
23
|
-
`
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
- `
|
|
29
|
-
- `find.md` — expression language for searching by type, property, and relationships
|
|
30
|
-
- `schema.md` — entity types (flavors), properties (PIDs), and schema endpoints
|
|
31
|
-
- `relationships.md` — entity connections
|
|
32
|
-
- `events.md` — events involving entities
|
|
33
|
-
- `articles.md` — news mentions and article content
|
|
19
|
+
For endpoint reference, response shapes, and edge cases, **read the
|
|
20
|
+
elemental-api skill** in `skills/elemental-api/` (start with `SKILL.md` and
|
|
21
|
+
follow the skill’s own structure). Files are copied from
|
|
22
|
+
`@yottagraph-app/elemental-api-skill` during `npm install` (see
|
|
23
|
+
`skill-packages.json`); if the directory is empty, run `npm install` first —
|
|
24
|
+
**run it early** during initial exploration so the skill is available.
|
|
25
|
+
|
|
26
|
+
## Data model skill
|
|
27
|
+
|
|
28
|
+
For Lovelace **entity types, properties, relationships, and per-source schemas** (EDGAR, FRED, FDIC, etc.), read the **data-model skill** in `skills/data-model/`. Start with `SKILL.md`, then `overview.md` and the source-specific folders. These files are copied from `@yottagraph-app/data-model-skill` during `npm install` (same postinstall; both skills are listed in `skill-packages.json`).
|
|
34
29
|
|
|
35
30
|
## Client Usage
|
|
36
31
|
|