edsger 0.57.0 → 0.59.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 (36) hide show
  1. package/dist/api/cross-product.js +0 -1
  2. package/dist/api/issues/issue-utils.js +0 -1
  3. package/dist/api/issues/update-issue.js +1 -1
  4. package/dist/commands/agent-workflow/chat-worker.js +1 -1
  5. package/dist/commands/checklists/index.js +1 -1
  6. package/dist/commands/product-techniques/index.d.ts +15 -0
  7. package/dist/commands/product-techniques/index.js +37 -0
  8. package/dist/commands/workflow/executors/phase-executor.js +1 -1
  9. package/dist/index.js +24 -1
  10. package/dist/phases/analyze-logs/index.js +1 -1
  11. package/dist/phases/bug-fixing/context-fetcher.js +4 -2
  12. package/dist/phases/find-features/index.js +1 -1
  13. package/dist/phases/output-contracts.js +47 -36
  14. package/dist/phases/pr-shared/agent-utils.d.ts +11 -3
  15. package/dist/phases/pr-shared/agent-utils.js +48 -4
  16. package/dist/phases/product-techniques/index.d.ts +52 -0
  17. package/dist/phases/product-techniques/index.js +268 -0
  18. package/dist/phases/product-techniques/mcp-server.d.ts +41 -0
  19. package/dist/phases/product-techniques/mcp-server.js +96 -0
  20. package/dist/phases/product-techniques/prompts.d.ts +19 -0
  21. package/dist/phases/product-techniques/prompts.js +66 -0
  22. package/dist/phases/product-techniques/types.d.ts +13 -0
  23. package/dist/phases/product-techniques/types.js +13 -0
  24. package/dist/phases/screen-flow/index.js +73 -17
  25. package/dist/phases/screen-flow/mcp-server.d.ts +195 -0
  26. package/dist/phases/screen-flow/mcp-server.js +262 -0
  27. package/dist/phases/screen-flow/prompts.js +3 -1
  28. package/dist/phases/screen-flow/theme.js +23 -12
  29. package/dist/phases/screen-flow/types.js +30 -15
  30. package/dist/services/branches.js +3 -3
  31. package/dist/services/phase-hooks/hook-executor.js +1 -1
  32. package/dist/services/phase-ratings.js +1 -1
  33. package/dist/services/product-logs.js +1 -1
  34. package/dist/services/pull-requests.js +3 -3
  35. package/package.json +1 -1
  36. package/vitest.config.ts +1 -0
@@ -30,7 +30,7 @@ export async function getPullRequests(options) {
30
30
  // Fall through to MCP
31
31
  }
32
32
  }
33
- if (pullRequests == null) {
33
+ if (!pullRequests) {
34
34
  const result = (await callMcpEndpoint('pull_requests/list', {
35
35
  issue_id: issueId,
36
36
  }));
@@ -66,7 +66,7 @@ export async function createPullRequests(options, pullRequests) {
66
66
  // Fall through to MCP
67
67
  }
68
68
  }
69
- if (created == null) {
69
+ if (!created) {
70
70
  const result = (await callMcpEndpoint('pull_requests/create', {
71
71
  issue_id: issueId,
72
72
  pull_requests: pullRequests,
@@ -106,7 +106,7 @@ export async function updatePullRequest(prId, updates, verbose) {
106
106
  // Fall through to MCP
107
107
  }
108
108
  }
109
- if (updated == null) {
109
+ if (!updated) {
110
110
  const result = (await callMcpEndpoint('pull_requests/update', {
111
111
  pull_request_id: prId,
112
112
  ...updates,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "edsger",
3
- "version": "0.57.0",
3
+ "version": "0.59.0",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "edsger": "dist/index.js"
package/vitest.config.ts CHANGED
@@ -16,6 +16,7 @@ export default defineConfig({
16
16
  'src/phases/sync-sentry-issues/__tests__/**/*.test.ts',
17
17
  'src/phases/sync-shared/__tests__/**/*.test.ts',
18
18
  'src/phases/screen-flow/__tests__/**/*.test.ts',
19
+ 'src/phases/product-techniques/__tests__/**/*.test.ts',
19
20
  'src/types/__tests__/**/*.test.ts',
20
21
  'src/commands/find-smells/__tests__/**/*.test.ts',
21
22
  ],