@zhoujinandrew/te-cli 1.0.0 → 1.0.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.
Files changed (2) hide show
  1. package/README.md +30 -10
  2. package/package.json +12 -3
package/README.md CHANGED
@@ -4,14 +4,25 @@ CLI tool for ThinkingEngine (TE) analytics platform. Designed for both AI Agent
4
4
 
5
5
  ## Installation
6
6
 
7
+ **Step 1: Install te-cli**
8
+
7
9
  ```bash
8
10
  npm install -g @zhoujinandrew/te-cli
9
11
  ```
10
12
 
11
- To update to the latest version:
13
+ **Step 2: Install AI Agent Skills**
14
+
15
+ ```bash
16
+ npx skills add zjandrew/te-cli -g -y
17
+ ```
18
+
19
+ This installs 5 skill packages into your AI coding agent (Claude Code, Trae, Cursor, etc.), enabling the agent to understand and call te-cli commands.
20
+
21
+ To update:
12
22
 
13
23
  ```bash
14
24
  npm update -g @zhoujinandrew/te-cli
25
+ npx skills add zjandrew/te-cli -g -y
15
26
  ```
16
27
 
17
28
  ## Quick Start
@@ -90,6 +101,24 @@ te-cli auth logout
90
101
  | `--dry-run` | Preview request | false |
91
102
  | `--yes` | Skip confirmation | false |
92
103
 
104
+ ## Skills
105
+
106
+ 5 AI Agent skill packages are included in the `skills/` directory:
107
+
108
+ | Skill | Description |
109
+ |-------|-------------|
110
+ | `te-shared` | Authentication, configuration, global options |
111
+ | `te-meta` | Metadata: events, properties, entities, metrics, tables |
112
+ | `te-analysis` | Reports, dashboards, SQL queries, report data |
113
+ | `te-audience` | Tags, clusters, audience events/properties |
114
+ | `te-operation` | Tasks, flows, channels, space navigation |
115
+
116
+ Install them with:
117
+
118
+ ```bash
119
+ npx skills add zjandrew/te-cli -g -y
120
+ ```
121
+
93
122
  ## Development
94
123
 
95
124
  ```bash
@@ -98,12 +127,3 @@ cd te-cli
98
127
  npm install
99
128
  npx tsx src/index.ts --help
100
129
  ```
101
-
102
- ## Skills
103
-
104
- AI Agent skill documentation is in the `skills/` directory:
105
- - `te-shared` — Authentication, configuration, global options
106
- - `te-meta` — Metadata queries
107
- - `te-analysis` — Analysis and reporting
108
- - `te-audience` — Audience management
109
- - `te-operation` — Operations management
package/package.json CHANGED
@@ -1,13 +1,18 @@
1
1
  {
2
2
  "name": "@zhoujinandrew/te-cli",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "CLI tool for ThinkingEngine (TE) analytics platform",
5
5
  "type": "module",
6
6
  "bin": {
7
7
  "te-cli": "bin/te-cli.js"
8
8
  },
9
9
  "main": "dist/index.js",
10
- "files": ["bin/", "dist/", "skills/", "README.md"],
10
+ "files": [
11
+ "bin/",
12
+ "dist/",
13
+ "skills/",
14
+ "README.md"
15
+ ],
11
16
  "scripts": {
12
17
  "dev": "tsx src/index.ts",
13
18
  "build": "tsup src/index.ts --format esm --outDir dist",
@@ -19,7 +24,11 @@
19
24
  "type": "git",
20
25
  "url": "git+https://github.com/zjandrew/te-cli.git"
21
26
  },
22
- "keywords": ["thinkingengine", "analytics", "cli"],
27
+ "keywords": [
28
+ "thinkingengine",
29
+ "analytics",
30
+ "cli"
31
+ ],
23
32
  "author": "zjandrew",
24
33
  "license": "MIT",
25
34
  "engines": {