@thinkingai/ae-cli 6.1.8 → 6.1.9
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/README.md +219 -150
- package/README.zh.md +227 -159
- package/dist/{auth-B2BRSYMS.js → auth-56Z45UVR.js} +1 -1
- package/dist/{capability-6KPXYNO7.js → capability-2H6PAOA3.js} +1 -1
- package/dist/{capability-ROKYESAP.js → capability-YPOQX6PL.js} +1 -1
- package/dist/{chunk-JTKMDN4A.js → chunk-KTYR3U6D.js} +471 -31
- package/dist/{chunk-EBPXT3TN.js → chunk-LHVM35J4.js} +1 -1
- package/dist/{chunk-RRFK2W7I.js → chunk-PVBYJWC2.js} +1 -1
- package/dist/{config-DDYJPJX3.js → config-BSSALXEN.js} +1 -1
- package/dist/index.js +45 -15
- package/dist/{metadata-2ZFRMVOL.js → metadata-AN3YFZEV.js} +2 -2
- package/dist/{metadata-ABQCKU5P.js → metadata-JIQ77HFY.js} +2 -2
- package/dist/{raw-6HXFFHLV.js → raw-XJCAT3HX.js} +1 -1
- package/dist/{sync-BF3IWYFC.js → sync-QFP4XFN3.js} +1 -1
- package/dist/{te-agent-3GJ5H2XF.js → te-agent-JHUG6DVV.js} +27 -0
- package/dist/{te-analysis-PCGESPLW.js → te-analysis-IWQZO423.js} +2 -2
- package/dist/{te-analysis-DJ6KELTU.js → te-analysis-X222IRYR.js} +2 -2
- package/dist/{te-dataops-ROHUJOX5.js → te-dataops-PZQ5NQLY.js} +1 -1
- package/dist/{te-dataops-LXL5YULV.js → te-dataops-XTWVTJCA.js} +1 -1
- package/dist/{te-engage-2YDCA552.js → te-engage-E7F4HTXU.js} +2 -2
- package/dist/{te-engage-VW6NJZ5V.js → te-engage-NLZUPSBK.js} +2 -2
- package/dist/{te-experiment-OYK54B72.js → te-experiment-D32TB6ZB.js} +2 -2
- package/dist/{te-experiment-7JGJNDXO.js → te-experiment-N63WF7XA.js} +2 -2
- package/dist/{te-team-RRZI4WRI.js → te-team-BQ3SKSZV.js} +1 -1
- package/dist/{update-ER7VFU55.js → update-DKG6UXEM.js} +44 -22
- package/package.json +4 -3
- package/skills/ae-agent/SKILL.md +2 -2
- package/skills/ae-agent/references/create-automation.md +11 -0
- package/skills/ae-agent/references/update-automation.md +11 -3
- package/skills/ae-generate-tracking-code/SKILL.md +5 -5
- package/skills/ae-generate-tracking-code/references/autotrack-enum.md +4 -4
- package/skills/ae-generate-tracking-code/references/client-sdk-insert.md +1 -1
- package/skills/ae-generate-tracking-code/references/debug-script.md +2 -2
- package/skills/ae-generate-tracking-code/references/logbus-config.md +1 -1
- package/skills/ae-generate-tracking-code/references/restful-call.md +1 -1
- package/skills/ae-generate-tracking-code/references/sdk-index.md +36 -36
|
@@ -177,7 +177,7 @@ TDAnalytics.enableAutoTrack(context,
|
|
|
177
177
|
## Cocos2d-x / CocosCreator / LayaAir / Unreal
|
|
178
178
|
|
|
179
179
|
游戏引擎 SDK 的自动采集枚举值请直接读取对应 wiki 文档:
|
|
180
|
-
- `~/.ae-cli/wiki/
|
|
181
|
-
- `~/.ae-cli/wiki/
|
|
182
|
-
- `~/.ae-cli/wiki/
|
|
183
|
-
- `~/.ae-cli/wiki/
|
|
180
|
+
- `~/.ae-cli/wiki/raw/data-ingestion-guide/client-sdk/game-engine/cocos2d-x/cocos2d-x-advanced/automatic-event-tracking.md`
|
|
181
|
+
- `~/.ae-cli/wiki/raw/data-ingestion-guide/client-sdk/game-engine/cocoscreator/cocoscreator-advance/automatic-event-tracking.md`
|
|
182
|
+
- `~/.ae-cli/wiki/raw/客户端-sdk/游戏引擎/layaair/进阶指南/自动采集.md`
|
|
183
|
+
- `~/.ae-cli/wiki/raw/data-ingestion-guide/client-sdk/game-engine/unreal/unreal-advanced/automatic-event-tracking.md`
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
3. Choose integration method based on project characteristics:
|
|
17
17
|
- Has `package.json` + build tool → npm integration
|
|
18
18
|
- Plain HTML / no build tool → CDN method
|
|
19
|
-
4. Read `~/.ae-cli/wiki/
|
|
19
|
+
4. Read `~/.ae-cli/wiki/synthesis/sdk-selection.md` to confirm appType's npm package name and init signature
|
|
20
20
|
5. Read the corresponding cheatsheet (e.g. `js-sdk-cheatsheet.md`) for additional details
|
|
21
21
|
|
|
22
22
|
**⚠️ Prohibited**: Skipping Stage 0 and writing code directly, guessing integration methods, using unverified CDN URLs
|
|
@@ -96,7 +96,7 @@ Verification steps:
|
|
|
96
96
|
### Reference Doc Paths
|
|
97
97
|
|
|
98
98
|
All SDK debug/logging docs are located at:
|
|
99
|
-
- `~/.ae-cli/wiki/
|
|
100
|
-
- `~/.ae-cli/wiki/
|
|
99
|
+
- `~/.ae-cli/wiki/raw/data-ingestion-guide/client-sdk/<sdk>/<sdk>-advanced/debugging-and-logging.md`
|
|
100
|
+
- `~/.ae-cli/wiki/raw/data-ingestion-guide/server-sdk/<language>/<language>-advanced/debugging-and-logging.md`
|
|
101
101
|
|
|
102
102
|
For zh-CN only SDKs (Mini Program, LayaAir, etc.), refer to sdk-index.md for exact paths.
|
|
@@ -197,4 +197,4 @@ Note: LogBus v1 is deprecated. Please use LogBus2.
|
|
|
197
197
|
## Reference Docs
|
|
198
198
|
|
|
199
199
|
- Official docs: https://docs-v2.thinkingdata.cn/?version=latest&code=logbus2_installation&lan=en-US
|
|
200
|
-
- Wiki: `~/.ae-cli/wiki/
|
|
200
|
+
- Wiki: `~/.ae-cli/wiki/raw/data-ingestion-guide/data-import-tools/logbus2-user-guide.md` — LogBus2 official doc mirror
|
|
@@ -28,7 +28,7 @@ export async function track(event: string, props: Record<string, unknown>, disti
|
|
|
28
28
|
}
|
|
29
29
|
```
|
|
30
30
|
|
|
31
|
-
Other languages: provide isomorphic versions. Reference `~/.ae-cli/wiki/
|
|
31
|
+
Other languages: provide isomorphic versions. Reference `~/.ae-cli/wiki/synthesis/restful-api-reference.md`.
|
|
32
32
|
|
|
33
33
|
## Generation Steps
|
|
34
34
|
1. Select template by appType; confirm endpoint/auth rules from wiki
|
|
@@ -30,32 +30,32 @@
|
|
|
30
30
|
|
|
31
31
|
| SDK | Main Doc | Advanced | Auto-track | Preset Props |
|
|
32
32
|
|---|---|---|---|---|
|
|
33
|
-
| Android | `~/.ae-cli/wiki/
|
|
34
|
-
| iOS | `~/.ae-cli/wiki/
|
|
33
|
+
| Android | `~/.ae-cli/wiki/raw/data-ingestion-guide/client-sdk/android.md` | `~/.ae-cli/wiki/raw/data-ingestion-guide/client-sdk/android/android-advanced.md` | `~/.ae-cli/wiki/raw/data-ingestion-guide/client-sdk/android/android-advanced/automatic-event-tracking.md` | `~/.ae-cli/wiki/raw/data-ingestion-guide/client-sdk/android/android-advanced/preset-properties.md` |
|
|
34
|
+
| iOS | `~/.ae-cli/wiki/raw/data-ingestion-guide/client-sdk/ios.md` | `~/.ae-cli/wiki/raw/data-ingestion-guide/client-sdk/ios/ios-advanced.md` | `~/.ae-cli/wiki/raw/data-ingestion-guide/client-sdk/ios/ios-advanced/automatic-event-tracking.md` | `~/.ae-cli/wiki/raw/data-ingestion-guide/client-sdk/ios/ios-advanced/preset-properties.md` |
|
|
35
35
|
|
|
36
36
|
### Web / H5
|
|
37
37
|
|
|
38
38
|
| SDK | Main Doc | Advanced | Auto-track |
|
|
39
39
|
|---|---|---|---|
|
|
40
|
-
| JavaScript | `~/.ae-cli/wiki/
|
|
40
|
+
| JavaScript | `~/.ae-cli/wiki/raw/data-ingestion-guide/client-sdk/javascript.md` | `~/.ae-cli/wiki/raw/data-ingestion-guide/client-sdk/javascript/javascript-advanced.md` | `~/.ae-cli/wiki/raw/data-ingestion-guide/client-sdk/javascript/javascript-advanced/automatic-event-tracking.md` |
|
|
41
41
|
|
|
42
42
|
### Mini Program & Mini Game (zh-CN only)
|
|
43
43
|
|
|
44
44
|
| SDK | Main Doc | Advanced | Auto-track |
|
|
45
45
|
|---|---|---|---|
|
|
46
|
-
| 小程序小游戏 | `~/.ae-cli/wiki/
|
|
46
|
+
| 小程序小游戏 | `~/.ae-cli/wiki/raw/客户端-sdk/小程序小游戏.md` | `~/.ae-cli/wiki/raw/客户端-sdk/小程序小游戏/进阶指南.md` | `~/.ae-cli/wiki/raw/客户端-sdk/小程序小游戏/进阶指南/自动采集.md` |
|
|
47
47
|
|
|
48
48
|
### Game Engines
|
|
49
49
|
|
|
50
50
|
| SDK | Version | Main Doc | Advanced | Auto-track |
|
|
51
51
|
|---|---|---|---|---|
|
|
52
|
-
| Unity | v3.x | `~/.ae-cli/wiki/
|
|
53
|
-
| Unreal | v2.x | `~/.ae-cli/wiki/
|
|
54
|
-
| Cocos2d-x | v2.x | `~/.ae-cli/wiki/
|
|
55
|
-
| CocosCreator | v2.x | `~/.ae-cli/wiki/
|
|
56
|
-
| Cocos2d-Lua (zh-CN) | v2.x | `~/.ae-cli/wiki/
|
|
57
|
-
| LayaAir (zh-CN) | v2.x | `~/.ae-cli/wiki/
|
|
58
|
-
| Egret (zh-CN) | v2.x | `~/.ae-cli/wiki/
|
|
52
|
+
| Unity | v3.x | `~/.ae-cli/wiki/raw/data-ingestion-guide/client-sdk/game-engine/unity.md` | `~/.ae-cli/wiki/raw/data-ingestion-guide/client-sdk/game-engine/unity/unity-advanced.md` | `~/.ae-cli/wiki/raw/data-ingestion-guide/client-sdk/game-engine/unity/unity-advanced/automatic-event-tracking.md` |
|
|
53
|
+
| Unreal | v2.x | `~/.ae-cli/wiki/raw/data-ingestion-guide/client-sdk/game-engine/unreal.md` | `~/.ae-cli/wiki/raw/data-ingestion-guide/client-sdk/game-engine/unreal/unreal-advanced.md` | `~/.ae-cli/wiki/raw/data-ingestion-guide/client-sdk/game-engine/unreal/unreal-advanced/automatic-event-tracking.md` |
|
|
54
|
+
| Cocos2d-x | v2.x | `~/.ae-cli/wiki/raw/data-ingestion-guide/client-sdk/game-engine/cocos2d-x.md` | `~/.ae-cli/wiki/raw/data-ingestion-guide/client-sdk/game-engine/cocos2d-x/cocos2d-x-advanced.md` | `~/.ae-cli/wiki/raw/data-ingestion-guide/client-sdk/game-engine/cocos2d-x/cocos2d-x-advanced/automatic-event-tracking.md` |
|
|
55
|
+
| CocosCreator | v2.x | `~/.ae-cli/wiki/raw/data-ingestion-guide/client-sdk/game-engine/cocoscreator.md` | `~/.ae-cli/wiki/raw/data-ingestion-guide/client-sdk/game-engine/cocoscreator/cocoscreator-advance.md` | `~/.ae-cli/wiki/raw/data-ingestion-guide/client-sdk/game-engine/cocoscreator/cocoscreator-advance/automatic-event-tracking.md` |
|
|
56
|
+
| Cocos2d-Lua (zh-CN) | v2.x | `~/.ae-cli/wiki/raw/客户端-sdk/游戏引擎/cocos2d-lua.md` | `~/.ae-cli/wiki/raw/客户端-sdk/游戏引擎/cocos2d-lua/进阶指南.md` | `~/.ae-cli/wiki/raw/客户端-sdk/游戏引擎/cocos2d-lua/进阶指南/自动采集.md` |
|
|
57
|
+
| LayaAir (zh-CN) | v2.x | `~/.ae-cli/wiki/raw/客户端-sdk/游戏引擎/layaair.md` | `~/.ae-cli/wiki/raw/客户端-sdk/游戏引擎/layaair/进阶指南.md` | `~/.ae-cli/wiki/raw/客户端-sdk/游戏引擎/layaair/进阶指南/自动采集.md` |
|
|
58
|
+
| Egret (zh-CN) | v2.x | `~/.ae-cli/wiki/raw/客户端-sdk/游戏引擎/egret.md` | `~/.ae-cli/wiki/raw/客户端-sdk/游戏引擎/egret/进阶指南.md` | `~/.ae-cli/wiki/raw/客户端-sdk/游戏引擎/egret/进阶指南/自动采集.md` |
|
|
59
59
|
|
|
60
60
|
**Note**: Unity SDK upgraded from v2.x to v3.x with significant API changes:
|
|
61
61
|
- v2.x API: `ThinkingAnalyticsAPI.Track()`
|
|
@@ -66,10 +66,10 @@
|
|
|
66
66
|
|
|
67
67
|
| SDK | Main Doc | Advanced |
|
|
68
68
|
|---|---|---|
|
|
69
|
-
| React Native | `~/.ae-cli/wiki/
|
|
70
|
-
| Flutter | `~/.ae-cli/wiki/
|
|
71
|
-
| uni-app | `~/.ae-cli/wiki/
|
|
72
|
-
| OpenHarmony (zh-CN) | `~/.ae-cli/wiki/
|
|
69
|
+
| React Native | `~/.ae-cli/wiki/raw/data-ingestion-guide/client-sdk/cross-platform/react-native.md` | `~/.ae-cli/wiki/raw/data-ingestion-guide/client-sdk/cross-platform/react-native/reactnative-advanced.md` |
|
|
70
|
+
| Flutter | `~/.ae-cli/wiki/raw/data-ingestion-guide/client-sdk/cross-platform/flutter.md` | `~/.ae-cli/wiki/raw/data-ingestion-guide/client-sdk/cross-platform/flutter/flutter-advanced.md` |
|
|
71
|
+
| uni-app | `~/.ae-cli/wiki/raw/data-ingestion-guide/client-sdk/cross-platform/uni-app.md` | `~/.ae-cli/wiki/raw/data-ingestion-guide/client-sdk/cross-platform/uni-app/uniapp-advanced.md` |
|
|
72
|
+
| OpenHarmony (zh-CN) | `~/.ae-cli/wiki/raw/客户端-sdk/openharmony.md` | `~/.ae-cli/wiki/raw/客户端-sdk/openharmony/进阶指南.md` |
|
|
73
73
|
|
|
74
74
|
---
|
|
75
75
|
|
|
@@ -77,16 +77,16 @@
|
|
|
77
77
|
|
|
78
78
|
| Language | Main Doc | Advanced |
|
|
79
79
|
|---|---|---|
|
|
80
|
-
| Java | `~/.ae-cli/wiki/
|
|
81
|
-
| Python | `~/.ae-cli/wiki/
|
|
82
|
-
| Golang | `~/.ae-cli/wiki/
|
|
83
|
-
| Node.js | `~/.ae-cli/wiki/
|
|
84
|
-
| PHP | `~/.ae-cli/wiki/
|
|
85
|
-
| C# | `~/.ae-cli/wiki/
|
|
86
|
-
| C++ | `~/.ae-cli/wiki/
|
|
87
|
-
| Ruby | `~/.ae-cli/wiki/
|
|
88
|
-
| Lua | `~/.ae-cli/wiki/
|
|
89
|
-
| Erlang | `~/.ae-cli/wiki/
|
|
80
|
+
| Java | `~/.ae-cli/wiki/raw/data-ingestion-guide/server-sdk/java.md` | `~/.ae-cli/wiki/raw/data-ingestion-guide/server-sdk/java/java-advanced.md` |
|
|
81
|
+
| Python | `~/.ae-cli/wiki/raw/data-ingestion-guide/server-sdk/python.md` | `~/.ae-cli/wiki/raw/data-ingestion-guide/server-sdk/python/python-advanced.md` |
|
|
82
|
+
| Golang | `~/.ae-cli/wiki/raw/data-ingestion-guide/server-sdk/golang.md` | `~/.ae-cli/wiki/raw/data-ingestion-guide/server-sdk/golang/golang-advanced.md` |
|
|
83
|
+
| Node.js | `~/.ae-cli/wiki/raw/data-ingestion-guide/server-sdk/nodejs.md` | `~/.ae-cli/wiki/raw/data-ingestion-guide/server-sdk/nodejs/nodejs-advanced.md` |
|
|
84
|
+
| PHP | `~/.ae-cli/wiki/raw/data-ingestion-guide/server-sdk/php.md` | `~/.ae-cli/wiki/raw/data-ingestion-guide/server-sdk/php/php-advanced.md` |
|
|
85
|
+
| C# | `~/.ae-cli/wiki/raw/data-ingestion-guide/server-sdk/c-V2W3wv.md` | `~/.ae-cli/wiki/raw/data-ingestion-guide/server-sdk/c/c-advanced-IauKwI.md` |
|
|
86
|
+
| C++ | `~/.ae-cli/wiki/raw/data-ingestion-guide/server-sdk/c-Zf9Jwl.md` | `~/.ae-cli/wiki/raw/data-ingestion-guide/server-sdk/c/c-advanced-YAilwk.md` |
|
|
87
|
+
| Ruby | `~/.ae-cli/wiki/raw/data-ingestion-guide/server-sdk/ruby.md` | `~/.ae-cli/wiki/raw/data-ingestion-guide/server-sdk/ruby/ruby-advanced.md` |
|
|
88
|
+
| Lua | `~/.ae-cli/wiki/raw/data-ingestion-guide/server-sdk/lua.md` | `~/.ae-cli/wiki/raw/data-ingestion-guide/server-sdk/lua/lua-advanced.md` |
|
|
89
|
+
| Erlang | `~/.ae-cli/wiki/raw/data-ingestion-guide/server-sdk/erlang.md` | `~/.ae-cli/wiki/raw/data-ingestion-guide/server-sdk/erlang/erlang-advanced.md` |
|
|
90
90
|
|
|
91
91
|
---
|
|
92
92
|
|
|
@@ -94,9 +94,9 @@
|
|
|
94
94
|
|
|
95
95
|
| Tool | Doc Path | Description |
|
|
96
96
|
|---|---|---|
|
|
97
|
-
| **LogBus2** | `~/.ae-cli/wiki/
|
|
98
|
-
| DataX Writer | `~/.ae-cli/wiki/
|
|
99
|
-
| RESTful API | `~/.ae-cli/wiki/
|
|
97
|
+
| **LogBus2** | `~/.ae-cli/wiki/raw/data-ingestion-guide/data-import-tools/logbus2-user-guide.md` | Recommended, paired with LoggerConsumer |
|
|
98
|
+
| DataX Writer | `~/.ae-cli/wiki/raw/data-ingestion-guide/data-import-tools/ta-datax-writer-plugin-user-guide.md` | Database batch import |
|
|
99
|
+
| RESTful API | `~/.ae-cli/wiki/raw/data-ingestion-guide/restful-api-user-guide.md` | Direct HTTP upload |
|
|
100
100
|
|
|
101
101
|
**Note: LogBus v1 is deprecated. Use LogBus2 for all scenarios.**
|
|
102
102
|
|
|
@@ -109,9 +109,9 @@ Official docs:
|
|
|
109
109
|
|
|
110
110
|
| Doc | Path |
|
|
111
111
|
|---|---|
|
|
112
|
-
| Preset Properties & System Fields | `~/.ae-cli/wiki/
|
|
113
|
-
| User Identification Rules | `~/.ae-cli/wiki/
|
|
114
|
-
| Data Rules | `~/.ae-cli/wiki/
|
|
112
|
+
| Preset Properties & System Fields | `~/.ae-cli/wiki/raw/preparations-before-data-ingestion/preset-properties-and-system-fields.md` |
|
|
113
|
+
| User Identification Rules | `~/.ae-cli/wiki/raw/preparations-before-data-ingestion/user-identification-rules.md` |
|
|
114
|
+
| Data Rules | `~/.ae-cli/wiki/raw/preparations-before-data-ingestion/data-rules.md` |
|
|
115
115
|
|
|
116
116
|
---
|
|
117
117
|
|
|
@@ -121,8 +121,8 @@ LLM-synthesized overview docs from multiple raw sources:
|
|
|
121
121
|
|
|
122
122
|
| Synthesis Doc | Path | Description |
|
|
123
123
|
|---|---|---|
|
|
124
|
-
| Server SDK Overview | `~/.ae-cli/wiki/
|
|
125
|
-
| SDK Selection Guide | `~/.ae-cli/wiki/
|
|
126
|
-
| RESTful API Reference | `~/.ae-cli/wiki/
|
|
127
|
-
| JS SDK Cheatsheet | `~/.ae-cli/wiki/
|
|
128
|
-
| Batch Ingestion Comparison | `~/.ae-cli/wiki/
|
|
124
|
+
| Server SDK Overview | `~/.ae-cli/wiki/synthesis/server-sdk-overview.md` | Unified architecture of all server SDKs |
|
|
125
|
+
| SDK Selection Guide | `~/.ae-cli/wiki/synthesis/sdk-selection.md` | How to choose the right SDK |
|
|
126
|
+
| RESTful API Reference | `~/.ae-cli/wiki/synthesis/restful-api-reference.md` | RESTful API summary |
|
|
127
|
+
| JS SDK Cheatsheet | `~/.ae-cli/wiki/synthesis/js-sdk-cheatsheet.md` | JavaScript SDK quick reference |
|
|
128
|
+
| Batch Ingestion Comparison | `~/.ae-cli/wiki/synthesis/batch-ingest-comparison.md` | LogBus / DataX / Kafka comparison |
|