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 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](/.github/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](/.github/skills/start-dhti/examples/e2e-sample.md) in your preferred agentic platform after cloning this repo.
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
 
@@ -65,8 +65,16 @@ export default class Copilot extends Command {
65
65
  lowerPrompt.includes('openmrs')) {
66
66
  return 'conch-generator';
67
67
  }
68
- // Default to start-dhti for general setup/orchestration
69
- return 'start-dhti';
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
@@ -882,5 +882,5 @@
882
882
  ]
883
883
  }
884
884
  },
885
- "version": "1.3.0"
885
+ "version": "1.3.1"
886
886
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "dhti-cli",
3
3
  "description": "DHTI CLI",
4
- "version": "1.3.0",
4
+ "version": "1.3.1",
5
5
  "author": "Bell Eapen",
6
6
  "bin": {
7
7
  "dhti-cli": "bin/run.js"