create-windy 0.2.22 → 0.2.23
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/cli.js
CHANGED
|
@@ -4287,7 +4287,8 @@ var recipes = [
|
|
|
4287
4287
|
{ id: "starter-0.2.18-to-0.2.19", from: "0.2.18", to: "0.2.19" },
|
|
4288
4288
|
{ id: "starter-0.2.19-to-0.2.20", from: "0.2.19", to: "0.2.20" },
|
|
4289
4289
|
{ id: "starter-0.2.20-to-0.2.21", from: "0.2.20", to: "0.2.21" },
|
|
4290
|
-
{ id: "starter-0.2.21-to-0.2.22", from: "0.2.21", to: "0.2.22" }
|
|
4290
|
+
{ id: "starter-0.2.21-to-0.2.22", from: "0.2.21", to: "0.2.22" },
|
|
4291
|
+
{ id: "starter-0.2.22-to-0.2.23", from: "0.2.22", to: "0.2.23" }
|
|
4291
4292
|
];
|
|
4292
4293
|
function resolveRecipeChain(sourceVersion, targetVersion) {
|
|
4293
4294
|
if (sourceVersion === targetVersion)
|
|
@@ -5122,14 +5123,15 @@ async function finalize(result2) {
|
|
|
5122
5123
|
const generationContent = `${JSON.stringify(result2.plan.targetProvenance, null, 2)}
|
|
5123
5124
|
`;
|
|
5124
5125
|
await writeFile12(join17(root, ".windy/generation.json"), generationContent);
|
|
5126
|
+
const deletedPaths = new Set(result2.plan.files.filter(({ action }) => action === "delete").map(({ path: path2 }) => path2));
|
|
5125
5127
|
const refreshedPaths = new Set([
|
|
5126
5128
|
".windy/generation.json",
|
|
5127
|
-
...result2.changedFiles
|
|
5129
|
+
...result2.changedFiles.filter((path2) => !deletedPaths.has(path2))
|
|
5128
5130
|
]);
|
|
5129
5131
|
const refreshedHashes = new Map(await Promise.all([...refreshedPaths].map(async (path2) => [path2, hashContent(await readFile16(join17(root, path2)))])));
|
|
5130
5132
|
const targetManifest = {
|
|
5131
5133
|
...result2.plan.targetManifest,
|
|
5132
|
-
files: result2.plan.targetManifest.files.map((entry) => ({
|
|
5134
|
+
files: result2.plan.targetManifest.files.filter((entry) => !deletedPaths.has(entry.path)).map((entry) => ({
|
|
5133
5135
|
...entry,
|
|
5134
5136
|
hash: refreshedHashes.get(entry.path) ?? entry.hash
|
|
5135
5137
|
}))
|
package/package.json
CHANGED
|
@@ -114,7 +114,7 @@ SSE 事件包括 `output.delta`、`tool.requested`、`tool.completed`、usage,
|
|
|
114
114
|
`run.completed`、`run.failed` 或 `run.cancelled` 终态。断线后使用已确认 sequence 作为
|
|
115
115
|
cursor 恢复;不要重新创建 Run 或重复执行 Tool。
|
|
116
116
|
|
|
117
|
-
## 从 create-windy 0.2.21
|
|
117
|
+
## 从 create-windy 0.2.21 或更早版本升级
|
|
118
118
|
|
|
119
119
|
先检查计划,再应用连续 recipe:
|
|
120
120
|
|