Update Pi runtime packages
This commit is contained in:
@@ -65,6 +65,8 @@ test("deepresearch workflow requires durable artifacts even when blocked", () =>
|
||||
assert.match(systemPrompt, /Do not claim you are only a static model/i);
|
||||
assert.match(systemPrompt, /write the requested durable artifact/i);
|
||||
assert.match(deepResearchPrompt, /Do not stop after planning/i);
|
||||
assert.match(deepResearchPrompt, /not a request to explain or implement/i);
|
||||
assert.match(deepResearchPrompt, /Do not answer by describing the protocol/i);
|
||||
assert.match(deepResearchPrompt, /degraded mode/i);
|
||||
assert.match(deepResearchPrompt, /Verification: BLOCKED/i);
|
||||
assert.match(deepResearchPrompt, /Never end with only an explanation in chat/i);
|
||||
|
||||
@@ -243,6 +243,10 @@ test("updateConfiguredPackages batches multiple npm updates into a single instal
|
||||
` console.log(resolve(${JSON.stringify(root)}, "npm-global", "lib", "node_modules"));`,
|
||||
` process.exit(0);`,
|
||||
`}`,
|
||||
`if (args.length >= 4 && args[0] === "view" && args[2] === "version" && args[3] === "--json") {`,
|
||||
` console.log(JSON.stringify("2.0.0"));`,
|
||||
` process.exit(0);`,
|
||||
`}`,
|
||||
`appendFileSync(${JSON.stringify(logPath)}, JSON.stringify(args) + "\\n", "utf8");`,
|
||||
"process.exit(0);",
|
||||
].join("\n"));
|
||||
@@ -290,6 +294,10 @@ test("updateConfiguredPackages skips native package updates on unsupported Node
|
||||
` console.log(resolve(${JSON.stringify(root)}, "npm-global", "lib", "node_modules"));`,
|
||||
` process.exit(0);`,
|
||||
`}`,
|
||||
`if (args.length >= 4 && args[0] === "view" && args[2] === "version" && args[3] === "--json") {`,
|
||||
` console.log(JSON.stringify("2.0.0"));`,
|
||||
` process.exit(0);`,
|
||||
`}`,
|
||||
`appendFileSync(${JSON.stringify(logPath)}, JSON.stringify(args) + "\\n", "utf8");`,
|
||||
"process.exit(0);",
|
||||
].join("\n"));
|
||||
|
||||
Reference in New Issue
Block a user