@yottagraph-app/aether-instructions 1.1.12 → 1.1.14
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/package.json
CHANGED
package/rules/api.mdc
CHANGED
|
@@ -17,15 +17,14 @@ regularly — use the discovery-first pattern to find what's available.
|
|
|
17
17
|
## Skill Documentation
|
|
18
18
|
|
|
19
19
|
For endpoint reference, response shapes, and edge cases, **read the
|
|
20
|
-
elemental-api skill** in
|
|
20
|
+
elemental-api skill** in `.cursor/skills/elemental-api/` (start with `SKILL.md` and
|
|
21
21
|
follow the skill’s own structure). Files are copied from
|
|
22
|
-
`@yottagraph-app/
|
|
23
|
-
|
|
24
|
-
**run it early** during initial exploration so the skill is available.
|
|
22
|
+
`@yottagraph-app/aether-instructions` (installed during project init). If
|
|
23
|
+
the directory is missing, run `/update_instructions` to install it.
|
|
25
24
|
|
|
26
25
|
## Data model skill
|
|
27
26
|
|
|
28
|
-
For Lovelace **entity types, properties, relationships, and per-source schemas** (EDGAR, FRED, FDIC, etc.), read the **data-model skill** in
|
|
27
|
+
For Lovelace **entity types, properties, relationships, and per-source schemas** (EDGAR, FRED, FDIC, etc.), read the **data-model skill** in `.cursor/skills/data-model/`. Start with `SKILL.md`, then `overview.md` and the source-specific folders. Both skills are distributed via `@yottagraph-app/aether-instructions` and installed during project init.
|
|
29
28
|
|
|
30
29
|
## Client Usage
|
|
31
30
|
|
|
@@ -13,10 +13,7 @@ const FORM_ENCODED_ENDPOINTS = ['/elemental/find', '/elemental/entities/properti
|
|
|
13
13
|
|
|
14
14
|
function loadEnvFile() {
|
|
15
15
|
// Try current working directory first (project .env), then script directory
|
|
16
|
-
const envPaths = [
|
|
17
|
-
path.join(process.cwd(), '.env'),
|
|
18
|
-
path.join(__dirname, '.env'),
|
|
19
|
-
];
|
|
16
|
+
const envPaths = [path.join(process.cwd(), '.env'), path.join(__dirname, '.env')];
|
|
20
17
|
|
|
21
18
|
for (const envPath of envPaths) {
|
|
22
19
|
try {
|