crushdataai 1.2.0 → 1.2.1

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.
@@ -25,10 +25,12 @@ Before writing any code, ask the user:
25
25
  2. **Data Context**: Which tables contain the data? What time range?
26
26
  3. **Metric Definitions**: How does YOUR company define the key metrics? Any filters?
27
27
 
28
- ## Step 1b: Secure Access
29
- - Check connections: `npx crushdataai connections`
30
- - Get connection code: `npx crushdataai snippet <name>`
31
- - **DO NOT** ask for API credentials.
28
+ ### 2. Secure Data Access
29
+ - **Check Connections**: Run `npx crushdataai connections` first.
30
+ - **Missing Data?**: If the data source is not listed (e.g. on Desktop/Database), **INSTRUCT** the user to run:
31
+ `npx crushdataai connect`
32
+ - **Get Code**: Use `npx crushdataai snippet <name>` to access data.
33
+ - **Security**: **DO NOT** ask for credentials or manual file moves.
32
34
 
33
35
  ---
34
36
 
@@ -30,22 +30,14 @@ When user requests data analysis work (analyze, query, dashboard, metrics, EDA,
30
30
  - Any filters to apply? (exclude test users, internal accounts?)
31
31
  - What timezone should I use for dates?
32
32
  - What timezone should I use for dates?
33
+ ```
33
34
 
34
- ### Step 1b: Access Data (SECURE)
35
-
36
- **To access data, DO NOT ask for API keys/credentials.**
37
-
38
- 1. Check available connections:
39
- ```bash
40
- npx crushdataai connections
41
- ```
42
-
43
- 2. Get the connection code snippet:
44
- ```bash
45
- npx crushdataai snippet <connection_name> --lang python
46
- ```
47
-
48
- 3. Paste the snippet into your analysis script to load the data.
35
+ ### 1b. Secure Data Access
36
+ - **Check Connections**: Run `npx crushdataai connections` first.
37
+ - **Missing Data?**: If the data source is not listed (e.g. on Desktop/Database), **INSTRUCT** the user to run:
38
+ `npx crushdataai connect`
39
+ - **Get Code**: Use `npx crushdataai snippet <name>` to access data.
40
+ - **Security**: **DO NOT** ask for credentials or manual file moves.
49
41
 
50
42
  ### Step 2: Search Relevant Domains
51
43
 
@@ -19,12 +19,14 @@ Before coding, ask:
19
19
  - Which tables contain the data?
20
20
  - How does YOUR company define key metrics?
21
21
 
22
- ### 1b. Secure Access
23
- - Check connections: `npx crushdataai connections`
24
- - Get connection code: `npx crushdataai snippet <name>`
25
- - **DO NOT** ask for API credentials.
26
-
27
- ### 2. Search Knowledge Base
22
+ ### 2. Secure Data Access
23
+ - **Check Connections**: Run `npx crushdataai connections` first.
24
+ - **Missing Data?**: If the data source is not listed (e.g. on Desktop/Database), **INSTRUCT** the user to run:
25
+ `npx crushdataai connect`
26
+ - **Get Code**: Use `npx crushdataai snippet <name>` to access data.
27
+ - **Security**: **DO NOT** ask for credentials or manual file moves.
28
+
29
+ ### 3. Search Knowledge Base
28
30
  ```bash
29
31
  python3 .github/prompts/../.shared/data-analyst/scripts/search.py "<query>" --domain <domain>
30
32
  ```
@@ -16,10 +16,12 @@ Before coding, ask:
16
16
  - Which tables contain the data?
17
17
  - How does YOUR company define the key metrics?
18
18
 
19
- 3. **Secure Access**:
20
- - Check connections: `npx crushdataai connections`
21
- - Get connection code: `npx crushdataai snippet <name>`
22
- - **DO NOT** ask for API credentials.
19
+ ### 2. Secure Data Access
20
+ - **Check Connections**: Run `npx crushdataai connections` first.
21
+ - **Missing Data?**: If the data source is not listed (e.g. on Desktop/Database), **INSTRUCT** the user to run:
22
+ `npx crushdataai connect`
23
+ - **Get Code**: Use `npx crushdataai snippet <name>` to access data.
24
+ - **Security**: **DO NOT** ask for credentials or manual file moves.
23
25
 
24
26
  ### 2. Search Knowledge Base
25
27
  ```bash
@@ -15,12 +15,14 @@ Before writing code, gather:
15
15
  - Company-specific metric definitions
16
16
  - Time range and filters
17
17
 
18
- ### 1b. Secure Access
19
- - Check connections: `npx crushdataai connections`
20
- - Get connection code: `npx crushdataai snippet <name>`
21
- - **DO NOT** ask for API credentials.
22
-
23
- ### 2. Search Before Implementing
18
+ ### 2. Secure Data Access
19
+ - **Check Connections**: Run `npx crushdataai connections` first.
20
+ - **Missing Data?**: If the data source is not listed (e.g. on Desktop/Database), **INSTRUCT** the user to run:
21
+ `npx crushdataai connect`
22
+ - **Get Code**: Use `npx crushdataai snippet <name>` to access data.
23
+ - **Security**: **DO NOT** ask for credentials or manual file moves.
24
+
25
+ ### 3. Search Before Implementing
24
26
  ```bash
25
27
  python3 .kiro/steering/../.shared/data-analyst/scripts/search.py "<query>" --domain <domain>
26
28
  ```
@@ -13,12 +13,14 @@ Ask before coding:
13
13
  - Which tables/databases contain the data
14
14
  - Company-specific metric definitions
15
15
 
16
- ### 1b. Secure Access
17
- - Check connections: `npx crushdataai connections`
18
- - Get connection code: `npx crushdataai snippet <name>`
19
- - **DO NOT** ask for API credentials.
20
-
21
- ### 2. Search Knowledge
16
+ ### 2. Secure Data Access
17
+ - **Check Connections**: Run `npx crushdataai connections` first.
18
+ - **Missing Data?**: If the data source is not listed (e.g. on Desktop/Database), **INSTRUCT** the user to run:
19
+ `npx crushdataai connect`
20
+ - **Get Code**: Use `npx crushdataai snippet <name>` to access data.
21
+ - **Security**: **DO NOT** ask for credentials or manual file moves.
22
+
23
+ ### 3. Search Knowledge
22
24
  ```bash
23
25
  python3 .windsurf/workflows/../.shared/data-analyst/scripts/search.py "<query>" --domain <domain>
24
26
  ```
package/dist/commands.js CHANGED
@@ -148,12 +148,12 @@ function init(aiType, force) {
148
148
  console.log(` - Search: python3 .shared/data-analyst/scripts/search.py "<query>" --domain <domain>\n`);
149
149
  }
150
150
  function update() {
151
- console.log('\nšŸ”„ Checking for updates...');
152
- console.log(' Run: npm update -g crushdataai');
153
- console.log(' Then: crushdataai init --force\n');
151
+ console.log('\nšŸ”„ To update CrushData AI:');
152
+ console.log(' 1. Run: npm install -g crushdataai@latest');
153
+ console.log(' 2. Run: crushdataai init --force (to update project files)\n');
154
154
  }
155
155
  function versions() {
156
156
  console.log('\nšŸ“¦ CrushData AI Versions');
157
- console.log(' Installed: 1.0.0');
157
+ console.log(' Installed: 1.2.1');
158
158
  console.log(' Latest: Check npm: npm show crushdataai version\n');
159
159
  }
package/dist/index.js CHANGED
@@ -42,7 +42,7 @@ const program = new commander_1.Command();
42
42
  program
43
43
  .name('crushdataai')
44
44
  .description('CLI to install CrushData AI data analyst skill for AI coding assistants')
45
- .version('2.0.0');
45
+ .version('1.2.1');
46
46
  program
47
47
  .command('init')
48
48
  .description('Initialize CrushData AI skill in current project')
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "crushdataai",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "description": "CLI to install CrushData AI data analyst skill for AI coding assistants",
5
5
  "main": "dist/index.js",
6
6
  "bin": {