lalph 0.3.138 → 0.3.139

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.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "lalph",
3
3
  "type": "module",
4
- "version": "0.3.138",
4
+ "version": "0.3.139",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -20,7 +20,6 @@
20
20
  "url": "https://github.com/tim-smart/lalph.git"
21
21
  },
22
22
  "dependencies": {
23
- "better-sqlite3": "^12.10.0",
24
23
  "tree-sitter": "^0.21.1",
25
24
  "tree-sitter-javascript": "^0.23.1",
26
25
  "tree-sitter-typescript": "^0.23.2"
@@ -37,23 +36,23 @@
37
36
  "devDependencies": {
38
37
  "@changesets/changelog-github": "^0.7.0",
39
38
  "@changesets/cli": "^2.31.0",
40
- "@effect/ai-openai": "4.0.0-beta.78",
41
- "@effect/ai-openai-compat": "4.0.0-beta.79",
42
- "@effect/language-service": "^0.86.2",
43
- "@effect/platform-node": "4.0.0-beta.78",
44
- "@linear/sdk": "^86.0.0",
39
+ "@effect/ai-openai": "4.0.0-beta.94",
40
+ "@effect/ai-openai-compat": "4.0.0-beta.94",
41
+ "@effect/language-service": "^0.86.4",
42
+ "@effect/platform-node": "4.0.0-beta.94",
43
+ "@linear/sdk": "^88.0.0",
45
44
  "@octokit/plugin-rest-endpoint-methods": "^17.0.0",
46
45
  "@octokit/types": "^16.0.0",
47
- "@typescript/native-preview": "7.0.0-dev.20260610.1",
48
- "clanka": "^0.2.68",
46
+ "@typescript/native-preview": "7.0.0-dev.20260707.2",
47
+ "clanka": "^0.2.69",
49
48
  "concurrently": "^10.0.3",
50
- "effect": "4.0.0-beta.78",
49
+ "effect": "4.0.0-beta.94",
51
50
  "husky": "^9.1.7",
52
- "lint-staged": "^17.0.7",
51
+ "lint-staged": "^17.0.8",
53
52
  "octokit": "^5.0.5",
54
- "oxlint": "^1.69.0",
55
- "prettier": "^3.8.4",
56
- "tsdown": "^0.22.2",
53
+ "oxlint": "^1.73.0",
54
+ "prettier": "^3.9.4",
55
+ "tsdown": "^0.22.3",
57
56
  "typescript": "^6.0.3",
58
57
  "yaml": "^2.9.0"
59
58
  },
package/src/GitFlow.ts CHANGED
@@ -8,6 +8,7 @@ import { Atom } from "effect/unstable/reactivity"
8
8
  import { parseBranch } from "./shared/git.ts"
9
9
  import { AtomRegistry } from "effect/unstable/reactivity"
10
10
  import { CurrentProjectId } from "./Settings.ts"
11
+ import type { PrdIssue } from "./domain/PrdIssue.ts"
11
12
 
12
13
  // @effect-diagnostics-next-line leakingRequirements:off
13
14
  export class GitFlow extends Context.Service<
@@ -189,13 +190,18 @@ But you **do not** need to git push your changes or switch branches.
189
190
  const source = yield* IssueSource
190
191
  const projectId = yield* CurrentProjectId
191
192
  const issue = yield* source.findById(projectId, options.issueId)
192
- if (!issue || issue.state !== "in-review") {
193
+ let nextStatus: PrdIssue["state"] = "done"
194
+ if (!issue) {
195
+ return
196
+ } else if (issue.state === "in-progress") {
197
+ nextStatus = "todo"
198
+ } else if (issue.state !== "in-review") {
193
199
  return
194
200
  }
195
201
  yield* source.updateIssue({
196
202
  projectId,
197
203
  issueId: options.issueId,
198
- state: "done",
204
+ state: nextStatus,
199
205
  })
200
206
  }),
201
207
  })
@@ -110,6 +110,7 @@ export class TokenManager extends Context.Service<TokenManager>()(
110
110
  NodeHttpServer.layer(createServer, {
111
111
  port: 34338,
112
112
  disablePreemptiveShutdown: true,
113
+ gracefulShutdownTimeout: 0,
113
114
  }),
114
115
  ),
115
116
  Layer.build,
package/dist/cli.d.mts DELETED
@@ -1 +0,0 @@
1
- export { };