@thinkingai/ae-cli 6.1.30 → 6.1.33
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 +16 -7
- package/README.zh.md +18 -7
- package/bin/ai-monitor.js +2 -0
- package/bin/runtime-capabilities.json +1 -1
- package/dist/ai-monitor-OHTSU6SV.js +33 -0
- package/dist/ai-monitor.js +136 -0
- package/dist/{auth-ADZHUIJR.js → auth-2MOK4OI6.js} +24 -14
- package/dist/{automation-FD2QZUP6.js → automation-6L6IAYRK.js} +6 -7
- package/dist/{capability-QXFRJYZD.js → capability-EMIHQJA3.js} +31 -34
- package/dist/{chunk-OAWPT7VP.js → chunk-2I5SZ5DS.js} +2 -2
- package/dist/{chunk-HRUOV6EQ.js → chunk-4IQYPWCX.js} +22 -21
- package/dist/{chunk-EUFP4M2A.js → chunk-7DHSB3FL.js} +85 -33
- 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-AVXDJAFC.js → chunk-DWAG2QJM.js} +52 -15
- package/dist/{chunk-CG773QXN.js → chunk-E3ONSFUN.js} +528 -299
- package/dist/chunk-EFGUBGA6.js +64 -0
- package/dist/chunk-EWVEAERM.js +563 -0
- package/dist/{chunk-VDICGXCY.js → chunk-HIMOBNEY.js} +2 -2
- package/dist/{chunk-JEUXDY3B.js → chunk-HQED4YB4.js} +1 -1
- package/dist/{chunk-2F64AZYH.js → chunk-KA5WKR5P.js} +2 -2
- package/dist/{chunk-TFORY6WY.js → chunk-KD5UC33N.js} +23 -9
- package/dist/{chunk-YVG6QD3V.js → chunk-LFJ7N36I.js} +103 -8
- package/dist/chunk-NNK3JBH4.js +60 -0
- package/dist/{chunk-YULUBP3R.js → chunk-O45NOIWR.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-Y3AM6LIO.js → chunk-RC3PPCYD.js} +16 -11
- 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-72NJKS7O.js → chunk-XZDKAR4N.js} +4 -4
- package/dist/chunk-YE6MJB5V.js +1285 -0
- package/dist/{community-report-client-TJVCLZ3K.js → community-report-client-ULRNXLQV.js} +1 -1
- package/dist/{compat-check-HERBTQZN.js → compat-check-CADG7GND.js} +5 -4
- package/dist/{config-E3KANXMK.js → config-PFD3KWQG.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 +95 -593
- package/dist/{local-data-upload-client-KCMG6J62.js → local-data-upload-client-YTWMAAGE.js} +1 -1
- package/dist/{memory-SNFR5M23.js → memory-HKNGUIPK.js} +6 -7
- package/dist/{metadata-EXQYDZTH.js → metadata-GFWR5ZHC.js} +11 -10
- package/dist/{model-KEVCEXWD.js → model-NAKQWK4W.js} +4 -5
- package/dist/{personal-semantic-preference-ETY3KU2O.js → personal-semantic-preference-JCTKXLC3.js} +46 -15
- package/dist/{project-semantic-UHRMVOJF.js → project-semantic-B2NWQOKK.js} +19 -16
- package/dist/{sync-XKEBXESC.js → sync-UQH4J4BD.js} +9 -9
- package/dist/{te-agent-S6UQR4IE.js → te-agent-L6EYFQCC.js} +303 -17
- package/dist/{te-analysis-WOFFCIBC.js → te-analysis-U7NNOY66.js} +397 -203
- package/dist/{te-community-R7B6QYOO.js → te-community-3UQEW3KD.js} +14 -12
- package/dist/{te-dataops-KPILYVHA.js → te-dataops-SUNYXF5G.js} +13 -11
- package/dist/{te-engage-IAUM6ONX.js → te-engage-KMXZJ2KN.js} +10 -9
- package/dist/{te-experiment-TMLRA7B3.js → te-experiment-IEYKP6VC.js} +477 -45
- package/dist/{te-kb-GKWPSLSY.js → te-kb-MT3V5ZMH.js} +78 -18
- package/dist/{te-system-CYWSK3UN.js → te-system-F4ZU2HRQ.js} +6 -7
- package/dist/{te-team-ISN52YNG.js → te-team-M6E6XQ5H.js} +9 -8
- package/dist/{things-DDQ52Z3Q.js → things-FRLBZV2Z.js} +9 -8
- package/dist/{update-CTLNTX35.js → update-NULYHVE6.js} +8 -6
- package/dist/{workspace-2CKQX2XL.js → workspace-Z7L33OBQ.js} +6 -7
- package/package.json +13 -8
- 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/path.md +5 -6
- 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-experiment/SKILL.md +69 -13
- package/skills/ae-experiment/references/experiment_approval.md +229 -0
- package/skills/ae-experiment/references/manage_experiment.md +15 -2
- package/skills/ae-experiment/references/manage_traffic_domains.md +131 -0
- package/skills/ae-experiment/references/query_experiment_detail.md +8 -0
- package/skills/ae-experiment/references/query_experiment_list.md +6 -0
- package/skills/ae-experiment/references/save_experiment.md +56 -10
- package/skills/ae-experiment/references/save_metric.md +29 -2
- package/skills/ae-experiment/references/save_submit_experiment.md +22 -3
- package/skills/ae-experiment/references/save_submit_external_experiment.md +59 -3
- package/skills/ae-experiment/references/save_traffic_layer.md +17 -1
- 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
|
@@ -12,10 +12,11 @@ import {
|
|
|
12
12
|
shouldNotifyCompat,
|
|
13
13
|
shouldSkipAutoSync,
|
|
14
14
|
shouldSkipCompatCheck
|
|
15
|
-
} from "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
15
|
+
} from "./chunk-E3ONSFUN.js";
|
|
16
|
+
import "./chunk-PUSFEC6B.js";
|
|
17
|
+
import "./chunk-PLNS5J33.js";
|
|
18
|
+
import "./chunk-AMURHMS3.js";
|
|
19
|
+
import "./chunk-R2SVAO4G.js";
|
|
19
20
|
export {
|
|
20
21
|
fetchCliConfig,
|
|
21
22
|
formatCapabilityMissCompatHint,
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { createRequire as __createRequire } from 'node:module'; const require = __createRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
|
+
environmentRefreshOutput,
|
|
3
4
|
invalidateBusinessSkillSynchronization,
|
|
4
5
|
refreshEnvironmentAfterLogin,
|
|
5
6
|
refreshEnvironmentConfig
|
|
6
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-DWAG2QJM.js";
|
|
7
8
|
import {
|
|
8
9
|
MultiselectCancelled,
|
|
9
10
|
promptSingleSelect
|
|
@@ -15,15 +16,16 @@ import {
|
|
|
15
16
|
import {
|
|
16
17
|
printError,
|
|
17
18
|
printOutput
|
|
18
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-O45NOIWR.js";
|
|
19
20
|
import {
|
|
20
21
|
fetchCliConfig,
|
|
21
22
|
readCurrentBusinessConfig,
|
|
22
23
|
resolveKbAutoDiscoveryFeature
|
|
23
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-E3ONSFUN.js";
|
|
25
|
+
import "./chunk-PUSFEC6B.js";
|
|
24
26
|
import {
|
|
25
27
|
peekCliToken
|
|
26
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-PLNS5J33.js";
|
|
27
29
|
import {
|
|
28
30
|
addHost,
|
|
29
31
|
getActiveHost,
|
|
@@ -33,10 +35,10 @@ import {
|
|
|
33
35
|
resolveHostSelector,
|
|
34
36
|
setActiveHost,
|
|
35
37
|
updateHostLabel
|
|
36
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-AMURHMS3.js";
|
|
37
39
|
import {
|
|
38
40
|
normalizeUrl
|
|
39
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-R2SVAO4G.js";
|
|
40
42
|
|
|
41
43
|
// src/commands/config.ts
|
|
42
44
|
import * as readline2 from "readline";
|
|
@@ -80,7 +82,7 @@ Already active: \x1B[1m${item.host.label}\x1B[0m
|
|
|
80
82
|
}
|
|
81
83
|
invalidateBusinessSkillSynchronization();
|
|
82
84
|
setActiveHost(item.host.url);
|
|
83
|
-
await refreshEnvironmentAfterLogin(item.host.url);
|
|
85
|
+
await refreshEnvironmentAfterLogin(item.host.url, { onlyIfChanged: true, progress: refreshProgress });
|
|
84
86
|
process.stderr.write(`
|
|
85
87
|
\x1B[32m\u2713\x1B[0m Active environment: \x1B[1m${item.host.label}\x1B[0m ${item.host.url}
|
|
86
88
|
`);
|
|
@@ -123,7 +125,7 @@ async function promptAddEnvironment() {
|
|
|
123
125
|
`
|
|
124
126
|
);
|
|
125
127
|
if (active) {
|
|
126
|
-
await refreshEnvironmentAfterLogin(url);
|
|
128
|
+
await refreshEnvironmentAfterLogin(url, { onlyIfChanged: true, progress: refreshProgress });
|
|
127
129
|
process.stderr.write(` Authenticate if needed: ae-cli auth login --host ${url}
|
|
128
130
|
`);
|
|
129
131
|
}
|
|
@@ -174,13 +176,17 @@ async function promptRemoveEnvironment(host) {
|
|
|
174
176
|
process.stderr.write(`\x1B[32m\u2713\x1B[0m Removed: ${host.label}
|
|
175
177
|
`);
|
|
176
178
|
if (replacement) {
|
|
177
|
-
await refreshEnvironmentAfterLogin(replacement.url);
|
|
179
|
+
await refreshEnvironmentAfterLogin(replacement.url, { onlyIfChanged: true, progress: refreshProgress });
|
|
178
180
|
process.stderr.write(` Active environment: ${replacement.label} ${replacement.url}
|
|
179
181
|
`);
|
|
180
182
|
} else if (listHosts().length === 0) {
|
|
181
183
|
process.stderr.write(" No AE environments remain.\n");
|
|
182
184
|
}
|
|
183
185
|
}
|
|
186
|
+
function refreshProgress(message) {
|
|
187
|
+
if (process.stderr.isTTY) process.stderr.write(`[ae-cli] ${message}
|
|
188
|
+
`);
|
|
189
|
+
}
|
|
184
190
|
function promptEnvironmentAction(items, initialIndex) {
|
|
185
191
|
const stdin = process.stdin;
|
|
186
192
|
const stderr = process.stderr;
|
|
@@ -271,6 +277,10 @@ async function confirm(question) {
|
|
|
271
277
|
}
|
|
272
278
|
|
|
273
279
|
// src/commands/config.ts
|
|
280
|
+
function refreshProgress2(message) {
|
|
281
|
+
if (process.stderr.isTTY) process.stderr.write(`[ae-cli] ${message}
|
|
282
|
+
`);
|
|
283
|
+
}
|
|
274
284
|
function registerConfig(program) {
|
|
275
285
|
const configCmd = program.command("config").description("Manage AE host environments and read configuration values").action(async () => {
|
|
276
286
|
if (!process.stdin.isTTY || !process.stderr.isTTY) {
|
|
@@ -294,8 +304,10 @@ function registerConfig(program) {
|
|
|
294
304
|
failConfig("No active AE environment configured.", missingAeHostHint());
|
|
295
305
|
return;
|
|
296
306
|
}
|
|
297
|
-
const result = await refreshEnvironmentConfig(host, {
|
|
298
|
-
|
|
307
|
+
const result = await refreshEnvironmentConfig(host, {
|
|
308
|
+
synchronizeSkills: !program.opts().host
|
|
309
|
+
});
|
|
310
|
+
await printOutput(environmentRefreshOutput(program, result), program.opts().format || "json", program.opts().jq);
|
|
299
311
|
if (result.source === "unavailable" || ["failed", "partial", "busy"].includes(result.skills.status)) process.exitCode = 1;
|
|
300
312
|
});
|
|
301
313
|
configCmd.command("show").description("Show effective configuration for the selected AE host and account").action(async () => {
|
|
@@ -332,7 +344,7 @@ function registerConfig(program) {
|
|
|
332
344
|
invalidateBusinessSkillSynchronization();
|
|
333
345
|
addHost(normalized, label);
|
|
334
346
|
setActiveHost(normalized);
|
|
335
|
-
await refreshEnvironmentAfterLogin(normalized);
|
|
347
|
+
await refreshEnvironmentAfterLogin(normalized, { onlyIfChanged: true, progress: refreshProgress2 });
|
|
336
348
|
await printOutput(
|
|
337
349
|
{ activeHost: normalized, label: label.trim() },
|
|
338
350
|
program.opts().format || "json",
|
|
@@ -382,7 +394,7 @@ async function useConfigEnv(program, env) {
|
|
|
382
394
|
}
|
|
383
395
|
invalidateBusinessSkillSynchronization();
|
|
384
396
|
setActiveHost(target.host.url);
|
|
385
|
-
await refreshEnvironmentAfterLogin(target.host.url);
|
|
397
|
+
await refreshEnvironmentAfterLogin(target.host.url, { onlyIfChanged: true, progress: refreshProgress2 });
|
|
386
398
|
await printOutput({ activeHost: target.host.url, label: target.host.label }, program.opts().format || "json", program.opts().jq);
|
|
387
399
|
}
|
|
388
400
|
async function addConfigEnv(program, url, opts) {
|
|
@@ -399,7 +411,9 @@ async function addConfigEnv(program, url, opts) {
|
|
|
399
411
|
invalidateBusinessSkillSynchronization();
|
|
400
412
|
addHost(normalized, opts.label);
|
|
401
413
|
if (opts.use) setActiveHost(normalized);
|
|
402
|
-
if (getActiveHost() === normalized)
|
|
414
|
+
if (getActiveHost() === normalized) {
|
|
415
|
+
await refreshEnvironmentAfterLogin(normalized, { onlyIfChanged: true, progress: refreshProgress2 });
|
|
416
|
+
}
|
|
403
417
|
const saved = loadConfig();
|
|
404
418
|
await printOutput(
|
|
405
419
|
{
|
|
@@ -2,15 +2,16 @@ import { createRequire as __createRequire } from 'node:module'; const require =
|
|
|
2
2
|
import {
|
|
3
3
|
TeAgentApiError,
|
|
4
4
|
getFromMainApp
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import
|
|
7
|
-
|
|
5
|
+
} from "./chunk-VLOGOM7N.js";
|
|
6
|
+
import {
|
|
7
|
+
internalCallSourceHeaders
|
|
8
|
+
} from "./chunk-PLNS5J33.js";
|
|
8
9
|
import {
|
|
9
10
|
safeJsonParse
|
|
10
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-AMURHMS3.js";
|
|
11
12
|
import {
|
|
12
13
|
CliValidationError
|
|
13
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-R2SVAO4G.js";
|
|
14
15
|
|
|
15
16
|
// src/core/current-page-context-client.ts
|
|
16
17
|
async function readCurrentPageContext(path) {
|
|
@@ -34,7 +35,8 @@ async function readCurrentPageContext(path) {
|
|
|
34
35
|
"Content-Type": "application/json",
|
|
35
36
|
Accept: "application/json, text/event-stream",
|
|
36
37
|
"MCP-Protocol-Version": "2025-03-26",
|
|
37
|
-
"X-TE-Page-Context-Token": grant
|
|
38
|
+
"X-TE-Page-Context-Token": grant,
|
|
39
|
+
...internalCallSourceHeaders()
|
|
38
40
|
},
|
|
39
41
|
body: JSON.stringify({
|
|
40
42
|
jsonrpc: "2.0",
|
|
@@ -8,20 +8,20 @@ import {
|
|
|
8
8
|
utils,
|
|
9
9
|
validateAndFix,
|
|
10
10
|
validateDraft
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-XZDKAR4N.js";
|
|
12
|
+
import "./chunk-UCMO4LKL.js";
|
|
13
13
|
import {
|
|
14
14
|
require_archiver
|
|
15
|
-
} from "./chunk-
|
|
16
|
-
import "./chunk-
|
|
15
|
+
} from "./chunk-2I5SZ5DS.js";
|
|
16
|
+
import "./chunk-HQED4YB4.js";
|
|
17
17
|
import {
|
|
18
18
|
getConfigDir
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-AMURHMS3.js";
|
|
20
20
|
import {
|
|
21
21
|
CliValidationError,
|
|
22
22
|
LocalDataUploadError,
|
|
23
23
|
__toESM
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-R2SVAO4G.js";
|
|
25
25
|
|
|
26
26
|
// src/commands/data-integration/inspect.ts
|
|
27
27
|
import { basename as basename3 } from "path";
|
|
@@ -1,165 +1,20 @@
|
|
|
1
1
|
import { createRequire as __createRequire } from 'node:module'; const require = __createRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
3
|
+
evalApi,
|
|
4
|
+
evalDownload,
|
|
5
|
+
evalDryRun,
|
|
6
|
+
evalFlags,
|
|
7
|
+
evalPathId,
|
|
8
|
+
idAndLockFlags,
|
|
9
|
+
idFlag,
|
|
10
|
+
lockVersionFlag
|
|
11
|
+
} from "./chunk-BQFLABJQ.js";
|
|
12
|
+
import "./chunk-LFJ7N36I.js";
|
|
13
|
+
import "./chunk-PLNS5J33.js";
|
|
14
|
+
import "./chunk-AMURHMS3.js";
|
|
8
15
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import {
|
|
12
|
-
isAeSandboxRuntime
|
|
13
|
-
} from "./chunk-4PSTYEG5.js";
|
|
14
|
-
import {
|
|
15
|
-
CliValidationError,
|
|
16
|
-
externalCliTokenRequestOptions
|
|
17
|
-
} from "./chunk-Z3Q2AEIN.js";
|
|
18
|
-
|
|
19
|
-
// src/core/eval-session.ts
|
|
20
|
-
var SESSION_PATH = "/api/sandbox/agent/evaluation/session";
|
|
21
|
-
async function requestSandboxEvaluationSession(host, cliToken, teProjectId, fetchImpl = fetch) {
|
|
22
|
-
const url = `${resolveEvaluationHost(host)}/agent${SESSION_PATH}`;
|
|
23
|
-
const credentialOptions = externalCliTokenRequestOptions(url);
|
|
24
|
-
const signal = AbortSignal.timeout(3e4);
|
|
25
|
-
let response;
|
|
26
|
-
let body;
|
|
27
|
-
try {
|
|
28
|
-
response = await fetchImpl(url, {
|
|
29
|
-
...credentialOptions,
|
|
30
|
-
method: "POST",
|
|
31
|
-
headers: { Accept: "application/json", "Content-Type": "application/json", "cli-token": cliToken },
|
|
32
|
-
body: JSON.stringify(teProjectId ? { te_project_id: teProjectId } : {}),
|
|
33
|
-
redirect: "error",
|
|
34
|
-
signal
|
|
35
|
-
});
|
|
36
|
-
try {
|
|
37
|
-
body = await response.json();
|
|
38
|
-
} catch (error) {
|
|
39
|
-
if (signal.aborted) throw error;
|
|
40
|
-
body = void 0;
|
|
41
|
-
}
|
|
42
|
-
} catch {
|
|
43
|
-
throw new EvalApiError(signal.aborted ? "Evaluation session request timed out." : "Evaluation session request failed; redirects are not allowed.", {
|
|
44
|
-
code: signal.aborted ? "EVAL_SANDBOX_SESSION_TIMEOUT" : "EVAL_SANDBOX_SESSION_NETWORK_ERROR",
|
|
45
|
-
httpStatus: 0,
|
|
46
|
-
hint: "Verify that the AE Host serves the session endpoint directly without redirects."
|
|
47
|
-
});
|
|
48
|
-
}
|
|
49
|
-
if (!response.ok || typeof body?.session_token !== "string" || !body.session_token) {
|
|
50
|
-
throw new EvalApiError(
|
|
51
|
-
typeof body?.error === "string" ? body.error : "Unable to obtain an evaluation session from the sandbox gateway.",
|
|
52
|
-
{
|
|
53
|
-
code: "EVAL_SANDBOX_SESSION_FAILED",
|
|
54
|
-
httpStatus: response.status,
|
|
55
|
-
sensitiveValues: [cliToken, typeof body?.session_token === "string" ? body.session_token : ""],
|
|
56
|
-
hint: response.status === 400 ? "Set AE_EVAL_TE_PROJECT_ID when the CLI token is authorized for multiple TE projects." : "Verify that the sandbox gateway and Agent Evaluation service are configured."
|
|
57
|
-
}
|
|
58
|
-
);
|
|
59
|
-
}
|
|
60
|
-
return body.session_token;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
// src/commands/evaluation/shared.ts
|
|
64
|
-
var EVAL_API_PREFIX = "/agenteval/api/v1";
|
|
65
|
-
function evalFlags() {
|
|
66
|
-
return [
|
|
67
|
-
{
|
|
68
|
-
name: "endpoint",
|
|
69
|
-
type: "string",
|
|
70
|
-
sensitive: true,
|
|
71
|
-
desc: `Deprecated: must match the current AE Host. Independent endpoint overrides are unsupported; use --host to select the AE Host instead.`
|
|
72
|
-
}
|
|
73
|
-
];
|
|
74
|
-
}
|
|
75
|
-
function resolveEvalBaseUrl(ctx, environment = process.env) {
|
|
76
|
-
const baseUrl = resolveEvaluationHost(ctx.host());
|
|
77
|
-
for (const configured of [ctx.str("endpoint").trim(), environment.AE_EVAL_BASE_URL?.trim()]) {
|
|
78
|
-
if (!configured) continue;
|
|
79
|
-
const legacyBaseUrl = configured.replace(/\/+$/, "").replace(/(\/agenteval\/api\/v1|\/agenteval)$/, "");
|
|
80
|
-
if (resolveEvaluationHost(legacyBaseUrl) !== baseUrl) {
|
|
81
|
-
throw new CliValidationError("Independent evaluation endpoint overrides are unsupported.", {
|
|
82
|
-
code: "EVAL_ENDPOINT_OVERRIDE_UNSUPPORTED",
|
|
83
|
-
hint: "Remove --endpoint and AE_EVAL_BASE_URL; select the evaluation AE Host with --host instead."
|
|
84
|
-
});
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
return baseUrl;
|
|
88
|
-
}
|
|
89
|
-
function evalPathId(ctx, name = "id") {
|
|
90
|
-
const value = ctx.str(name);
|
|
91
|
-
if (!/^[a-zA-Z0-9_-]+$/.test(value)) {
|
|
92
|
-
throw new CliValidationError(`--${name} must be a resource ID containing only letters, digits, hyphens, or underscores.`, {
|
|
93
|
-
code: "EVAL_RESOURCE_ID_INVALID"
|
|
94
|
-
});
|
|
95
|
-
}
|
|
96
|
-
return encodeURIComponent(value);
|
|
97
|
-
}
|
|
98
|
-
function evalHeaders(environment = process.env) {
|
|
99
|
-
const accessToken = environment.AE_EVAL_ACCESS_TOKEN?.trim();
|
|
100
|
-
if (!accessToken) {
|
|
101
|
-
throw new EvalApiError("AE_EVAL_ACCESS_TOKEN is not set.", {
|
|
102
|
-
code: "EVAL_ACCESS_TOKEN_MISSING",
|
|
103
|
-
httpStatus: 0,
|
|
104
|
-
hint: "Export AE_EVAL_ACCESS_TOKEN with an Agent Evaluation platform session token (POST /agenteval/api/v1/auth/session on the platform web console)."
|
|
105
|
-
});
|
|
106
|
-
}
|
|
107
|
-
return { Authorization: `Bearer ${accessToken}` };
|
|
108
|
-
}
|
|
109
|
-
async function resolveEvalHeaders(ctx, environment = process.env) {
|
|
110
|
-
if (environment.AE_EVAL_ACCESS_TOKEN?.trim()) return evalHeaders(environment);
|
|
111
|
-
if (!isAeSandboxRuntime()) return evalHeaders(environment);
|
|
112
|
-
const cliToken = await getCliToken(ctx.host());
|
|
113
|
-
const sessionToken = await requestSandboxEvaluationSession(
|
|
114
|
-
ctx.host(),
|
|
115
|
-
cliToken,
|
|
116
|
-
environment.AE_EVAL_TE_PROJECT_ID?.trim()
|
|
117
|
-
);
|
|
118
|
-
return { Authorization: `Bearer ${sessionToken}` };
|
|
119
|
-
}
|
|
120
|
-
async function evalDownload(ctx, path2, output) {
|
|
121
|
-
return evalDownloadFile({
|
|
122
|
-
baseUrl: resolveEvalBaseUrl(ctx),
|
|
123
|
-
headers: await resolveEvalHeaders(ctx),
|
|
124
|
-
method: "GET",
|
|
125
|
-
path: `${EVAL_API_PREFIX}${path2}`
|
|
126
|
-
}, output);
|
|
127
|
-
}
|
|
128
|
-
async function evalApi(ctx, method, path2, params, body, options = {}) {
|
|
129
|
-
return evalRequest({
|
|
130
|
-
baseUrl: resolveEvalBaseUrl(ctx),
|
|
131
|
-
headers: await resolveEvalHeaders(ctx),
|
|
132
|
-
method,
|
|
133
|
-
path: `${EVAL_API_PREFIX}${path2}`,
|
|
134
|
-
params,
|
|
135
|
-
body,
|
|
136
|
-
idempotencyKey: options.idempotencyKey
|
|
137
|
-
});
|
|
138
|
-
}
|
|
139
|
-
function evalDryRun(ctx, method, path2, params, body, options = {}) {
|
|
140
|
-
return {
|
|
141
|
-
method,
|
|
142
|
-
url: `${resolveEvalBaseUrl(ctx)}${EVAL_API_PREFIX}${path2}`,
|
|
143
|
-
params,
|
|
144
|
-
body,
|
|
145
|
-
...options.idempotencyKey ? { headers: { "Idempotency-Key": options.idempotencyKey } } : {}
|
|
146
|
-
};
|
|
147
|
-
}
|
|
148
|
-
function idFlag(desc = "Resource UUID") {
|
|
149
|
-
return { name: "id", type: "string", required: true, desc };
|
|
150
|
-
}
|
|
151
|
-
function lockVersionFlag(resource) {
|
|
152
|
-
return {
|
|
153
|
-
name: "lock-version",
|
|
154
|
-
type: "number",
|
|
155
|
-
required: true,
|
|
156
|
-
min: 0,
|
|
157
|
-
desc: `Current ${resource} lock_version (optimistic lock); each successful mutation increments it`
|
|
158
|
-
};
|
|
159
|
-
}
|
|
160
|
-
function idAndLockFlags(idDesc, resource) {
|
|
161
|
-
return [idFlag(idDesc), lockVersionFlag(resource)];
|
|
162
|
-
}
|
|
16
|
+
CliValidationError
|
|
17
|
+
} from "./chunk-R2SVAO4G.js";
|
|
163
18
|
|
|
164
19
|
// src/commands/evaluation/list-datasets.ts
|
|
165
20
|
var PATH = "/datasets";
|