* feat(analytics): track navigation entry clicks, preset switches, and new-session sends Rebuilds the click events of #6600 on the region-owned More menus in release/dsh-0.2.1. Exposure events, creator_mode_enter, and the ui-workspace onOpened observer are not included. - sidebar_menu_click gains position plus the new_session and more entries: New Session (sidebar button, brand, titlebar), Plugins and Automation rows, the left sidebar More button, and entries opened from its menu. - more_menu_item_click records Browse other plugins and Create your plugin per region. - agent_preset_switch reports applied or unbound staged picks; the seat controller now returns an explicit apply outcome. - code_work_view_toggle reports a successful change of the setting. - send_button_click adds is_new_session and the Session's preset category. Co-authored-by: imccyu <[email protected]> * test(analytics): cover navigation, preset switch, toggle, and send analytics Co-authored-by: imccyu <[email protected]> * docs(analytics): document click events and regenerate catalogs Co-authored-by: imccyu <[email protected]> * test(ui): reuse the developer tools row accessor without a new unknown cast Co-authored-by: imccyu <[email protected]> * fix(analytics): classify preset switches by preset id only agent_preset_switch now maps the preset id the same way send_button_click does: cordis is creator, ptc, minimal and standard keep their ids, and any other id is other; a published preset name no longer changes the category. Co-authored-by: imccyu <[email protected]> --------- Co-authored-by: dingyifan <[email protected]> Co-authored-by: imccyu <[email protected]>
54 lines
2.1 KiB
JSON
54 lines
2.1 KiB
JSON
{
|
|
"name": "@deepseek-ai/dsh-client-ui-entry-customization",
|
|
"version": "0.2.1-rc.2",
|
|
"description": "Customize plugin entries in the left sidebar, conversation views, and right sidebar, and quickly create new plugins.",
|
|
"publishConfig": { "access": "public" },
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/deepseek-ai/deepseek-harness.git",
|
|
"directory": "packages/client/ui-entry-customization"
|
|
},
|
|
"type": "module",
|
|
"main": "lib/index.js",
|
|
"types": "lib/types/index.d.ts",
|
|
"exports": {
|
|
".": { "types": "./lib/types/index.d.ts", "default": "./lib/index.js" },
|
|
"./client": { "types": "./lib/types/client/index.d.ts", "default": "./lib/client.js" },
|
|
"./src/*": "./src/*",
|
|
"./package.json": "./package.json",
|
|
"./locale/*.json": "./locale/*.json"
|
|
},
|
|
"files": ["locale/*.json", "lib/index.js", "lib/client.js", "lib/types/**/*.d.ts"],
|
|
"license": "MIT",
|
|
"peerDependencies": { "@deepseek-ai/cordis": "workspace:~" },
|
|
"devDependencies": {
|
|
"@deepseek-ai/cordis": "workspace:~",
|
|
"@deepseek-ai/dsh-client-locale": "workspace:*",
|
|
"@deepseek-ai/dsh-client-product-analytics": "workspace:*",
|
|
"@deepseek-ai/dsh-client-ui-sidebar": "workspace:*",
|
|
"@deepseek-ai/dsh-client-ui-conversation": "workspace:*",
|
|
"@deepseek-ai/dsh-client-ui-sidebar-right": "workspace:*",
|
|
"@deepseek-ai/dsh-client-ui-plugin-manager": "workspace:*",
|
|
"@deepseek-ai/dsh-client-ui-workspace": "workspace:*",
|
|
"@deepseek-ai/dsh-client-ui-primitives": "workspace:*",
|
|
"@deepseek-ai/dsh-client-ui-renderer": "workspace:*",
|
|
"@deepseek-ai/dsh-client-ui-slots": "workspace:*",
|
|
"@deepseek-ai/dsh-client-test-runtime": "workspace:*",
|
|
"clsx": "^2.1.1",
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0",
|
|
"@testing-library/react": "^16.3.3"
|
|
},
|
|
"dsh": {
|
|
"client": {
|
|
"platform": "web",
|
|
"inject": [
|
|
"@deepseek-ai/dsh-client-locale",
|
|
"@deepseek-ai/dsh-client-ui-plugin-manager",
|
|
"@deepseek-ai/dsh-client-ui-workspace"
|
|
]
|
|
}
|
|
},
|
|
"scripts": { "bundle": "tsdown", "watch": "tsdown --watch" }
|
|
}
|