elasticdash-test 0.1.26-alpha-2 → 0.1.26-alpha-4
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.
|
@@ -8,6 +8,25 @@
|
|
|
8
8
|
|
|
9
9
|
---
|
|
10
10
|
|
|
11
|
+
## How to start
|
|
12
|
+
|
|
13
|
+
Tell your coding agent this prompt to begin:
|
|
14
|
+
|
|
15
|
+
```
|
|
16
|
+
Integrate elasticdash-test into this project.
|
|
17
|
+
Read node_modules/elasticdash-test/docs/agent-coding-instructions.md for how to proceed,
|
|
18
|
+
and node_modules/elasticdash-test/docs/agent-integration-guide.md for technical reference.
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
Or if you used `npx elasticdash init-guide`:
|
|
22
|
+
|
|
23
|
+
```
|
|
24
|
+
Read AGENTS.md and follow it to integrate elasticdash-test into this project.
|
|
25
|
+
Also read node_modules/elasticdash-test/docs/agent-integration-guide.md for technical reference.
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
---
|
|
29
|
+
|
|
11
30
|
## Behavioral rules
|
|
12
31
|
|
|
13
32
|
- **Automation level**: Automatically implement all steps unless you are not confident about a specific change (e.g., unclear which function is a tool vs. a utility, or ambiguous workflow boundaries). In those cases, ask the user before proceeding. For straightforward tool/workflow functions, proceed without asking.
|
|
@@ -34,6 +53,20 @@
|
|
|
34
53
|
|
|
35
54
|
**Do not continue until `ELASTICDASH_API_KEY` is set.** The SDK cannot connect to the backend without it.
|
|
36
55
|
|
|
56
|
+
**3. Set default SDK variables**
|
|
57
|
+
|
|
58
|
+
Add these to `.env` if they are not already present:
|
|
59
|
+
|
|
60
|
+
```bash
|
|
61
|
+
ELASTICDASH_DEBUG=1
|
|
62
|
+
ELASTICDASH_CAPTURE_TRACE=0
|
|
63
|
+
ELASTICDASH_ACCEPT_RERUNS=1
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
- `ELASTICDASH_DEBUG=1` — enables SDK debug logging, useful during initial setup
|
|
67
|
+
- `ELASTICDASH_CAPTURE_TRACE=0` — trace capture off by default (set to `1` when recording fixtures)
|
|
68
|
+
- `ELASTICDASH_ACCEPT_RERUNS=1` — allows the backend to push rerun requests to this SDK instance
|
|
69
|
+
|
|
37
70
|
### Phase 2: Scan the codebase
|
|
38
71
|
|
|
39
72
|
Before creating any files, identify:
|
|
@@ -4,6 +4,16 @@ Technical reference for integrating `elasticdash-test` into a project. Contains
|
|
|
4
4
|
|
|
5
5
|
> **For AI coding agents**: See [Agent Coding Instructions](./agent-coding-instructions.md) for behavioral rules, automation guidance, and execution order.
|
|
6
6
|
|
|
7
|
+
## How to start with a coding agent
|
|
8
|
+
|
|
9
|
+
Tell your coding agent this prompt:
|
|
10
|
+
|
|
11
|
+
```
|
|
12
|
+
Integrate elasticdash-test into this project.
|
|
13
|
+
Read node_modules/elasticdash-test/docs/agent-coding-instructions.md for how to proceed,
|
|
14
|
+
and node_modules/elasticdash-test/docs/agent-integration-guide.md for technical reference.
|
|
15
|
+
```
|
|
16
|
+
|
|
7
17
|
---
|
|
8
18
|
|
|
9
19
|
## Prerequisites
|
|
@@ -328,7 +338,9 @@ Set in `.env` or CI secrets:
|
|
|
328
338
|
|----------|-------------|----------|
|
|
329
339
|
| `ELASTICDASH_API_URL` | Backend server URL (`https://server.elasticdash.com` for cloud) | For upload/CI |
|
|
330
340
|
| `ELASTICDASH_API_KEY` | Project API key from dashboard | For upload/CI |
|
|
331
|
-
| `
|
|
341
|
+
| `ELASTICDASH_DEBUG` | Set to `1` to enable SDK debug logging | Recommended during setup |
|
|
342
|
+
| `ELASTICDASH_CAPTURE_TRACE` | Set to `0` by default; `1` to record a trace fixture | For trace recording |
|
|
343
|
+
| `ELASTICDASH_ACCEPT_RERUNS` | Set to `1` to accept rerun requests from backend | Recommended |
|
|
332
344
|
| `OPENAI_API_KEY` | OpenAI API key | If using OpenAI |
|
|
333
345
|
| `ANTHROPIC_API_KEY` | Anthropic API key | If using Claude |
|
|
334
346
|
| `GEMINI_API_KEY` | Google Gemini API key | If using Gemini |
|