GUOZIJAN/dsh-tech-stack-survey ↗★ 0
dsh-tech-stack-survey
DSH tech-stack survey plugin: the model asks 2-5 adaptive tech-stack questions (3 options each, hover for details) before designing a project, via the design_stack_survey tool and a browser composer card
AI Analysis
核心用途是在生成项目方案前自动收集技术栈偏好。适合需要 Agent 针对特定技术栈进行定制化项目架构设计的开发任务。
Install
This plugin has no verified bundle, or compatibility checks failed. Read the repository notes first. Read the full README ↗
README
Read the full README ↗Installation & Usage
Option 1: Dynamic plugin (recommended for a quick trial)
In a DSH cordis (creation) mode session, ask the model to:
cordis_define— create the plugin:cordis_runto activate; approve the Client half in the browser UI.- Then just say "design a XX project" (without a tech stack) — the model calls
design_stack_survey, the survey card appears, and after you answer, the design continues with the chosen stack.
The dynamic plugin lives only in the session process that defined it (lost on restart). For a permanent install see Option 2.
Option 2: Permanent install (deployment-level)
The repo ships as a ready-to-install dual-face package (package.json + lib/), verified on a local DSH web profile:
- Package layout: the Host half is
lib/index.js(static ESM, injectstools/userQuestions, registers the tool viactx.tools.register(defineTool(...))); the Client half islib/client.js(a lazy-CJSwindow.__ModuleLoader__.load({ id, factory })bundle exporting{ inject: ['slots','locale'], apply }).package.jsondeclaresdsh.client: { platform: 'web', inject: [...] }andexports['./client']. - Install the package: copy
package.json+lib/into the profile's hoistednode_modulesroot (e.g.C:\Users\guozi\.dsh\profiles\node_modules\dsh-tech-stack-survey), so it is resolvable from the profile directory. - Compose: append one row to the profile's
cordis.patch.yml(e.g.C:\Users\guozi\.dsh\profiles\web\cordis.patch.yml):- insert: - id: tech-stack-survey name: 'dsh-tech-stack-survey' - Restart: restart
dsh web. No web-artifact rebuild is needed — the client-modules node half scans Loader entries at runtime and serves/plugins//client.js, which the browser pulls viawindow.__DSH_BOOT__. - Verify:
GET /plugins/dsh-tech-stack-survey/client.jsanswers 200; the/api/pluginInventory/listRPC showsinclude:tech-stack-surveywithfiberPhase: active.
Notes: the Host half registers its tool from the host plane, landing in the tools registry's global layer, which every agent preset inherits (presets apply no allow/deny restrictions) — so new sessions see
design_stack_survey; sessions created before the install keep their fixed tool catalog. If you later runpnpm installin the profile directory, also add this package to the profile'spackage.jsondependencies so pnpm does not prune it.