lastlight-core 0.25.1 → 0.25.2

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 (44) hide show
  1. package/dist/admin/routes.js +1 -11
  2. package/dist/admin/routes.js.map +1 -1
  3. package/dist/config/config.d.ts +9 -0
  4. package/dist/config/config.js +15 -1
  5. package/dist/config/config.js.map +1 -1
  6. package/dist/engine/chat/chat-prompt.d.ts +66 -0
  7. package/dist/engine/chat/chat-prompt.js +117 -0
  8. package/dist/engine/chat/chat-prompt.js.map +1 -0
  9. package/dist/engine/chat/chat-runner.d.ts +12 -2
  10. package/dist/engine/chat/chat-runner.js +1 -1
  11. package/dist/engine/chat/chat-runner.js.map +1 -1
  12. package/dist/engine/chat/chat-skills.d.ts +15 -7
  13. package/dist/engine/chat/chat-skills.js +42 -24
  14. package/dist/engine/chat/chat-skills.js.map +1 -1
  15. package/dist/engine/chat/chat.d.ts +5 -18
  16. package/dist/engine/chat/chat.js +5 -112
  17. package/dist/engine/chat/chat.js.map +1 -1
  18. package/dist/engine/router.js +34 -2
  19. package/dist/engine/router.js.map +1 -1
  20. package/dist/engine/screen/classifier.d.ts +25 -0
  21. package/dist/engine/screen/classifier.js +30 -1
  22. package/dist/engine/screen/classifier.js.map +1 -1
  23. package/dist/index.js +11 -2
  24. package/dist/index.js.map +1 -1
  25. package/dist/workflows/triggers.d.ts +10 -0
  26. package/dist/workflows/triggers.js +44 -6
  27. package/dist/workflows/triggers.js.map +1 -1
  28. package/package.json +4 -4
  29. package/skills/chat/SKILL.md +10 -8
  30. package/skills/issue-triage/SKILL.md +1 -0
  31. package/skills/pr-review/SKILL.md +1 -0
  32. package/skills/repo-health/SKILL.md +1 -0
  33. package/workflows/answer.yaml +12 -0
  34. package/workflows/build.yaml +8 -0
  35. package/workflows/demo.yaml +8 -0
  36. package/workflows/explore.yaml +7 -0
  37. package/workflows/issue-triage.yaml +7 -0
  38. package/workflows/pr-review.yaml +6 -0
  39. package/workflows/prompts/chat-system-no-github.md +21 -0
  40. package/workflows/prompts/chat-system.md +53 -0
  41. package/workflows/qa-test.yaml +7 -0
  42. package/workflows/repo-health.yaml +11 -0
  43. package/workflows/security-review.yaml +7 -0
  44. package/workflows/verify.yaml +7 -0
@@ -7,6 +7,13 @@ classification:
7
7
  examples:
8
8
  - '"qa test the login flow on this PR" with ISSUE TITLE "Add login" → INTENT: QATEST, REPO: NONE, ISSUE: NONE, REASON: NONE'
9
9
  - '"run through the signup flow and tell me what breaks" with ISSUE TITLE "Signup v2" → INTENT: QATEST, REPO: NONE, ISSUE: NONE, REASON: NONE'
10
+ chat:
11
+ trigger: "qa-test owner/repo#N -- <steps>"
12
+ summary: Drive an app or CLI through a flow and report step-level pass/fail
13
+ deflect:
14
+ - qa test the <flow> flow
15
+ - run through <flow> and tell me what breaks
16
+ - smoke-test the CLI commands
10
17
  description: |
11
18
  Run an automated QA flow against a repo's CLI or locally-served app and report
12
19
  step-level pass/fail with evidence. It installs and runs the code in the
@@ -1,5 +1,16 @@
1
1
  kind: health
2
2
  name: repo-health
3
+ chat:
4
+ summary: A weekly repo health report
5
+ deflect:
6
+ - weekly health report
7
+ - repo health
8
+ - health check on <repo>
9
+ reply: >-
10
+ "Weekly health reports run on a cron schedule, not on demand from chat — ask a
11
+ maintainer to configure the repo-health cron, or run `npm run cli -- health
12
+ owner/repo` from the harness host." (health is NOT an interactive chat
13
+ trigger; do not suggest typing it here.)
3
14
  description: |
4
15
  Generate a health report for a repository: open issues, stale issues, PR
5
16
  velocity, label distribution, etc. Repo-scoped (no specific issue/PR).
@@ -8,6 +8,13 @@ classification:
8
8
  - '"run a security review on cliftonc/lastlight" → INTENT: SECURITY, REPO: cliftonc/lastlight, ISSUE: NONE, REASON: NONE'
9
9
  - '"can you do a security review of https://github.com/cliftonc/lastlight" → INTENT: SECURITY, REPO: cliftonc/lastlight, ISSUE: NONE, REASON: NONE'
10
10
  - '"scan https://github.com/cliftonc/lastlight for vulnerabilities" → INTENT: SECURITY, REPO: cliftonc/lastlight, ISSUE: NONE, REASON: NONE'
11
+ chat:
12
+ trigger: security review owner/repo
13
+ summary: Security-scan a repo
14
+ deflect:
15
+ - security review
16
+ - scan for vulnerabilities
17
+ - check security of <repo>
11
18
  description: |
12
19
  Scan the target repository for security issues using open-source tools
13
20
  (npm audit, semgrep, gitleaks) plus AI code review. Files ONE summary
@@ -8,6 +8,13 @@ classification:
8
8
  - '"verify that the --fork flag creates a new session in cliftonc/foo#12" → INTENT: VERIFY, REPO: cliftonc/foo, ISSUE: 12, REASON: NONE'
9
9
  - '"does this actually fix the crash?" with ISSUE TITLE "Fix null deref on resize" → INTENT: VERIFY, REPO: NONE, ISSUE: NONE, REASON: NONE'
10
10
  - '"can you confirm the rate limiter actually blocks at 100 req/s?" with ISSUE TITLE "Add rate limiter" → INTENT: VERIFY, REPO: NONE, ISSUE: NONE, REASON: NONE'
11
+ chat:
12
+ trigger: "verify owner/repo#N -- <claim>"
13
+ summary: Test whether a specific claim or behaviour actually holds, with evidence
14
+ deflect:
15
+ - verify that <X> works
16
+ - does this PR really fix <Y>?
17
+ - confirm <Z> actually happens
11
18
  description: |
12
19
  Verify a behaviour claim against a repo or PR and report whether the evidence
13
20
  confirms or refutes it. It installs and runs the code in the sandbox, captures