lalph 0.3.58 → 0.3.60
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/dist/cli.mjs +9484 -9480
- package/package.json +2 -2
- package/src/commands/root.ts +9 -11
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lalph",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.3.
|
|
4
|
+
"version": "0.3.60",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"@octokit/plugin-rest-endpoint-methods": "^17.0.0",
|
|
31
31
|
"@octokit/types": "^16.0.0",
|
|
32
32
|
"@typescript/native-preview": "7.0.0-dev.20260313.1",
|
|
33
|
-
"clanka": "^0.1.
|
|
33
|
+
"clanka": "^0.1.7",
|
|
34
34
|
"concurrently": "^9.2.1",
|
|
35
35
|
"effect": "4.0.0-beta.31",
|
|
36
36
|
"husky": "^9.1.7",
|
package/src/commands/root.ts
CHANGED
|
@@ -513,23 +513,20 @@ const watchTaskState = Effect.fnUntraced(function* (options: {
|
|
|
513
513
|
const registry = yield* AtomRegistry.AtomRegistry
|
|
514
514
|
const projectId = yield* CurrentProjectId
|
|
515
515
|
|
|
516
|
-
yield* Effect.sleep(Duration.seconds(10))
|
|
517
|
-
|
|
518
516
|
return yield* AtomRegistry.toStreamResult(
|
|
519
517
|
registry,
|
|
520
518
|
currentIssuesAtom(projectId),
|
|
521
519
|
).pipe(
|
|
520
|
+
Stream.retry(Schedule.forever),
|
|
521
|
+
Stream.orDie,
|
|
522
|
+
Stream.debounce(Duration.seconds(10)),
|
|
522
523
|
Stream.runForEach((issues) => {
|
|
523
524
|
const issue = issues.find((entry) => entry.id === options.issueId)
|
|
524
|
-
if (
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
}),
|
|
530
|
-
)
|
|
531
|
-
}
|
|
532
|
-
if (issue.state === "in-progress" || issue.state === "in-review") {
|
|
525
|
+
if (
|
|
526
|
+
!issue ||
|
|
527
|
+
issue.state === "in-progress" ||
|
|
528
|
+
issue.state === "in-review"
|
|
529
|
+
) {
|
|
533
530
|
return Effect.void
|
|
534
531
|
}
|
|
535
532
|
return Effect.fail(
|
|
@@ -557,6 +554,7 @@ const taskUpdateSteer = Effect.fnUntraced(function* (options: {
|
|
|
557
554
|
Stream.drop(1),
|
|
558
555
|
Stream.retry(Schedule.forever),
|
|
559
556
|
Stream.orDie,
|
|
557
|
+
Stream.debounce(Duration.seconds(10)),
|
|
560
558
|
Stream.filterMap((issues) => {
|
|
561
559
|
const issue = issues.find((entry) => entry.id === options.issueId)
|
|
562
560
|
if (!issue) return Result.failVoid
|