@skyramp/testbot-core 0.13.0-v3.193 → 0.13.0-v3.194

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/VERSION.json CHANGED
@@ -1 +1 @@
1
- {"version":"0.13.0-v3.193","commit":"6d977a4c2aeb558f78ff5a6afa0cfb1b4d17d732"}
1
+ {"version":"0.13.0-v3.194","commit":"c9e809f7751f3b6b00f0eb59a8d3d222308a20eb"}
package/dist/main.js CHANGED
@@ -457,9 +457,9 @@ function take(messages, notes) {
457
457
  fs.appendFileSync(files.events, lines.join(""));
458
458
  // Quoted, so a message's own line breaks cannot pass for a line of Skyramp's.
459
459
  const q = (text) => JSON.stringify(String(text));
460
- const own = { policy: "This policy's notes", test_environment: "The Test Environment's notes" };
460
+ // A Test Environment's own notes (SKYR-5269): an app from before sends a builds-and-deploys environment's as the policy's.
461
461
  const told = notes ? [notesLead, "- The Target's notes, saved by " + q(notes.by ?? "a person") + ": " + q(notes.target),
462
- ...(notes.own ? ["- " + own[notes.own.source] + ": " + q(notes.own.text)] : [])] : [];
462
+ ...(notes.own ? ["- This Test Environment's notes: " + q(notes.own.text)] : [])] : [];
463
463
  const said = messages.length > 0 ? [lead, ...messages.map((m) => m.kind === "answer"
464
464
  ? "- The answer to your question " + m.question + ", from " + q(m.by ?? "a person") + ": " + q(m.text)
465
465
  : "- Instruction " + m.id + " from " + q(m.by ?? "a person") + ": " + q(m.text))] : [];
package/dist/post.js CHANGED
@@ -279,9 +279,9 @@ function take(messages, notes) {
279
279
  fs.appendFileSync(files.events, lines.join(""));
280
280
  // Quoted, so a message's own line breaks cannot pass for a line of Skyramp's.
281
281
  const q = (text) => JSON.stringify(String(text));
282
- const own = { policy: "This policy's notes", test_environment: "The Test Environment's notes" };
282
+ // A Test Environment's own notes (SKYR-5269): an app from before sends a builds-and-deploys environment's as the policy's.
283
283
  const told = notes ? [notesLead, "- The Target's notes, saved by " + q(notes.by ?? "a person") + ": " + q(notes.target),
284
- ...(notes.own ? ["- " + own[notes.own.source] + ": " + q(notes.own.text)] : [])] : [];
284
+ ...(notes.own ? ["- This Test Environment's notes: " + q(notes.own.text)] : [])] : [];
285
285
  const said = messages.length > 0 ? [lead, ...messages.map((m) => m.kind === "answer"
286
286
  ? "- The answer to your question " + m.question + ", from " + q(m.by ?? "a person") + ": " + q(m.text)
287
287
  : "- Instruction " + m.id + " from " + q(m.by ?? "a person") + ": " + q(m.text))] : [];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skyramp/testbot-core",
3
- "version": "0.13.0-v3.193",
3
+ "version": "0.13.0-v3.194",
4
4
  "description": "Skyramp Testbot engine: AI-powered deterministic test generation, execution and maintenance",
5
5
  "main": "dist/main.js",
6
6
  "//files": "An explicit allowlist, never a glob. `dist/` is gitignored, so without this key npm's .gitignore fallback would publish a package with no engine in it; with a glob it would publish the sourcemaps, whose sourcesContent embeds every src/*.ts verbatim. dist/VERSION.json exists only in a release-engine.yml build. assets/gen-reference/ is the staged codegen reference corpus, which generate.ts finds at ../assets from dist/.",