@cliangdev/flux-plugin 0.2.0-dev.dc5e2c4 → 0.2.0-dev.f718bcf

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 (46) hide show
  1. package/README.md +3 -3
  2. package/agents/coder.md +150 -25
  3. package/commands/breakdown.md +47 -10
  4. package/commands/flux.md +92 -12
  5. package/commands/implement.md +166 -17
  6. package/commands/linear.md +6 -5
  7. package/commands/prd.md +996 -82
  8. package/manifest.json +2 -1
  9. package/package.json +4 -2
  10. package/skills/flux-orchestrator/SKILL.md +11 -3
  11. package/skills/prd-writer/SKILL.md +761 -0
  12. package/skills/ux-ui-design/SKILL.md +346 -0
  13. package/skills/ux-ui-design/references/design-tokens.md +359 -0
  14. package/src/dashboard/__tests__/api.test.ts +211 -0
  15. package/src/dashboard/browser.ts +35 -0
  16. package/src/dashboard/public/app.js +869 -0
  17. package/src/dashboard/public/index.html +90 -0
  18. package/src/dashboard/public/styles.css +807 -0
  19. package/src/dashboard/public/vendor/highlight.css +10 -0
  20. package/src/dashboard/public/vendor/highlight.min.js +8422 -0
  21. package/src/dashboard/public/vendor/marked.min.js +2210 -0
  22. package/src/dashboard/server.ts +296 -0
  23. package/src/dashboard/watchers.ts +83 -0
  24. package/src/server/adapters/__tests__/dependency-ops.test.ts +52 -18
  25. package/src/server/adapters/linear/adapter.ts +19 -14
  26. package/src/server/adapters/local-adapter.ts +48 -7
  27. package/src/server/db/__tests__/queries.test.ts +2 -1
  28. package/src/server/db/schema.ts +9 -0
  29. package/src/server/index.ts +0 -2
  30. package/src/server/tools/__tests__/crud.test.ts +111 -1
  31. package/src/server/tools/__tests__/mcp-interface.test.ts +100 -9
  32. package/src/server/tools/__tests__/query.test.ts +73 -21
  33. package/src/server/tools/__tests__/z-configure-linear.test.ts +1 -1
  34. package/src/server/tools/__tests__/z-get-linear-url.test.ts +1 -1
  35. package/src/server/tools/create-epic.ts +11 -2
  36. package/src/server/tools/create-prd.ts +11 -2
  37. package/src/server/tools/create-task.ts +11 -2
  38. package/src/server/tools/dependencies.ts +2 -2
  39. package/src/server/tools/get-entity.ts +12 -10
  40. package/src/server/tools/index.ts +53 -9
  41. package/src/server/tools/init-project.ts +1 -1
  42. package/src/server/tools/render-status.ts +38 -20
  43. package/src/status-line/__tests__/status-line.test.ts +1 -1
  44. package/src/utils/status-renderer.ts +32 -6
  45. package/skills/prd-template/SKILL.md +0 -242
  46. package/src/server/tools/get-project-context.ts +0 -33
@@ -21,13 +21,14 @@ The `configure_linear` tool supports progressive discovery:
21
21
 
22
22
  ## Flow
23
23
 
24
- ### Step 1: Verify Project
24
+ ### Step 1: Verify Project & Fetch Teams
25
25
 
26
- Call `get_project_context`.
26
+ Call `configure_linear` with `{interactive: true}`.
27
27
 
28
- - If `initialized: false` → Tell user to run `/flux` first, then exit.
29
- - If `adapter.type === "linear"` and config exists Already configured, show info and exit.
30
- - OtherwiseContinue to Step 2.
28
+ - If error with `code: "PROJECT_NOT_INITIALIZED"` → Tell user to run `/flux` first, then exit.
29
+ - If error about Linear API keyShow instructions (see Step 2 error handling).
30
+ - If success with `step: "already_configured"` Already configured, show info and exit.
31
+ - Otherwise → Continue with team selection (response contains teams list).
31
32
 
32
33
  ### Step 2: Fetch Teams
33
34