@sweny-ai/core 0.1.203 → 0.1.205

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.
@@ -21,8 +21,8 @@ export function deprecatedFlagName(spec) {
21
21
  }
22
22
  export function deprecationWarning(flags) {
23
23
  const list = flags.join(", ");
24
- const subject = flags.length === 1 ? `${list} is deprecated` : `${list} are deprecated`;
25
- return `warning: ${subject}, has no effect and will be removed in a future minor version.\n`;
24
+ const subject = flags.length === 1 ? `${list} is deprecated and has` : `${list} are deprecated and have`;
25
+ return `warning: ${subject} no effect and will be removed in a future minor version.\n`;
26
26
  }
27
27
  /**
28
28
  * Accept every deprecated flag that `cmd` used to have. Hidden from help, no
package/dist/index.d.ts CHANGED
@@ -65,3 +65,10 @@ export { SWENY_TAGLINE, PALETTE, ROLE_COLORS, SURFACE_COLORS, GLYPHS, SPINNER_FR
65
65
  export type { ColorRole, GlyphKey, GlyphSet, TicketBox, DiagramNodeStatus } from "./theme.js";
66
66
  export { loadConfigFile } from "./cli/config-file.js";
67
67
  export type { FileConfig } from "./cli/config-file.js";
68
+ export { listRuns, RUN_HISTORY_DIR } from "./cli/run-history.js";
69
+ export type { RunRecord, RunNodeRecord, RunTotals, RunStatus, RunKindSpend } from "./cli/run-history.js";
70
+ export { readRunAnswers, compareAnswers } from "./cli/run-answers.js";
71
+ export type { RunAnswers, AnswersComparison, AnswerDiff } from "./cli/run-answers.js";
72
+ export { printableRun, pickRunsForDiff, formatRunsTable } from "./cli/runs.js";
73
+ export { sanitizeTerminal } from "./cli/terminal.js";
74
+ export { skillEnvWarnings } from "./cli/skill-env.js";
package/dist/index.js CHANGED
@@ -66,3 +66,10 @@ export { toMermaid, toMermaidBlock } from "./mermaid.js";
66
66
  export { SWENY_TAGLINE, PALETTE, ROLE_COLORS, SURFACE_COLORS, GLYPHS, SPINNER_FRAMES, SPINNER_INTERVAL_MS, TICKET_BOX, MERMAID_CLASS_DEFS, MERMAID_EDGE_STYLES, } from "./theme.js";
67
67
  // Config file
68
68
  export { loadConfigFile } from "./cli/config-file.js";
69
+ // Run history and `sweny runs` / `sweny runs diff` (read-only; history is untrusted, see run-history.ts)
70
+ export { listRuns, RUN_HISTORY_DIR } from "./cli/run-history.js";
71
+ export { readRunAnswers, compareAnswers } from "./cli/run-answers.js";
72
+ export { printableRun, pickRunsForDiff, formatRunsTable } from "./cli/runs.js";
73
+ export { sanitizeTerminal } from "./cli/terminal.js";
74
+ // `sweny workflow validate`: skill-env warnings
75
+ export { skillEnvWarnings } from "./cli/skill-env.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sweny-ai/core",
3
- "version": "0.1.203",
3
+ "version": "0.1.205",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "sweny": "./dist/cli/main.js"