@yottagraph-app/aether-instructions 1.1.41 → 1.1.43

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.
Files changed (37) hide show
  1. package/AGENTS.md +18 -191
  2. package/README.md +13 -9
  3. package/commands/build_my_app.md +7 -8
  4. package/commands/deploy_agent.md +7 -7
  5. package/commands/update_branding.md +1 -1
  6. package/commands/update_instructions.md +25 -17
  7. package/package.json +2 -4
  8. package/skills/aether/SKILL.md +57 -0
  9. package/{rules/agents-data.mdc → skills/aether/agents-data.md} +3 -6
  10. package/{rules/agents.mdc → skills/aether/agents.md} +49 -28
  11. package/{rules/architecture.mdc → skills/aether/architecture.md} +14 -21
  12. package/{rules/branding.mdc → skills/aether/branding.md} +7 -12
  13. package/{rules/cookbook-data.mdc → skills/aether/cookbook-data.md} +13 -28
  14. package/{rules/cookbook.mdc → skills/aether/cookbook.md} +2 -9
  15. package/skills/aether/cursor-cloud.md +57 -0
  16. package/{rules/data.mdc → skills/aether/data.md} +80 -70
  17. package/skills/aether/deployment.md +14 -0
  18. package/{rules/design.mdc → skills/aether/design.md} +1 -6
  19. package/skills/aether/env.md +10 -0
  20. package/{rules/git-support.mdc → skills/aether/git-support.md} +4 -9
  21. package/{rules/instructions_warning.mdc → skills/aether/instructions_warning.md} +6 -12
  22. package/skills/aether/local-setup.md +15 -0
  23. package/{rules/mcp-servers.mdc → skills/aether/mcp-servers.md} +3 -7
  24. package/{rules/pref.mdc → skills/aether/pref.md} +9 -14
  25. package/skills/aether/server-data.md +48 -0
  26. package/skills/aether/server.md +60 -0
  27. package/{rules/something-broke.mdc → skills/aether/something-broke.md} +3 -7
  28. package/{rules/server.mdc → skills/aether/storage.md} +78 -108
  29. package/{rules/ui.mdc → skills/aether/ui.md} +2 -6
  30. package/skills/elemental-mcp-patterns/SKILL.md +57 -51
  31. package/variants/mcp-only/commands/build_my_app.md +6 -6
  32. package/variants/mcp-only/{rules/agents-data.mdc → skills/aether/agents-data.md} +0 -6
  33. package/variants/mcp-only/{rules/cookbook-data.mdc → skills/aether/cookbook-data.md} +3 -6
  34. package/variants/mcp-only/{rules/data.mdc → skills/aether/data.md} +1 -6
  35. package/variants/mcp-only/{rules/server-data.mdc → skills/aether/server-data.md} +9 -15
  36. package/rules/aether.mdc +0 -21
  37. package/rules/server-data.mdc +0 -54
package/rules/aether.mdc DELETED
@@ -1,21 +0,0 @@
1
- ---
2
- alwaysApply: true
3
- ---
4
-
5
- # Aether
6
-
7
- **Stack:** Nuxt 3 (SPA), Vue 3 Composition API (`<script setup>`), Vuetify 3, TypeScript (required), Auth0.
8
-
9
- **Structure:** `pages/` (file-based routing), `components/`, `composables/`, `server/api/`, `agents/` (Python ADK), `mcp-servers/` (Python FastMCP).
10
-
11
- **Data:** This app runs on the Lovelace platform -- entities, news, filings, sentiment, relationships, events. See the `data` rule for access patterns and gotchas. Skill docs: `skills/data-model/` (entity types, properties, relationships; `SKILL.md` first), `skills/elemental-mcp-patterns/` (MCP response shapes, property type handling, Python patterns for agent tools). Do NOT call external APIs for data the platform provides.
12
-
13
- **Storage:** KV (Upstash Redis) for preferences and lightweight state via `Pref<T>` from `usePrefsStore()`. Neon Postgres for relational data if connected (check `.env` for `DATABASE_URL`).
14
-
15
- **Source of truth:** `DESIGN.md` -- read before starting work, update when changing features. The starter UI is placeholder -- replace freely. Feature docs in `design/` for implementation planning.
16
-
17
- **Git:** Commit meaningful units of work. Run `npm run format` before commit. Message format: `[Agent commit] {summary}`. Push directly to main — do NOT create PRs or feature branches.
18
-
19
- **First action for a new project:** Run `/build_my_app`.
20
-
21
- **Task-specific rules:** `architecture` (project structure, navigation, server routes, agents, MCP), `data` (Elemental API / data access patterns and gotchas), `cookbook` (copy-paste UI patterns), `cookbook-data` (data-fetching recipes), `design` (DESIGN.md workflow, feature docs), `ui` (page templates, layout patterns), `pref` (KV preferences), `branding` (colors, fonts), `server` (Nitro routes, Neon Postgres), `server-data` (server-side Elemental API from routes), `agents` (ADK agents), `agents-data` (agents calling Elemental API), `something-broke` (error recovery, build failures).
@@ -1,54 +0,0 @@
1
- ---
2
- description: "Calling the Elemental API from Nitro server routes via the Portal Gateway. Read when proxying Query Server calls server-side."
3
- alwaysApply: false
4
- globs: server/**
5
- ---
6
-
7
- # Server routes: Elemental API (Query Server)
8
-
9
- Server routes can call the Elemental API through the Portal Gateway proxy,
10
- just like client-side code does. The gateway URL, tenant org ID, and API key
11
- are available via `useRuntimeConfig()`.
12
-
13
- **NEVER use `readFileSync('broadchurch.yaml')` in server routes.** The YAML
14
- file is read at build time by `nuxt.config.ts` and its values flow into
15
- `runtimeConfig`. Nitro serverless functions (Vercel) don't bundle arbitrary
16
- project files — `readFileSync` will crash with ENOENT in production even
17
- though it works locally.
18
-
19
- ```typescript
20
- export default defineEventHandler(async (event) => {
21
- const { public: config } = useRuntimeConfig();
22
-
23
- const gatewayUrl = config.gatewayUrl; // Portal Gateway base URL
24
- const orgId = config.tenantOrgId; // Tenant org ID (path segment)
25
- const apiKey = config.qsApiKey; // API key for X-Api-Key header
26
-
27
- if (!gatewayUrl || !orgId) {
28
- throw createError({ statusCode: 503, statusMessage: 'Gateway not configured' });
29
- }
30
-
31
- const res = await $fetch(`${gatewayUrl}/api/qs/${orgId}/entities/search`, {
32
- method: 'POST',
33
- headers: {
34
- 'Content-Type': 'application/json',
35
- ...(apiKey && { 'X-Api-Key': apiKey }),
36
- },
37
- body: { queries: [{ queryId: 1, query: 'Microsoft' }], maxResults: 5 },
38
- });
39
-
40
- return res;
41
- });
42
- ```
43
-
44
- Available runtime config keys (all under `runtimeConfig.public`):
45
-
46
- | Key | Source | Purpose |
47
- |---|---|---|
48
- | `gatewayUrl` | `broadchurch.yaml` → `gateway.url` | Portal Gateway base URL |
49
- | `tenantOrgId` | `broadchurch.yaml` → `tenant.org_id` | Tenant ID for API path |
50
- | `qsApiKey` | `broadchurch.yaml` → `gateway.qs_api_key` | API key sent as `X-Api-Key` |
51
- | `queryServerAddress` | `broadchurch.yaml` → `query_server.url` | Direct QS URL (prefer gateway) |
52
-
53
- Build the request URL as `{gatewayUrl}/api/qs/{tenantOrgId}/{endpoint}`.
54
- See the `data` rule for endpoint reference and response shapes.