@thinkingai/ae-cli 6.0.58 → 6.0.61
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 +14 -6
- package/README.zh.md +16 -6
- package/bin/ai-monitor.js +2 -0
- package/bin/runtime-capabilities.json +1 -1
- package/dist/ai-monitor-NUKSJPLE.js +33 -0
- package/dist/ai-monitor.js +136 -0
- package/dist/{auth-A5OO4VS4.js → auth-MVAEBGBP.js} +24 -15
- package/dist/{automation-FD2QZUP6.js → automation-6L6IAYRK.js} +6 -7
- package/dist/{capability-SKI4GHF4.js → capability-74N7AN5X.js} +35 -38
- package/dist/{chunk-OAWPT7VP.js → chunk-2I5SZ5DS.js} +2 -2
- package/dist/{chunk-QWSA3EOD.js → chunk-7WBCSJL6.js} +23 -9
- package/dist/{chunk-4PSTYEG5.js → chunk-AMURHMS3.js} +11 -7
- package/dist/{chunk-KPQY44JQ.js → chunk-AWW2T2WL.js} +3 -0
- package/dist/chunk-BQFLABJQ.js +186 -0
- package/dist/{chunk-E25OSZLJ.js → chunk-COOMXFUG.js} +3 -3
- package/dist/chunk-EFGUBGA6.js +64 -0
- package/dist/{chunk-HQCY3QCA.js → chunk-H35VDOAE.js} +18 -13
- package/dist/{chunk-VDICGXCY.js → chunk-HIMOBNEY.js} +2 -2
- package/dist/{chunk-JEUXDY3B.js → chunk-HQED4YB4.js} +1 -1
- package/dist/chunk-HRFYYEXR.js +1285 -0
- package/dist/{chunk-UYJMEHAF.js → chunk-JZY6WWAP.js} +22 -21
- package/dist/{chunk-2F64AZYH.js → chunk-KA5WKR5P.js} +2 -2
- package/dist/{chunk-YVG6QD3V.js → chunk-LFJ7N36I.js} +103 -8
- package/dist/{chunk-EEARZNHE.js → chunk-LPKIMGIU.js} +89 -37
- package/dist/chunk-NNK3JBH4.js +60 -0
- package/dist/{chunk-WMDO53YK.js → chunk-OTZ4JQDU.js} +2 -2
- package/dist/{chunk-SOSFRU3O.js → chunk-PLNS5J33.js} +58 -26
- package/dist/chunk-PUSFEC6B.js +29 -0
- package/dist/{chunk-Z3Q2AEIN.js → chunk-R2SVAO4G.js} +14 -2
- package/dist/{chunk-K2Z7QHDR.js → chunk-RB26WNLM.js} +52 -15
- package/dist/chunk-SVNED423.js +556 -0
- package/dist/{chunk-AWVZTN2B.js → chunk-THTROEGD.js} +1 -1
- package/dist/{chunk-QVRIDN42.js → chunk-UCMO4LKL.js} +2 -2
- package/dist/{chunk-JSBLCLFE.js → chunk-VLOGOM7N.js} +13 -7
- package/dist/{chunk-GBSACKFB.js → chunk-XPARQSYS.js} +528 -299
- package/dist/{chunk-72NJKS7O.js → chunk-XZDKAR4N.js} +4 -4
- package/dist/{community-report-client-TJVCLZ3K.js → community-report-client-ULRNXLQV.js} +1 -1
- package/dist/{compat-check-WFEKVLTH.js → compat-check-W4XC27RG.js} +5 -4
- package/dist/{config-U4I7X25P.js → config-264GB6C7.js} +28 -14
- package/dist/{context-CDB5H5PD.js → context-SOQDFZIB.js} +8 -6
- package/dist/{data-integration-QE37EQ3A.js → data-integration-UNJ7EPW2.js} +6 -6
- package/dist/{evaluation-LR4YDYWL.js → evaluation-Q3AIGFOG.js} +14 -159
- package/dist/index.js +98 -589
- package/dist/{local-data-upload-client-KCMG6J62.js → local-data-upload-client-YTWMAAGE.js} +1 -1
- package/dist/{memory-SNFR5M23.js → memory-ZLTTULZK.js} +9 -10
- package/dist/{metadata-6QM6EED5.js → metadata-EN2IWCDI.js} +11 -10
- package/dist/{model-KEVCEXWD.js → model-NAKQWK4W.js} +4 -5
- package/dist/{personal-semantic-preference-7VXQPP2N.js → personal-semantic-preference-UGN67KTN.js} +46 -15
- package/dist/{project-semantic-PSEPYH2L.js → project-semantic-5OP3YPZD.js} +19 -16
- package/dist/{sync-22ACDK5Z.js → sync-LDJQZRQH.js} +9 -9
- package/dist/{te-agent-BJ36B4QI.js → te-agent-WNNAD4AJ.js} +303 -17
- package/dist/{te-analysis-WQ6D6YG4.js → te-analysis-KIMH6AGU.js} +399 -205
- package/dist/{te-community-VRWMFGI6.js → te-community-P7NNBVCS.js} +17 -15
- package/dist/{te-dataops-YTLFTTW7.js → te-dataops-ZRKSG4R7.js} +13 -11
- package/dist/{te-engage-V2QW7TIC.js → te-engage-PVBVNRSU.js} +13 -12
- package/dist/{te-kb-4AQLISDR.js → te-kb-W7PRC7QN.js} +80 -20
- package/dist/{te-system-CYWSK3UN.js → te-system-F4ZU2HRQ.js} +6 -7
- package/dist/{te-team-6ELNGBWT.js → te-team-5ONMRGKF.js} +9 -8
- package/dist/{things-HFWLGCUH.js → things-PFENSIF4.js} +9 -8
- package/dist/{update-3CRVVHV5.js → update-EUZ4GNND.js} +8 -6
- package/dist/{workspace-2CKQX2XL.js → workspace-Z7L33OBQ.js} +6 -7
- package/package.json +12 -7
- package/skills/ae-agent/SKILL.md +19 -5
- package/skills/ae-agent/references/a2a.md +103 -0
- package/skills/ae-agent/references/command_index.md +11 -0
- package/skills/ae-ai-monitor/SKILL.md +179 -0
- package/skills/ae-ai-monitor/references/read-commands.md +866 -0
- package/skills/ae-analysis/SKILL.md +43 -25
- package/skills/ae-analysis/references/adhoc_export.md +3 -1
- package/skills/ae-analysis/references/ai_models.md +1 -0
- package/skills/ae-analysis/references/analysis_data_retrieval.md +1 -1
- package/skills/ae-analysis/references/analysis_gateway_assets.md +2 -0
- package/skills/ae-analysis/references/asset_authentication_export.md +1 -1
- package/skills/ae-analysis/references/asset_authentication_update.md +6 -2
- package/skills/ae-analysis/references/asset_search.md +1 -1
- package/skills/ae-analysis/references/bad_case_begin.md +12 -0
- package/skills/ae-analysis/references/bad_case_get.md +12 -0
- package/skills/ae-analysis/references/bad_case_history.md +12 -0
- package/skills/ae-analysis/references/bad_case_list.md +12 -0
- package/skills/ae-analysis/references/bad_case_review.md +51 -0
- package/skills/ae-analysis/references/bad_case_run.md +12 -0
- package/skills/ae-analysis/references/bad_case_submit.md +12 -0
- package/skills/ae-analysis/references/bad_case_submit_to_page.md +12 -0
- package/skills/ae-analysis/references/bad_case_sync_evaluation.md +11 -0
- package/skills/ae-analysis/references/bi_panel_list.md +1 -1
- package/skills/ae-analysis/references/bi_panel_share.md +3 -1
- package/skills/ae-analysis/references/catalog_list.md +2 -0
- package/skills/ae-analysis/references/command_index.md +44 -35
- package/skills/ae-analysis/references/dashboard_daily_report_update.md +2 -0
- package/skills/ae-analysis/references/dashboard_handover.md +3 -1
- package/skills/ae-analysis/references/dashboard_list.md +3 -3
- package/skills/ae-analysis/references/dashboard_report_data_export.md +1 -1
- package/skills/ae-analysis/references/dashboard_share.md +3 -1
- package/skills/ae-analysis/references/dashboard_update.md +3 -2
- package/skills/ae-analysis/references/filter_value_list.md +2 -0
- package/skills/ae-analysis/references/folder_share.md +8 -2
- package/skills/ae-analysis/references/governance_recommendation_export.md +2 -2
- package/skills/ae-analysis/references/governance_recommendation_run_update.md +3 -1
- package/skills/ae-analysis/references/personal_semantic_preference_add.md +9 -1
- package/skills/ae-analysis/references/personal_semantic_preference_delete.md +2 -0
- package/skills/ae-analysis/references/personal_semantic_preference_get.md +2 -0
- package/skills/ae-analysis/references/personal_semantic_preference_list.md +10 -2
- package/skills/ae-analysis/references/personal_semantic_preference_update.md +8 -0
- package/skills/ae-analysis/references/project_data_power_upsert.md +3 -1
- package/skills/ae-analysis/references/project_mark_time_create.md +2 -0
- package/skills/ae-analysis/references/project_mark_time_update.md +2 -0
- package/skills/ae-analysis/references/project_member_add.md +3 -1
- package/skills/ae-analysis/references/project_member_batch_update.md +3 -1
- package/skills/ae-analysis/references/project_member_handover_run.md +3 -1
- package/skills/ae-analysis/references/project_member_update.md +3 -1
- package/skills/ae-analysis/references/project_owner_update.md +8 -2
- package/skills/ae-analysis/references/project_role_upsert.md +5 -3
- package/skills/ae-analysis/references/project_semantic_knowledge_wiki.md +16 -1
- package/skills/ae-analysis/references/project_semantic_knowledge_wiki_plan_schema.md +14 -1
- package/skills/ae-analysis/references/project_space_share.md +8 -2
- package/skills/ae-analysis/references/property_get.md +2 -0
- package/skills/ae-analysis/references/public_link_list.md +3 -1
- package/skills/ae-analysis/references/query_cancel.md +4 -1
- package/skills/ae-analysis/references/report_data_run.md +1 -1
- package/skills/ae-analysis/references/report_list.md +3 -3
- package/skills/ae-analysis/references/scenario_append.md +2 -2
- package/skills/ae-analysis/references/scenario_collect.md +15 -4
- package/skills/ae-analysis/references/scenario_evaluation.md +17 -1
- package/skills/ae-analysis/references/scenario_list.md +7 -7
- package/skills/ae-analysis/references/system_oauth2_update.md +3 -1
- package/skills/ae-analysis/references/system_third_party_login_upsert.md +4 -2
- package/skills/ae-analysis/references/user_tag_create.md +4 -1
- package/skills/ae-analysis/references/user_tag_get.md +2 -0
- package/skills/ae-analysis/references/user_tag_models.md +8 -2
- package/skills/ae-analysis/references/user_tag_update.md +5 -2
- package/skills/ae-analysis/references/virtual_property_create.md +12 -1
- package/skills/ae-analysis/references/virtual_property_sql_rule_update.md +10 -0
- package/skills/ae-analysis/scripts/project-semantic-knowledge-wiki/build-project-semantic-wiki.mjs +55 -13
- package/skills/ae-analysis/scripts/project-semantic-knowledge-wiki/company-kb.mjs +2 -2
- package/skills/ae-analysis/scripts/project-semantic-knowledge-wiki/default-compile-rules.md +2 -2
- package/skills/ae-analysis/scripts/project-semantic-knowledge-wiki/default-compile-schema.md +7 -1
- package/skills/ae-analysis/scripts/project-semantic-knowledge-wiki/wait-compile-run.mjs +79 -0
- package/skills/ae-automation/SKILL.md +4 -2
- package/skills/ae-capability/SKILL.md +16 -8
- package/skills/ae-community/SKILL.md +1 -0
- package/skills/ae-dataops/SKILL.md +1 -0
- package/skills/ae-engage/SKILL.md +1 -0
- package/skills/ae-evaluation/SKILL.md +17 -2
- package/skills/ae-generate-tracking-plan/SKILL.md +5 -0
- package/skills/ae-kb/SKILL.md +8 -4
- package/skills/ae-kb/references/analysis-workflow.md +11 -2
- package/skills/ae-kb/references/publication.md +45 -0
- package/skills/ae-kb/references/query-workflow.md +3 -1
- package/skills/ae-kb/references/versions.md +1 -1
- package/skills/ae-metadata/SKILL.md +1 -0
- package/skills/ae-migrate-tracking-code/SKILL.md +2 -1
- package/skills/ae-team/SKILL.md +1 -1
- package/skills/ae-tracking-matrix/SKILL.md +170 -0
- package/skills/ae-tracking-matrix/assets//345/237/213/347/202/271/346/250/241/347/211/210.xlsx +0 -0
- package/skills/ae-tracking-matrix/i18n.yaml +12 -0
- package/skills/ae-tracking-matrix/references/ae-capabilities.md +93 -0
- package/skills/ae-tracking-matrix/references/business-semantic-checks.md +30 -0
- package/skills/ae-tracking-matrix/references/categories/acquaintance_social_tracking_plan_template.md +256 -0
- package/skills/ae-tracking-matrix/references/categories/blockchain_game_tracking_plan_template.md +213 -0
- package/skills/ae-tracking-matrix/references/categories/card_game_tracking_plan_template.md +407 -0
- package/skills/ae-tracking-matrix/references/categories/casual_game_tracking_plan_template.md +218 -0
- package/skills/ae-tracking-matrix/references/categories/casual_music.md +112 -0
- package/skills/ae-tracking-matrix/references/categories/chess_cards_tracking_plan_template.md +301 -0
- package/skills/ae-tracking-matrix/references/categories/ecommerce_tracking_plan_template.md +356 -0
- package/skills/ae-tracking-matrix/references/categories/fishing.md +775 -0
- package/skills/ae-tracking-matrix/references/categories/game_basic_module_tracking_plan.md +89 -0
- package/skills/ae-tracking-matrix/references/categories/idle_card.md +27 -0
- package/skills/ae-tracking-matrix/references/categories/idle_game_tracking_plan_template.md +415 -0
- package/skills/ae-tracking-matrix/references/categories/interactive_video.md +133 -0
- package/skills/ae-tracking-matrix/references/categories/merge.md +639 -0
- package/skills/ae-tracking-matrix/references/categories/mmo_mobile_tracking_plan_template.md +406 -0
- package/skills/ae-tracking-matrix/references/categories/mmo_web.md +230 -0
- package/skills/ae-tracking-matrix/references/categories/music.md +137 -0
- package/skills/ae-tracking-matrix/references/categories/online_education_tracking_plan_template.md +414 -0
- package/skills/ae-tracking-matrix/references/categories/qipai_mj.md +199 -0
- package/skills/ae-tracking-matrix/references/categories/reading_tracking_plan_template.md +158 -0
- package/skills/ae-tracking-matrix/references/categories/roguelike_tracking_plan_template.md +546 -0
- package/skills/ae-tracking-matrix/references/categories/rpg.md +195 -0
- package/skills/ae-tracking-matrix/references/categories/short_drama_tracking_plan_template.md +115 -0
- package/skills/ae-tracking-matrix/references/categories/simulation_business_tracking_plan_template.md +151 -0
- package/skills/ae-tracking-matrix/references/categories/slg_tracking_plan_template.md +260 -0
- package/skills/ae-tracking-matrix/references/categories/slots_tracking_plan_template.md +232 -0
- package/skills/ae-tracking-matrix/references/categories/stranger_social_tracking_plan_template.md +359 -0
- package/skills/ae-tracking-matrix/references/categories/tower_defense.md +365 -0
- package/skills/ae-tracking-matrix/references/categories/video_editor_tracking_plan_template.md +211 -0
- package/skills/ae-tracking-matrix/references/categories/wechat_minigame.md +132 -0
- package/skills/ae-tracking-matrix/references/category-registry.md +77 -0
- package/skills/ae-tracking-matrix/references/data-verification/diagnosis_kb.md +230 -0
- package/skills/ae-tracking-matrix/references/data-verification/sql_checks.md +406 -0
- package/skills/ae-tracking-matrix/references/data-verification/tracking_plan_comparison.md +128 -0
- package/skills/ae-tracking-matrix/references/eval-cases.md +74 -0
- package/skills/ae-tracking-matrix/references/naming-dict.md +238 -0
- package/skills/ae-tracking-matrix/references/optimization-checklist.md +85 -0
- package/skills/ae-tracking-matrix/references/plan-generation/export-schema.md +142 -0
- package/skills/ae-tracking-matrix/references/plan-generation/module-baseline.md +47 -0
- package/skills/ae-tracking-matrix/references/plan-generation/reference.md +794 -0
- package/skills/ae-tracking-matrix/references/plan-generation/template-catalog.md +94 -0
- package/skills/ae-tracking-matrix/references/scene-routing.md +80 -0
- package/skills/ae-tracking-matrix/references/sdk/client-sdk/android.md +3787 -0
- package/skills/ae-tracking-matrix/references/sdk/client-sdk/c.md +827 -0
- package/skills/ae-tracking-matrix/references/sdk/client-sdk/cocos2d-lua.md +655 -0
- package/skills/ae-tracking-matrix/references/sdk/client-sdk/cocos2d-x.md +953 -0
- package/skills/ae-tracking-matrix/references/sdk/client-sdk/cocoscreator.md +1128 -0
- package/skills/ae-tracking-matrix/references/sdk/client-sdk/corona.md +714 -0
- package/skills/ae-tracking-matrix/references/sdk/client-sdk/egret.md +1268 -0
- package/skills/ae-tracking-matrix/references/sdk/client-sdk/flutter.md +776 -0
- package/skills/ae-tracking-matrix/references/sdk/client-sdk/h5-and-app-sdk-integration.md +182 -0
- package/skills/ae-tracking-matrix/references/sdk/client-sdk/ios.md +2755 -0
- package/skills/ae-tracking-matrix/references/sdk/client-sdk/javascript.md +1182 -0
- package/skills/ae-tracking-matrix/references/sdk/client-sdk/layaair.md +1300 -0
- package/skills/ae-tracking-matrix/references/sdk/client-sdk/macos.md +1369 -0
- package/skills/ae-tracking-matrix/references/sdk/client-sdk/mini-program-mini-game.md +1692 -0
- package/skills/ae-tracking-matrix/references/sdk/client-sdk/openharmony.md +902 -0
- package/skills/ae-tracking-matrix/references/sdk/client-sdk/react-native.md +763 -0
- package/skills/ae-tracking-matrix/references/sdk/client-sdk/uni-app.md +1107 -0
- package/skills/ae-tracking-matrix/references/sdk/client-sdk/unity.md +1532 -0
- package/skills/ae-tracking-matrix/references/sdk/client-sdk/unreal.md +845 -0
- package/skills/ae-tracking-matrix/references/sdk/faq/android_sdk_faq.md +228 -0
- package/skills/ae-tracking-matrix/references/sdk/faq/ios_sdk_faq.md +149 -0
- package/skills/ae-tracking-matrix/references/sdk/faq/java_sdk_faq.md +407 -0
- package/skills/ae-tracking-matrix/references/sdk/faq/javascript_sdk_faq.md +163 -0
- package/skills/ae-tracking-matrix/references/sdk/faq/minigame_sdk_faq.md +149 -0
- package/skills/ae-tracking-matrix/references/sdk/faq/miniprogram_sdk_faq.md +153 -0
- package/skills/ae-tracking-matrix/references/sdk/faq/python_sdk_faq.md +232 -0
- package/skills/ae-tracking-matrix/references/sdk/faq/sdk_log_guide.md +314 -0
- package/skills/ae-tracking-matrix/references/sdk/faq/sdk_usage_notes.md +117 -0
- package/skills/ae-tracking-matrix/references/sdk/faq/unity_sdk_faq.md +148 -0
- package/skills/ae-tracking-matrix/references/sdk/integration-tools/filebeat-logstash-guide.md +645 -0
- package/skills/ae-tracking-matrix/references/sdk/integration-tools/logbus2_guide.md +307 -0
- package/skills/ae-tracking-matrix/references/sdk/integration-tools/logbus2_parser_plugin.md +347 -0
- package/skills/ae-tracking-matrix/references/sdk/integration-tools/restful_api_notes.md +72 -0
- package/skills/ae-tracking-matrix/references/sdk/integration-tools/ta-datax-writer-guide.md +264 -0
- package/skills/ae-tracking-matrix/references/sdk/server-sdk/c.md +566 -0
- package/skills/ae-tracking-matrix/references/sdk/server-sdk/erlang.md +409 -0
- package/skills/ae-tracking-matrix/references/sdk/server-sdk/golang.md +446 -0
- package/skills/ae-tracking-matrix/references/sdk/server-sdk/java.md +557 -0
- package/skills/ae-tracking-matrix/references/sdk/server-sdk/lua.md +457 -0
- package/skills/ae-tracking-matrix/references/sdk/server-sdk/nodejs.md +490 -0
- package/skills/ae-tracking-matrix/references/sdk/server-sdk/php.md +523 -0
- package/skills/ae-tracking-matrix/references/sdk/server-sdk/python.md +484 -0
- package/skills/ae-tracking-matrix/references/sdk/server-sdk/ruby.md +442 -0
- package/skills/ae-tracking-matrix/references/sdk/te-data-rules/data-rules.md +391 -0
- package/skills/ae-tracking-matrix/references/sdk/te-data-rules/first-event-validation.md +91 -0
- package/skills/ae-tracking-matrix/references/sdk/te-data-rules/preset-properties-system-fields.md +635 -0
- package/skills/ae-tracking-matrix/references/sdk/te-data-rules/updatable-events.md +113 -0
- package/skills/ae-tracking-matrix/references/sdk/te-data-rules/user-identification-rules.md +466 -0
- package/skills/ae-tracking-matrix/references/standard-base/README.md +22 -0
- package/skills/ae-tracking-matrix/references/standard-base/basic_event_data.md +174 -0
- package/skills/ae-tracking-matrix/references/standard-base/common_event_properties.md +20 -0
- package/skills/ae-tracking-matrix/references/standard-base/common_event_properties_setup.md +7 -0
- package/skills/ae-tracking-matrix/references/standard-base/data_type_design_principles.md +14 -0
- package/skills/ae-tracking-matrix/references/standard-base/gameplay_event_data.md +370 -0
- package/skills/ae-tracking-matrix/references/standard-base/id_system_faq.md +47 -0
- package/skills/ae-tracking-matrix/references/standard-base/integration_must_know.md +37 -0
- package/skills/ae-tracking-matrix/references/standard-base/multi_platform_integration_notes.md +27 -0
- package/skills/ae-tracking-matrix/references/standard-base/multi_user_id_system_recommendations.md +23 -0
- package/skills/ae-tracking-matrix/references/standard-base/tracking_notes.md +14 -0
- package/skills/ae-tracking-matrix/references/standard-base/user_data.md +46 -0
- package/skills/ae-tracking-matrix/references/standard-base/user_id_system.md +13 -0
- package/skills/ae-tracking-matrix/references/system-fields.md +297 -0
- package/skills/ae-tracking-matrix/references/te-field-translations.md +1791 -0
- package/skills/ae-tracking-matrix/references/workflows/data-verification.md +232 -0
- package/skills/ae-tracking-matrix/references/workflows/feasibility-analysis.md +829 -0
- package/skills/ae-tracking-matrix/references/workflows/integration-qna.md +355 -0
- package/skills/ae-tracking-matrix/references/workflows/plan-generation.md +283 -0
- package/skills/ae-tracking-matrix/references/workflows/plan-lint.md +168 -0
- package/skills/ae-tracking-matrix/references/workflows/plan-review-optimize.md +205 -0
- package/skills/ae-tracking-matrix/references/workflows/prd-to-suggestions.md +75 -0
- package/skills/ae-tracking-matrix/references/workflows/troubleshooting.md +36 -0
- package/skills/ae-tracking-matrix/references/workflows/validated-upload.md +107 -0
- package/skills/ae-tracking-matrix/scripts/build_template_catalog.py +114 -0
- package/skills/ae-tracking-matrix/scripts/export_tracking_plan.py +53 -0
- package/skills/ae-tracking-matrix/scripts/finalize_plan.py +166 -0
- package/skills/ae-tracking-matrix/scripts/lint_tracking_plan.py +674 -0
- package/skills/ae-tracking-matrix/scripts/plan_contract.py +200 -0
- package/skills/ae-tracking-matrix/scripts/plan_types.py +60 -0
- package/skills/ae-tracking-matrix/scripts/prepare_delivery.py +169 -0
- package/skills/ae-tracking-matrix/scripts/sync_plan.py +296 -0
- package/skills/ae-tracking-matrix/scripts/upload_plan.py +340 -0
- package/dist/chunk-AMBFK2K3.js +0 -28
- package/dist/chunk-Y74WTIKJ.js +0 -10
|
@@ -0,0 +1,228 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: "Android SDK FAQ"
|
|
3
|
+
code: "android_sdk_faq"
|
|
4
|
+
source: "Feishu MCP"
|
|
5
|
+
doc_id: "wikcnVrL8nNo5bwytvIVde3MT8e"
|
|
6
|
+
fetched_at: "2026-04-20T17:29:37Z"
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# Integrate SDK
|
|
10
|
+
|
|
11
|
+
## Integration Methods
|
|
12
|
+
|
|
13
|
+
- Android SDK supports two integration methods: automatic gradle integration and manual aar integration.
|
|
14
|
+
|
|
15
|
+
### gradle Import
|
|
16
|
+
|
|
17
|
+
- Add the following configuration dependency in the `Project` level `build.gradle` file
|
|
18
|
+
|
|
19
|
+
```json
|
|
20
|
+
buildscript {
|
|
21
|
+
repositories {
|
|
22
|
+
jcenter()
|
|
23
|
+
mavenCentral()
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
- Add the dependency in the `build.gradle` file under the `Module` project directory:
|
|
29
|
+
|
|
30
|
+
```java
|
|
31
|
+
dependencies {
|
|
32
|
+
implementation 'cn.thinkingdata.android:ThinkingAnalyticsSDK:2.8.3'
|
|
33
|
+
}
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
### Local aar Import
|
|
37
|
+
|
|
38
|
+
Refer to the official documentation.
|
|
39
|
+
|
|
40
|
+
## Compatibility Notes
|
|
41
|
+
|
|
42
|
+
- Android SDK minimum compatibility version is Android 4.0
|
|
43
|
+
- `minSdkVersion 14`
|
|
44
|
+
|
|
45
|
+
# Initialization
|
|
46
|
+
|
|
47
|
+
## Recommended Initialization Location
|
|
48
|
+
|
|
49
|
+
- It is recommended to initialize the SDK after the user agrees to the privacy policy. See the "Compliance Guide" section in ThinkingData official documentation for details.
|
|
50
|
+
|
|
51
|
+
```json
|
|
52
|
+
// Determine whether to enable data collection based on privacy policy
|
|
53
|
+
if (Privacy Policy Authorized) {
|
|
54
|
+
TDAnalytics.init(this, APPID, SERVER_URL);
|
|
55
|
+
}
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
## Initialization Method 1: Default configuration, just pass APPID and SERVER_URL
|
|
59
|
+
|
|
60
|
+
```java
|
|
61
|
+
// Initialize SDK in main thread
|
|
62
|
+
TDAnalytics.init(this, APPID, SERVER_URL);
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
## Initialization Method 2: Customize parameters via config
|
|
66
|
+
|
|
67
|
+
- Mode settings
|
|
68
|
+
- config.setMode(TDConfig.TDMode.NORMAL);
|
|
69
|
+
- config.setMode(TDConfig.TDMode.DEBUG);
|
|
70
|
+
- config.setMode(TDConfig.TDMode.DEBUG_ONLY);
|
|
71
|
+
- Mode timezone settings
|
|
72
|
+
- config.setDefaultTimeZone(TimeZone.getDefault());
|
|
73
|
+
- Enable multi-process
|
|
74
|
+
- config.setMutiprocess(true);
|
|
75
|
+
- Enable encryption
|
|
76
|
+
- config.enableEncrypt(true)
|
|
77
|
+
|
|
78
|
+
```java
|
|
79
|
+
TDConfig config = TDConfig.getInstance(this, APPID, TE_SERVER_URL);
|
|
80
|
+
TDAnalytics.init(config);
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
# Upload Modes
|
|
84
|
+
|
|
85
|
+
## NORMAL
|
|
86
|
+
|
|
87
|
+
- In Normal mode, data first enters the cache, then is batch uploaded according to configured upload rules. Successfully uploaded data will be stored in the database.
|
|
88
|
+
|
|
89
|
+
## DEBUG
|
|
90
|
+
|
|
91
|
+
- In Debug mode, data is immediately uploaded one by one. Successfully uploaded data will be stored in the database.
|
|
92
|
+
- If upload fails, SDK will downgrade Debug mode to Normal mode and cache failed data locally.
|
|
93
|
+
- Device whitelist needs to be configured in the application.
|
|
94
|
+
|
|
95
|
+
## DEBUG_ONLY
|
|
96
|
+
|
|
97
|
+
- In DebugOnly mode, data is immediately uploaded one by one and will NOT be stored in the database. If upload fails, data will be lost.
|
|
98
|
+
- Without whitelist configuration, it will not automatically switch to NORMAL mode.
|
|
99
|
+
|
|
100
|
+
> Note:
|
|
101
|
+
>
|
|
102
|
+
> - Avoid using debug or debug_only mode in production release
|
|
103
|
+
> - In debug mode, if no whitelist is configured in TE backend, it will switch to NORMAL mode
|
|
104
|
+
> - debug_only will not automatically switch to NORMAL mode
|
|
105
|
+
|
|
106
|
+
# Upload Strategy
|
|
107
|
+
|
|
108
|
+
- Normal mode defaults to 30 seconds or 30 records triggering an upload, can be modified in TE project management
|
|
109
|
+
- debug / debug_only mode events are immediately uploaded
|
|
110
|
+
- Manually calling flush() interface will immediately upload cached data
|
|
111
|
+
- Auto-tracking events are immediately uploaded
|
|
112
|
+
- Each request has a maximum of 50 records
|
|
113
|
+
|
|
114
|
+
# Cache Mechanism
|
|
115
|
+
|
|
116
|
+
- Non debug, debug_only mode, data is first cached in local database, then sent according to strategy
|
|
117
|
+
- Default local cache limit is 10,000 records, exceeding this will start discarding earlier data
|
|
118
|
+
- SDK version before 2.8.2 defaults to 15 days cache, 2.8.2 onwards defaults to 10 days cache
|
|
119
|
+
- Cache days and count can be configured via ta_public_config.xml
|
|
120
|
+
|
|
121
|
+
# Auto-tracking Events
|
|
122
|
+
|
|
123
|
+
## ta_app_install
|
|
124
|
+
|
|
125
|
+
### Trigger Conditions and Timing
|
|
126
|
+
|
|
127
|
+
- Install event auto-tracking is enabled
|
|
128
|
+
- SDK initialization checks firstInstallTime
|
|
129
|
+
|
|
130
|
+
## ta_app_start
|
|
131
|
+
|
|
132
|
+
### Trigger Conditions and Timing
|
|
133
|
+
|
|
134
|
+
- ta_app_start event auto-tracking is enabled
|
|
135
|
+
- App starts or App returns from background to foreground
|
|
136
|
+
|
|
137
|
+
## ta_app_end
|
|
138
|
+
|
|
139
|
+
### Trigger Conditions and Timing
|
|
140
|
+
|
|
141
|
+
- End event auto-tracking is enabled
|
|
142
|
+
- App exits or switches to background, or crashes
|
|
143
|
+
|
|
144
|
+
## ta_app_crash
|
|
145
|
+
|
|
146
|
+
### Trigger Conditions and Timing
|
|
147
|
+
|
|
148
|
+
- Crash event auto-tracking is enabled
|
|
149
|
+
- Triggered when App crashes
|
|
150
|
+
|
|
151
|
+
## ta_app_view
|
|
152
|
+
|
|
153
|
+
### Trigger Conditions and Timing
|
|
154
|
+
|
|
155
|
+
- View event auto-tracking is enabled
|
|
156
|
+
- When Activity or fragment page is displayed
|
|
157
|
+
|
|
158
|
+
## ta_app_click
|
|
159
|
+
|
|
160
|
+
### Trigger Conditions and Timing
|
|
161
|
+
|
|
162
|
+
- Click event auto-tracking is enabled
|
|
163
|
+
- When clicking page controls
|
|
164
|
+
- Requires full-tracking plugin integration
|
|
165
|
+
|
|
166
|
+
# Preset Properties
|
|
167
|
+
|
|
168
|
+
## Device ID #device_id
|
|
169
|
+
|
|
170
|
+
- Obtained from AndroidID or randomly generated
|
|
171
|
+
- When it changes: app multi-instance, unable to get androidId and uninstall/reinstall, flashing ROM or changing package name
|
|
172
|
+
|
|
173
|
+
## Simulator #simulator
|
|
174
|
+
|
|
175
|
+
- Determined based on Android's SystemProperties
|
|
176
|
+
|
|
177
|
+
## Memory #ram
|
|
178
|
+
|
|
179
|
+
- Gets available memory and total memory size
|
|
180
|
+
|
|
181
|
+
## Carrier #carrier
|
|
182
|
+
|
|
183
|
+
- Some app stores report security detection for obtaining carrier without permission request, this field can be blocked
|
|
184
|
+
|
|
185
|
+
## Network Type #network_type
|
|
186
|
+
|
|
187
|
+
- If no network at event time, value is NULL
|
|
188
|
+
|
|
189
|
+
## Visitor ID #distinct_id
|
|
190
|
+
|
|
191
|
+
- Default generated by system UUID, stored locally
|
|
192
|
+
- Will change after uninstall/reinstall
|
|
193
|
+
|
|
194
|
+
# Common Properties
|
|
195
|
+
|
|
196
|
+
## Static Common Properties
|
|
197
|
+
|
|
198
|
+
- Method name setSuperProperties
|
|
199
|
+
- Stores set properties in local SharedPreferences
|
|
200
|
+
|
|
201
|
+
## Dynamic Common Properties
|
|
202
|
+
|
|
203
|
+
- Method name setDynamicSuperPropertiesTracker
|
|
204
|
+
- Properties from this callback are included in each track call
|
|
205
|
+
|
|
206
|
+
# Data Encryption
|
|
207
|
+
|
|
208
|
+
- Default is gzip then base64 processing
|
|
209
|
+
- From 2.8.0 asymmetric encryption can also be enabled
|
|
210
|
+
- Encryption only works in normal mode
|
|
211
|
+
|
|
212
|
+
# Common Issues
|
|
213
|
+
|
|
214
|
+
## Data Upload Failed
|
|
215
|
+
|
|
216
|
+
- Check if upload address and appid are correct
|
|
217
|
+
- {Upload Address}/check_appid?appid={appid} returns 0 means normal
|
|
218
|
+
- Service exception
|
|
219
|
+
- {Upload Address}/health_check returns ok means normal
|
|
220
|
+
|
|
221
|
+
## Some Users Have No Event Upload
|
|
222
|
+
|
|
223
|
+
- Check if upload address uses https protocol, Android 9.0+ defaults to not supporting http
|
|
224
|
+
- Check if SDK initialization has logic judgment, some cases may not initialize
|
|
225
|
+
|
|
226
|
+
# Known Issues
|
|
227
|
+
|
|
228
|
+
See complete documentation for details.
|
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: "iOS SDK FAQ"
|
|
3
|
+
code: "ios_sdk_faq"
|
|
4
|
+
source: "Feishu MCP"
|
|
5
|
+
doc_id: "wikcn4nM313WpHDriYEdxvUmzqe"
|
|
6
|
+
fetched_at: "2026-04-20T17:29:37Z"
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# Integrate SDK
|
|
10
|
+
|
|
11
|
+
## SDK Integration Methods
|
|
12
|
+
|
|
13
|
+
- Currently supports manual integration and automatic integration (CocoaPods), does not support Carthage integration
|
|
14
|
+
|
|
15
|
+
# Initialize SDK
|
|
16
|
+
|
|
17
|
+
## Recommended SDK Initialization Location
|
|
18
|
+
|
|
19
|
+
- Recommended to initialize SDK after user agrees to privacy policy
|
|
20
|
+
|
|
21
|
+
```objectivec
|
|
22
|
+
if (Privacy Policy Authorized) {
|
|
23
|
+
NSString *appid = @"APPID";
|
|
24
|
+
NSString *url = @"SERVER_URL";
|
|
25
|
+
[TDAnalytics startAnalyticsWithAppId:appid serverUrl:url];
|
|
26
|
+
}
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
# SDK Cache Mechanism & Limits
|
|
30
|
+
|
|
31
|
+
## What data is stored locally by SDK?
|
|
32
|
+
|
|
33
|
+
- Basic data: Visitor ID, Device ID, static common event properties, etc., stored in Library directory
|
|
34
|
+
- Event data: Cached to local database Library/TDData-data.plist
|
|
35
|
+
|
|
36
|
+
## Event Data Cache Count Limit
|
|
37
|
+
|
|
38
|
+
- SDK default cache limit is 10,000 records
|
|
39
|
+
- Cache count can be customized, minimum value is 5,000 records
|
|
40
|
+
|
|
41
|
+
## Cache Expiration Time
|
|
42
|
+
|
|
43
|
+
- SDK default expiration time is 10 days
|
|
44
|
+
- Can be configured in info.plist
|
|
45
|
+
|
|
46
|
+
# SDK Data Upload Strategy
|
|
47
|
+
|
|
48
|
+
## Immediate Upload
|
|
49
|
+
|
|
50
|
+
- APP switching to background will immediately upload cached data
|
|
51
|
+
- debug / debug_only mode will immediately upload
|
|
52
|
+
- Auto-tracking events will immediately upload
|
|
53
|
+
- Manually calling flush() interface will immediately upload
|
|
54
|
+
- Each request has a maximum of 50 records
|
|
55
|
+
|
|
56
|
+
## Batch Upload
|
|
57
|
+
|
|
58
|
+
- Upload when time interval exceeds configured duration (default 30 seconds)
|
|
59
|
+
- Upload when cached event count reaches threshold (default 30 records)
|
|
60
|
+
|
|
61
|
+
# Visitor ID (#distinct_id)
|
|
62
|
+
|
|
63
|
+
## How to Set Visitor ID
|
|
64
|
+
|
|
65
|
+
```objectivec
|
|
66
|
+
[TDAnalytics setDistinctId:@"Thinker"];
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
## When Visitor ID Changes
|
|
70
|
+
|
|
71
|
+
- User clears application data
|
|
72
|
+
- User changes device or uninstall/reinstall
|
|
73
|
+
- Manually set via identify interface
|
|
74
|
+
|
|
75
|
+
# Account ID (#account_id)
|
|
76
|
+
|
|
77
|
+
## How to Set Account ID
|
|
78
|
+
|
|
79
|
+
```objectivec
|
|
80
|
+
[TDAnalytics login:@"TD"];
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
# Debug Mode
|
|
84
|
+
|
|
85
|
+
## Differences between Normal, Debug, DebugOnly Modes
|
|
86
|
+
|
|
87
|
+
| Mode | Upload Mode | Local Cache | Data Storage | Strict Data Check | Data Encryption |
|
|
88
|
+
| --------- | ----------------- | ----------- | ------------ | ----------------- | --------------- |
|
|
89
|
+
| Normal | Batch Upload | Yes | Yes | No | Supported |
|
|
90
|
+
| Debug | One-by-one Upload | No | Yes | Yes | Not Supported |
|
|
91
|
+
| DebugOnly | One-by-one Upload | No | No | Yes | Not Supported |
|
|
92
|
+
|
|
93
|
+
> Do not use Debug and DebugOnly mode in production environment
|
|
94
|
+
|
|
95
|
+
# Auto-tracking Events
|
|
96
|
+
|
|
97
|
+
## ta_app_install
|
|
98
|
+
|
|
99
|
+
- Triggered when new APP install or uninstall/reinstall
|
|
100
|
+
- #install_time and #time not being equal is normal
|
|
101
|
+
|
|
102
|
+
## ta_app_start
|
|
103
|
+
|
|
104
|
+
- When first enabling auto-tracking
|
|
105
|
+
- Triggered when app switches from background to foreground
|
|
106
|
+
|
|
107
|
+
## ta_app_end
|
|
108
|
+
|
|
109
|
+
- When app switches from foreground to background, or app process is killed
|
|
110
|
+
|
|
111
|
+
## ta_app_crash
|
|
112
|
+
|
|
113
|
+
- Monitors exceptions captured by NSSetUncaughtExceptionHandler
|
|
114
|
+
- In Debug mode ta_app_crash may be lost
|
|
115
|
+
|
|
116
|
+
# Common Event Properties
|
|
117
|
+
|
|
118
|
+
## Static Common Event Properties
|
|
119
|
+
|
|
120
|
+
- `[TDAnalytics setSuperProperties:@{@"vip_level": @(2)}];`
|
|
121
|
+
- Stored locally, included in every track call
|
|
122
|
+
|
|
123
|
+
## Dynamic Common Event Properties
|
|
124
|
+
|
|
125
|
+
```objectivec
|
|
126
|
+
[TDAnalytics setDynamicSuperProperties:^NSDictionary * _Nonnull{
|
|
127
|
+
return @{@"now": [NSDate date]};
|
|
128
|
+
}];
|
|
129
|
+
```
|
|
130
|
+
|
|
131
|
+
## Property Priority
|
|
132
|
+
|
|
133
|
+
- User-defined event properties > Dynamic common event properties > Static common event properties
|
|
134
|
+
|
|
135
|
+
# Preset Properties
|
|
136
|
+
|
|
137
|
+
## #device_id
|
|
138
|
+
|
|
139
|
+
- Obtains idfv, if unavailable obtains UUID
|
|
140
|
+
- Keychain persistent storage, will not change after uninstall/reinstall
|
|
141
|
+
|
|
142
|
+
## #ip
|
|
143
|
+
|
|
144
|
+
- TE server obtains ip information from http request header
|
|
145
|
+
- Uses third-party IP library to resolve geographic location
|
|
146
|
+
|
|
147
|
+
# Known Issues
|
|
148
|
+
|
|
149
|
+
See complete documentation for details.
|