@h-ai/cli 0.1.0-alpha.18 → 0.1.0-alpha.19
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/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/templates/apps/android-app/src/lib/api.ts.hbs +1 -1
- package/templates/base/package.json.hbs +25 -24
- package/templates/features/payment/routes/api/v1/payment/create/+server.ts +15 -7
- package/templates/features/payment/routes/api/v1/payment/notify/[provider]/+server.ts +1 -2
- package/templates/skills/hai-ai/SKILL.md +2 -0
- package/templates/skills/hai-api-client/SKILL.md +4 -0
- package/templates/skills/hai-audit/SKILL.md +7 -2
- package/templates/skills/hai-cache/SKILL.md +2 -0
- package/templates/skills/hai-capacitor/SKILL.md +11 -9
- package/templates/skills/hai-core/SKILL.md +4 -1
- package/templates/skills/hai-crypto/SKILL.md +42 -8
- package/templates/skills/hai-iam/SKILL.md +2 -0
- package/templates/skills/hai-kit/SKILL.md +9 -2
- package/templates/skills/hai-payment/SKILL.md +5 -0
- package/templates/skills/hai-reach/SKILL.md +3 -1
- package/templates/skills/hai-reldb/SKILL.md +2 -0
- package/templates/skills/hai-scheduler/SKILL.md +2 -0
- package/templates/skills/hai-serv/SKILL.md +3 -0
- package/templates/skills/hai-storage/SKILL.md +10 -1
- package/templates/skills/hai-vecdb/SKILL.md +8 -1
package/dist/index.js
CHANGED
|
@@ -83,7 +83,7 @@ registerHelpers();
|
|
|
83
83
|
Handlebars.registerHelper("if_eq", function(a, b, options) {
|
|
84
84
|
return a === b ? options.fn(this) : options.inverse(this);
|
|
85
85
|
});
|
|
86
|
-
var HAI_VERSION = "
|
|
86
|
+
var HAI_VERSION = `^${fse.readJsonSync(fileURLToPath(new URL("../../package.json", import.meta.url))).version}`;
|
|
87
87
|
var TEMPLATE_SKIP_IF_EMPTY_MARKER = "@skipIfEmpty";
|
|
88
88
|
var NORMALIZED_RENDER_EXTENSIONS = /* @__PURE__ */ new Set([".ts", ".js", ".svelte", ".json", ".css"]);
|
|
89
89
|
var VERSIONS = {
|