Appearance
hailer-sdk update-project
Update the project files to the installed SDK version.
Usage
bash
npm run update-project
# or
npx hailer-sdk update-projectIt also runs as part of npm run sdk-update, before agent-config:
bash
npm install @hailer/sdk@latest && hailer-sdk update-project && hailer-sdk agent-configFlags
| Flag | Effect |
|---|---|
--verbose | Detailed logging. |
What it Does
- Copies
hailer.d.tsfrom the installed SDK toworkspace/hailer.d.ts. - Adds the SDK scripts to
package.json. A script with the same name as an SDK script gets the SDK value; your own scripts stay. - Copies the SDK documentation to
docs/. The files the SDK ships are overwritten; your own files indocs/stay. - Removes the old
postinstallandmcp-updatescripts whenpostinstallstill copies files from@hailer/mcp(projects created with SDK 0.23.0 and below).