create-kai 0.2.0 → 0.2.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/dist/index.js +5 -5
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4578,7 +4578,7 @@ function detectPackageManager(userAgent = process.env.npm_config_user_agent) {
|
|
|
4578
4578
|
var OFFERABLE_FEATURE_IDS = [
|
|
4579
4579
|
...new Set(readyFrameworks().flatMap((f) => availableFeatures(f).map((feature) => feature.id)))
|
|
4580
4580
|
];
|
|
4581
|
-
var DEFAULT_KIT_RANGE = "^0.
|
|
4581
|
+
var DEFAULT_KIT_RANGE = "^0.27.0";
|
|
4582
4582
|
var HELP = `
|
|
4583
4583
|
${import_picocolors3.default.bold("create-kai")} \u2014 scaffold a runnable @kitn.ai/ui chat app
|
|
4584
4584
|
|
|
@@ -4609,7 +4609,7 @@ async function main() {
|
|
|
4609
4609
|
return 0;
|
|
4610
4610
|
}
|
|
4611
4611
|
if (args.version) {
|
|
4612
|
-
console.log("0.2.
|
|
4612
|
+
console.log("0.2.1");
|
|
4613
4613
|
return 0;
|
|
4614
4614
|
}
|
|
4615
4615
|
if (args.list) {
|
|
@@ -4729,7 +4729,7 @@ Available for ${framework.label}: ${featureList(offered)}`);
|
|
|
4729
4729
|
// which kit the CLI was built against, which stays true when `--kit` sends
|
|
4730
4730
|
// the dependency somewhere else — the emitted files are this version's shape
|
|
4731
4731
|
// whatever the project ends up installing.
|
|
4732
|
-
kitBuiltAgainst: "0.
|
|
4732
|
+
kitBuiltAgainst: "0.27.0"
|
|
4733
4733
|
};
|
|
4734
4734
|
const spinner = Y2();
|
|
4735
4735
|
spinner.start("Scaffolding");
|
|
@@ -4811,12 +4811,12 @@ function run(command, cwd) {
|
|
|
4811
4811
|
}
|
|
4812
4812
|
function printMatrix(asJson) {
|
|
4813
4813
|
const matrix = {
|
|
4814
|
-
cli: "0.2.
|
|
4814
|
+
cli: "0.2.1",
|
|
4815
4815
|
kit: DEFAULT_KIT_RANGE,
|
|
4816
4816
|
// The same pair `kai.json` carries. An agent reading this to decide what to
|
|
4817
4817
|
// install gets the range; one reasoning about which kit the templates match
|
|
4818
4818
|
// gets the exact version, without having to parse the range for a floor.
|
|
4819
|
-
kitBuiltAgainst: "0.
|
|
4819
|
+
kitBuiltAgainst: "0.27.0",
|
|
4820
4820
|
frameworks: FRAMEWORKS.map((f) => ({
|
|
4821
4821
|
id: f.id,
|
|
4822
4822
|
label: f.label,
|