dhti-cli 1.3.0 → 1.3.1
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 +1 -1
- package/dist/commands/copilot.js +10 -2
- package/oclif.manifest.json +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -28,7 +28,7 @@ Generative AI features are built as [LangServe Apps](https://python.langchain.co
|
|
|
28
28
|
🚀 Checkout **[Vidhi Recipes](/vidhi/README.md)** for chatbot, RAG, imaging (DICOM) and MCPX for dockerized calculators
|
|
29
29
|
|
|
30
30
|
#### How (non‑technical / clinical)
|
|
31
|
-
DHTI includes ready‑to‑use [skills](/.
|
|
31
|
+
DHTI includes ready‑to‑use [skills](/.agents/skills/) that can prompt agentic platforms (e.g., [AntiGravity](https://antigravity.google/), VSCode, or Claude) to generate the GenAI backends and UI components (elixirs and conches) you need. Test these components with synthetic data in OpenMRS or the CDS‑Hooks sandbox, then hand them off to production teams. Because DHTI follows open standards, that handoff (the “valley of death”) becomes smoother and more predictable. Try the [prompts](/.agents/skills/start-dhti/examples/e2e-sample.md) in your preferred agentic platform after cloning this repo.
|
|
32
32
|
|
|
33
33
|
Other skills from the open agent skills ecosystem may be useful too! For example, use `npx skills find clinical trial` to find clinical trial related skills. From the results, you can use `npx skills add <skill-name>` to use the skill in your agentic platform. (e.g.`npx skills add anthropics/healthcare@clinical-trial-protocol-skill`)
|
|
34
34
|
|
package/dist/commands/copilot.js
CHANGED
|
@@ -65,8 +65,16 @@ export default class Copilot extends Command {
|
|
|
65
65
|
lowerPrompt.includes('openmrs')) {
|
|
66
66
|
return 'conch-generator';
|
|
67
67
|
}
|
|
68
|
-
//
|
|
69
|
-
|
|
68
|
+
// Use start-dhti if prompt includes 'start', 'show', or 'run'
|
|
69
|
+
if (lowerPrompt.includes('start') || lowerPrompt.includes('show') || lowerPrompt.includes('run')) {
|
|
70
|
+
return 'start-dhti';
|
|
71
|
+
}
|
|
72
|
+
// If none of the skills match, exit asking for a skill name and show available skills
|
|
73
|
+
const availableSkills = ['start-dhti', 'elixir-generator', 'conch-generator'];
|
|
74
|
+
this.error(`Could not detect the appropriate skill from the prompt.\n` +
|
|
75
|
+
`Please specify a skill name using --skill.\n` +
|
|
76
|
+
`Available skills: ${availableSkills.join(', ')}`);
|
|
77
|
+
return '';
|
|
70
78
|
}
|
|
71
79
|
/**
|
|
72
80
|
* Gets the path to the conversation history file
|
package/oclif.manifest.json
CHANGED