@plune-ai/cairn 0.4.2 → 0.5.0

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.
Files changed (110) hide show
  1. package/README.md +49 -261
  2. package/dist/agent/graph.d.ts +24 -0
  3. package/dist/agent/graph.d.ts.map +1 -1
  4. package/dist/agent/graph.js +74 -2
  5. package/dist/agent/graph.js.map +1 -1
  6. package/dist/agent/index.d.ts +12 -0
  7. package/dist/agent/index.d.ts.map +1 -1
  8. package/dist/agent/index.js +101 -3
  9. package/dist/agent/index.js.map +1 -1
  10. package/dist/artifacts/index.d.ts +21 -0
  11. package/dist/artifacts/index.d.ts.map +1 -1
  12. package/dist/artifacts/index.js +58 -1
  13. package/dist/artifacts/index.js.map +1 -1
  14. package/dist/artifacts/report.d.ts +8 -0
  15. package/dist/artifacts/report.d.ts.map +1 -1
  16. package/dist/artifacts/report.js +47 -0
  17. package/dist/artifacts/report.js.map +1 -1
  18. package/dist/browser/backends/playwright-lib.d.ts +12 -0
  19. package/dist/browser/backends/playwright-lib.d.ts.map +1 -1
  20. package/dist/browser/backends/playwright-lib.js +48 -3
  21. package/dist/browser/backends/playwright-lib.js.map +1 -1
  22. package/dist/browser/recovery.d.ts +42 -0
  23. package/dist/browser/recovery.d.ts.map +1 -0
  24. package/dist/browser/recovery.js +62 -0
  25. package/dist/browser/recovery.js.map +1 -0
  26. package/dist/browser/types.d.ts +7 -0
  27. package/dist/browser/types.d.ts.map +1 -1
  28. package/dist/cli/index.d.ts.map +1 -1
  29. package/dist/cli/index.js +20 -0
  30. package/dist/cli/index.js.map +1 -1
  31. package/dist/codegen/journey-setup.d.ts +14 -0
  32. package/dist/codegen/journey-setup.d.ts.map +1 -0
  33. package/dist/codegen/journey-setup.js +69 -0
  34. package/dist/codegen/journey-setup.js.map +1 -0
  35. package/dist/core/modalities/explore.d.ts.map +1 -1
  36. package/dist/core/modalities/explore.js +10 -0
  37. package/dist/core/modalities/explore.js.map +1 -1
  38. package/dist/design/critique.d.ts +86 -0
  39. package/dist/design/critique.d.ts.map +1 -0
  40. package/dist/design/critique.js +62 -0
  41. package/dist/design/critique.js.map +1 -0
  42. package/dist/design/schema.d.ts +74 -0
  43. package/dist/design/schema.d.ts.map +1 -1
  44. package/dist/design/schema.js +22 -0
  45. package/dist/design/schema.js.map +1 -1
  46. package/dist/design/style.d.ts +18 -0
  47. package/dist/design/style.d.ts.map +1 -0
  48. package/dist/design/style.js +34 -0
  49. package/dist/design/style.js.map +1 -0
  50. package/dist/eval/coverage.d.ts +49 -0
  51. package/dist/eval/coverage.d.ts.map +1 -0
  52. package/dist/eval/coverage.js +60 -0
  53. package/dist/eval/coverage.js.map +1 -0
  54. package/dist/eval/gap-cases.d.ts +21 -0
  55. package/dist/eval/gap-cases.d.ts.map +1 -0
  56. package/dist/eval/gap-cases.js +27 -0
  57. package/dist/eval/gap-cases.js.map +1 -0
  58. package/dist/eval/legend.d.ts +3 -3
  59. package/dist/eval/legend.js +3 -3
  60. package/dist/eval/pilot.d.ts +4 -1
  61. package/dist/eval/pilot.d.ts.map +1 -1
  62. package/dist/eval/pilot.js +9 -2
  63. package/dist/eval/pilot.js.map +1 -1
  64. package/dist/flow/crawl.d.ts +66 -0
  65. package/dist/flow/crawl.d.ts.map +1 -0
  66. package/dist/flow/crawl.js +0 -0
  67. package/dist/flow/crawl.js.map +1 -0
  68. package/dist/flow/journey.d.ts +25 -0
  69. package/dist/flow/journey.d.ts.map +1 -0
  70. package/dist/flow/journey.js +51 -0
  71. package/dist/flow/journey.js.map +1 -0
  72. package/dist/flow/setup.d.ts +85 -0
  73. package/dist/flow/setup.d.ts.map +1 -0
  74. package/dist/flow/setup.js +65 -0
  75. package/dist/flow/setup.js.map +1 -0
  76. package/dist/llm/schema-lint.d.ts +9 -0
  77. package/dist/llm/schema-lint.d.ts.map +1 -0
  78. package/dist/llm/schema-lint.js +42 -0
  79. package/dist/llm/schema-lint.js.map +1 -0
  80. package/dist/observe/parse-aria.d.ts.map +1 -1
  81. package/dist/observe/parse-aria.js +11 -2
  82. package/dist/observe/parse-aria.js.map +1 -1
  83. package/dist/prompts/local/index.d.ts.map +1 -1
  84. package/dist/prompts/local/index.js +8 -0
  85. package/dist/prompts/local/index.js.map +1 -1
  86. package/dist/prompts/local/pilot-review.d.ts +1 -1
  87. package/dist/prompts/local/pilot-review.d.ts.map +1 -1
  88. package/dist/prompts/local/pilot-review.js +2 -1
  89. package/dist/prompts/local/pilot-review.js.map +1 -1
  90. package/dist/prompts/local/qa-case-critique.d.ts +8 -0
  91. package/dist/prompts/local/qa-case-critique.d.ts.map +1 -0
  92. package/dist/prompts/local/qa-case-critique.js +34 -0
  93. package/dist/prompts/local/qa-case-critique.js.map +1 -0
  94. package/dist/prompts/local/qa-gap-cases.d.ts +7 -0
  95. package/dist/prompts/local/qa-gap-cases.d.ts.map +1 -0
  96. package/dist/prompts/local/qa-gap-cases.js +22 -0
  97. package/dist/prompts/local/qa-gap-cases.js.map +1 -0
  98. package/dist/prompts/local/qa-journey-from-flow.d.ts +7 -0
  99. package/dist/prompts/local/qa-journey-from-flow.d.ts.map +1 -0
  100. package/dist/prompts/local/qa-journey-from-flow.js +29 -0
  101. package/dist/prompts/local/qa-journey-from-flow.js.map +1 -0
  102. package/dist/prompts/local/qa-setup-planner.d.ts +6 -0
  103. package/dist/prompts/local/qa-setup-planner.d.ts.map +1 -0
  104. package/dist/prompts/local/qa-setup-planner.js +28 -0
  105. package/dist/prompts/local/qa-setup-planner.js.map +1 -0
  106. package/dist/safety/guardrails.d.ts +36 -0
  107. package/dist/safety/guardrails.d.ts.map +1 -0
  108. package/dist/safety/guardrails.js +60 -0
  109. package/dist/safety/guardrails.js.map +1 -0
  110. package/package.json +1 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"qa-journey-from-flow.d.ts","sourceRoot":"","sources":["../../../src/prompts/local/qa-journey-from-flow.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,eAAO,MAAM,oBAAoB,8yDAsBsD,CAAC"}
@@ -0,0 +1,29 @@
1
+ /**
2
+ * #59 — journey design prompt. Generates multi-page USER JOURNEY cases from the observed page/flow
3
+ * graph. SEPARATE from the per-page design prompt — it does not redesign per-page cases and does not
4
+ * touch the methodology / assertion-safety rules in `qa-testcase-from-ui`.
5
+ */
6
+ export const QA_JOURNEY_FROM_FLOW = `You are an experienced QA engineer. From the observed page/flow GRAPH below, design end-to-end USER JOURNEY test cases that span MULTIPLE pages (e.g. login → dashboard → action).
7
+ Write all titles, actions, expected in {{language}} — do not mix languages.
8
+
9
+ Pages studied (each with its REAL interactive elements — ref · role · name). In a step's elementRefs use ONLY refs from THAT step's page — never invent refs and never use a ref from another page:
10
+ {{pages}}
11
+
12
+ Observed transitions between pages (act→observe — these are REAL navigations you may rely on):
13
+ {{edges}}
14
+
15
+ Design journeys that cross page boundaries. For each journey:
16
+ - title — concise title of the end-to-end flow;
17
+ - technique — applied 29119-4 technique (state-transition fits multi-step flows well);
18
+ - type — "Positive" | "Negative";
19
+ - preconditions — what must be true before the journey starts (e.g. "a registered user");
20
+ - steps — an ORDERED list; each step has: page (one of the page URLs above), action (real labels), elementRefs (refs from THAT page only);
21
+ - expected — a single verifiable end state;
22
+ - priority — critical | high | medium | low.
23
+
24
+ RULES (a journey is a TEST — keep it safe and runnable):
25
+ - A journey MUST span at least TWO distinct pages (≥2 different page URLs across its steps). Single-page checks are NOT journeys — omit them.
26
+ - Read-only by default: assert visibility/state. For destructive/irreversible controls (Delete, Remove, Submit that writes, Log out) only assert the control is VISIBLE — do NOT perform the action.
27
+ - Each step is grounded on its page's observed elements; do not assume elements the graph did not show.
28
+ - Prefer journeys that follow the OBSERVED transitions above (they are known to work).`;
29
+ //# sourceMappingURL=qa-journey-from-flow.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"qa-journey-from-flow.js","sourceRoot":"","sources":["../../../src/prompts/local/qa-journey-from-flow.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAG;;;;;;;;;;;;;;;;;;;;;;uFAsBmD,CAAC"}
@@ -0,0 +1,6 @@
1
+ /**
2
+ * #60 — setup planner prompt. Turns a journey's PROSE preconditions into STRUCTURED ones, each with a
3
+ * satisfaction strategy. Worker-tier (mechanical extraction). Does not touch design methodology.
4
+ */
5
+ export declare const QA_SETUP_PLANNER = "You map a test journey's preconditions to a concrete SETUP plan \u2014 how to establish the starting state BEFORE the journey runs.\n\nJourney: {{title}}\nPages it visits: {{pages}}\nPage purpose: {{pageSemantics}}\n\nStated preconditions (prose):\n{{preconditions}}\n\nFor EACH precondition, choose ONE strategy, in this PRIORITY order (pick the highest that genuinely applies):\n1. \"session\" \u2014 already true because the run reuses a captured login session (auth / \"logged-in user\"). Prefer this for anything auth-related.\n2. \"fixture\" \u2014 can be set up by driving the UI to the starting state (navigate, open, select). Use when no API is known.\n3. \"api-seed\" \u2014 ONLY when a concrete, safe seeding endpoint is obvious (e.g. a REST path you can name). You MUST provide \"endpoint\" (and \"method\"). Never guess an endpoint.\n4. \"manual\" \u2014 anything else, or anything that would require fabricating data / destructive seeding. This is the safe fallback.\n\nRules:\n- NEVER invent an endpoint. If you can't name a concrete one, do NOT use api-seed \u2014 use fixture or manual.\n- NEVER propose destructive seeding (deleting/overwriting real data) \u2014 use manual.\n- \"description\" is always required (it doubles as the documented manual precondition).\n- \"entity\" is the thing the state is about (e.g. \"item\", \"user on plan Pro\"), or null if not identifiable.\n- ALWAYS return EVERY field in EACH precondition object \u2014 \"description\", \"strategy\", \"entity\", \"endpoint\" and \"method\". When a field does not apply (entity has none, or endpoint/method for a non-api-seed strategy), return it EXPLICITLY as null. Never omit a field.\n\nReturn { preconditions: [ { description, strategy, entity, endpoint, method } ] } \u2014 every key present in every object; use null for any that doesn't apply (endpoint and method are non-null ONLY for api-seed).";
6
+ //# sourceMappingURL=qa-setup-planner.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"qa-setup-planner.d.ts","sourceRoot":"","sources":["../../../src/prompts/local/qa-setup-planner.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,eAAO,MAAM,gBAAgB,+2DAsBoL,CAAC"}
@@ -0,0 +1,28 @@
1
+ /**
2
+ * #60 — setup planner prompt. Turns a journey's PROSE preconditions into STRUCTURED ones, each with a
3
+ * satisfaction strategy. Worker-tier (mechanical extraction). Does not touch design methodology.
4
+ */
5
+ export const QA_SETUP_PLANNER = `You map a test journey's preconditions to a concrete SETUP plan — how to establish the starting state BEFORE the journey runs.
6
+
7
+ Journey: {{title}}
8
+ Pages it visits: {{pages}}
9
+ Page purpose: {{pageSemantics}}
10
+
11
+ Stated preconditions (prose):
12
+ {{preconditions}}
13
+
14
+ For EACH precondition, choose ONE strategy, in this PRIORITY order (pick the highest that genuinely applies):
15
+ 1. "session" — already true because the run reuses a captured login session (auth / "logged-in user"). Prefer this for anything auth-related.
16
+ 2. "fixture" — can be set up by driving the UI to the starting state (navigate, open, select). Use when no API is known.
17
+ 3. "api-seed" — ONLY when a concrete, safe seeding endpoint is obvious (e.g. a REST path you can name). You MUST provide "endpoint" (and "method"). Never guess an endpoint.
18
+ 4. "manual" — anything else, or anything that would require fabricating data / destructive seeding. This is the safe fallback.
19
+
20
+ Rules:
21
+ - NEVER invent an endpoint. If you can't name a concrete one, do NOT use api-seed — use fixture or manual.
22
+ - NEVER propose destructive seeding (deleting/overwriting real data) — use manual.
23
+ - "description" is always required (it doubles as the documented manual precondition).
24
+ - "entity" is the thing the state is about (e.g. "item", "user on plan Pro"), or null if not identifiable.
25
+ - ALWAYS return EVERY field in EACH precondition object — "description", "strategy", "entity", "endpoint" and "method". When a field does not apply (entity has none, or endpoint/method for a non-api-seed strategy), return it EXPLICITLY as null. Never omit a field.
26
+
27
+ Return { preconditions: [ { description, strategy, entity, endpoint, method } ] } — every key present in every object; use null for any that doesn't apply (endpoint and method are non-null ONLY for api-seed).`;
28
+ //# sourceMappingURL=qa-setup-planner.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"qa-setup-planner.js","sourceRoot":"","sources":["../../../src/prompts/local/qa-setup-planner.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG;;;;;;;;;;;;;;;;;;;;;;iNAsBiL,CAAC"}
@@ -0,0 +1,36 @@
1
+ import type { PilotVerdict } from "../eval/pilot.js";
2
+ /**
3
+ * Two cheap safety rules borrowed from Explorbot (BORROW-04, #91), to land BEFORE any stateful /
4
+ * destructive automation:
5
+ * 1. Provenance-checked verdicts — a "pass" must be backed by evidence the entity it claims really
6
+ * exists in the run's session log (kills a class of LLM false-positives).
7
+ * 2. Data-protection — never delete pre-existing data or the resource under the current URL; only
8
+ * items this run created itself are disposable.
9
+ *
10
+ * Pure, side-effect-free — the host wires them into the Pilot judge and the setup planner.
11
+ */
12
+ /**
13
+ * Gate a Pilot verdict on provenance: a "pass" that names a created/edited entity is only trusted when
14
+ * that entity actually appears (by name) in the session log. An unfounded "pass" is downgraded to
15
+ * "needs-work" with the reason recorded. Non-"pass" verdicts and read-only runs (no entity) pass through.
16
+ */
17
+ export declare function checkProvenance(verdict: PilotVerdict, sessionLog: string[]): PilotVerdict;
18
+ export interface DeletionContext {
19
+ /** URL of the page/resource under test — deleting it is always forbidden. */
20
+ currentUrl?: string;
21
+ /** Names/ids this run created itself — the ONLY things that may be deleted. */
22
+ selfCreated?: Iterable<string>;
23
+ }
24
+ export interface GuardResult {
25
+ allowed: boolean;
26
+ /** Human-readable basis for the decision (always set — surfaced to the planner/report). */
27
+ reason: string;
28
+ }
29
+ /**
30
+ * Decide whether deleting `target` is permitted. Forbidden: the resource under the current URL, and any
31
+ * pre-existing datum (anything not in `selfCreated`). Permitted: an item this run created itself.
32
+ */
33
+ export declare function guardDeletion(target: string, ctx?: DeletionContext): GuardResult;
34
+ /** Whether a free-text step/precondition expresses an intent to delete or clear data. */
35
+ export declare function isDeletionIntent(text: string): boolean;
36
+ //# sourceMappingURL=guardrails.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"guardrails.d.ts","sourceRoot":"","sources":["../../src/safety/guardrails.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAErD;;;;;;;;;GASG;AAIH;;;;GAIG;AACH,wBAAgB,eAAe,CAAC,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,EAAE,GAAG,YAAY,CAazF;AAID,MAAM,WAAW,eAAe;IAC9B,6EAA6E;IAC7E,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,+EAA+E;IAC/E,WAAW,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAC;CAChC;AAED,MAAM,WAAW,WAAW;IAC1B,OAAO,EAAE,OAAO,CAAC;IACjB,2FAA2F;IAC3F,MAAM,EAAE,MAAM,CAAC;CAChB;AAID;;;GAGG;AACH,wBAAgB,aAAa,CAAC,MAAM,EAAE,MAAM,EAAE,GAAG,GAAE,eAAoB,GAAG,WAAW,CAgBpF;AAKD,yFAAyF;AACzF,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAEtD"}
@@ -0,0 +1,60 @@
1
+ /**
2
+ * Two cheap safety rules borrowed from Explorbot (BORROW-04, #91), to land BEFORE any stateful /
3
+ * destructive automation:
4
+ * 1. Provenance-checked verdicts — a "pass" must be backed by evidence the entity it claims really
5
+ * exists in the run's session log (kills a class of LLM false-positives).
6
+ * 2. Data-protection — never delete pre-existing data or the resource under the current URL; only
7
+ * items this run created itself are disposable.
8
+ *
9
+ * Pure, side-effect-free — the host wires them into the Pilot judge and the setup planner.
10
+ */
11
+ // ── 1. Provenance ───────────────────────────────────────────────────────────
12
+ /**
13
+ * Gate a Pilot verdict on provenance: a "pass" that names a created/edited entity is only trusted when
14
+ * that entity actually appears (by name) in the session log. An unfounded "pass" is downgraded to
15
+ * "needs-work" with the reason recorded. Non-"pass" verdicts and read-only runs (no entity) pass through.
16
+ */
17
+ export function checkProvenance(verdict, sessionLog) {
18
+ if (verdict.verdict !== "pass")
19
+ return verdict;
20
+ const entity = verdict.entity.trim();
21
+ if (!entity)
22
+ return verdict; // read-only run / nothing claimed → nothing to prove
23
+ const haystack = sessionLog.join("\n").toLowerCase();
24
+ if (haystack.includes(entity.toLowerCase()))
25
+ return verdict;
26
+ return {
27
+ ...verdict,
28
+ verdict: "needs-work",
29
+ reason: `Provenance check: entity "${entity}" was reported as created/edited but is absent from the ` +
30
+ `session log — rejecting "pass" to avoid a false-positive. ${verdict.reason}`.trim(),
31
+ };
32
+ }
33
+ const norm = (s) => s.trim().toLowerCase().replace(/\/+$/, "");
34
+ /**
35
+ * Decide whether deleting `target` is permitted. Forbidden: the resource under the current URL, and any
36
+ * pre-existing datum (anything not in `selfCreated`). Permitted: an item this run created itself.
37
+ */
38
+ export function guardDeletion(target, ctx = {}) {
39
+ const t = target.trim();
40
+ if (!t)
41
+ return { allowed: false, reason: "Refusing to delete: empty target." };
42
+ if (ctx.currentUrl && norm(t) === norm(ctx.currentUrl)) {
43
+ return { allowed: false, reason: `Refusing to delete the resource under the current URL (${ctx.currentUrl}).` };
44
+ }
45
+ const selfCreated = new Set([...(ctx.selfCreated ?? [])].map(norm));
46
+ if (selfCreated.has(norm(t))) {
47
+ return { allowed: true, reason: `Allowed: "${t}" was created by this run (disposable).` };
48
+ }
49
+ return {
50
+ allowed: false,
51
+ reason: `Refusing to delete pre-existing data "${t}" — only self-created items may be removed.`,
52
+ };
53
+ }
54
+ /** Words that signal an intent to delete/clear data — used to gate stateful setup steps. */
55
+ const DELETION_INTENT = /\b(delete|remove|clear|empty|purge|reset|wipe|drop|teardown|clean\s?-?up)\b/i;
56
+ /** Whether a free-text step/precondition expresses an intent to delete or clear data. */
57
+ export function isDeletionIntent(text) {
58
+ return DELETION_INTENT.test(text);
59
+ }
60
+ //# sourceMappingURL=guardrails.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"guardrails.js","sourceRoot":"","sources":["../../src/safety/guardrails.ts"],"names":[],"mappings":"AAEA;;;;;;;;;GASG;AAEH,+EAA+E;AAE/E;;;;GAIG;AACH,MAAM,UAAU,eAAe,CAAC,OAAqB,EAAE,UAAoB;IACzE,IAAI,OAAO,CAAC,OAAO,KAAK,MAAM;QAAE,OAAO,OAAO,CAAC;IAC/C,MAAM,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC;IACrC,IAAI,CAAC,MAAM;QAAE,OAAO,OAAO,CAAC,CAAC,qDAAqD;IAClF,MAAM,QAAQ,GAAG,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,WAAW,EAAE,CAAC;IACrD,IAAI,QAAQ,CAAC,QAAQ,CAAC,MAAM,CAAC,WAAW,EAAE,CAAC;QAAE,OAAO,OAAO,CAAC;IAC5D,OAAO;QACL,GAAG,OAAO;QACV,OAAO,EAAE,YAAY;QACrB,MAAM,EACJ,6BAA6B,MAAM,0DAA0D;YAC7F,6DAA6D,OAAO,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;KACvF,CAAC;AACJ,CAAC;AAiBD,MAAM,IAAI,GAAG,CAAC,CAAS,EAAU,EAAE,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,WAAW,EAAE,CAAC,OAAO,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC;AAE/E;;;GAGG;AACH,MAAM,UAAU,aAAa,CAAC,MAAc,EAAE,MAAuB,EAAE;IACrE,MAAM,CAAC,GAAG,MAAM,CAAC,IAAI,EAAE,CAAC;IACxB,IAAI,CAAC,CAAC;QAAE,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,mCAAmC,EAAE,CAAC;IAE/E,IAAI,GAAG,CAAC,UAAU,IAAI,IAAI,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC,GAAG,CAAC,UAAU,CAAC,EAAE,CAAC;QACvD,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,0DAA0D,GAAG,CAAC,UAAU,IAAI,EAAE,CAAC;IAClH,CAAC;IAED,MAAM,WAAW,GAAG,IAAI,GAAG,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,WAAW,IAAI,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC;IACpE,IAAI,WAAW,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;QAC7B,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,aAAa,CAAC,yCAAyC,EAAE,CAAC;IAC5F,CAAC;IACD,OAAO;QACL,OAAO,EAAE,KAAK;QACd,MAAM,EAAE,yCAAyC,CAAC,6CAA6C;KAChG,CAAC;AACJ,CAAC;AAED,4FAA4F;AAC5F,MAAM,eAAe,GAAG,8EAA8E,CAAC;AAEvG,yFAAyF;AACzF,MAAM,UAAU,gBAAgB,CAAC,IAAY;IAC3C,OAAO,eAAe,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AACpC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plune-ai/cairn",
3
- "version": "0.4.2",
3
+ "version": "0.5.0",
4
4
  "description": "Cairn — an AI that walks your system and leaves a trail of tests. Autonomous QA agent (UI today; API/unit/docs planned) powered by Claude/OpenRouter, with self-improvement via Langfuse.",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",