lalph 0.3.94 → 0.3.95
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 +7 -6
- package/package.json +1 -1
- package/src/Linear/TokenManager.ts +6 -1
- package/src/commands/root.ts +1 -1
package/dist/cli.mjs
CHANGED
|
@@ -178282,7 +178282,10 @@ var TokenManager$1 = class extends Service$1()("lalph/Linear/TokenManager", { ma
|
|
|
178282
178282
|
})), {
|
|
178283
178283
|
disableListenLog: true,
|
|
178284
178284
|
disableLogger: true
|
|
178285
|
-
}).pipe(provide$3(layer$15(createServer, {
|
|
178285
|
+
}).pipe(provide$3(layer$15(createServer, {
|
|
178286
|
+
port: 34338,
|
|
178287
|
+
disablePreemptiveShutdown: true
|
|
178288
|
+
})), build, orDie$2);
|
|
178286
178289
|
const redirectUri = `http://localhost:34338/callback`;
|
|
178287
178290
|
const verifier = crypto.randomUUID();
|
|
178288
178291
|
const verifierSha256 = yield* promise(() => crypto.subtle.digest("SHA-256", new TextEncoder().encode(verifier)));
|
|
@@ -241924,10 +241927,8 @@ const runProject = fnUntraced(function* (options) {
|
|
|
241924
241927
|
const gitFlowLayer = resolveGitFlowLayer();
|
|
241925
241928
|
const fiber = yield* checkForWork(options.project).pipe(andThen(resolveRunEffect(startedDeferred).pipe(provide$1(gitFlowLayer, { local: true }), withWorkerState(options.project.id))), catchTags$1({
|
|
241926
241929
|
ChosenTaskNotFound(_error) {
|
|
241927
|
-
if (executionMode._tag !== "ralph")
|
|
241928
|
-
|
|
241929
|
-
return void_$2;
|
|
241930
|
-
}
|
|
241930
|
+
if (executionMode._tag !== "ralph") return void_$2;
|
|
241931
|
+
ralphDone = true;
|
|
241931
241932
|
return log$1(`No more work to process for Ralph, ending after ${currentIteration + 1} iteration(s).`);
|
|
241932
241933
|
},
|
|
241933
241934
|
NoMoreWork(_error) {
|
|
@@ -242291,7 +242292,7 @@ const commandEdit = make$58("edit").pipe(withDescription("Open the selected proj
|
|
|
242291
242292
|
const commandSource = make$58("source").pipe(withDescription("Select the issue source to use (e.g. GitHub Issues or Linear). This applies to all projects."), withHandler(() => selectIssueSource), provide(Settings.layer));
|
|
242292
242293
|
//#endregion
|
|
242293
242294
|
//#region package.json
|
|
242294
|
-
var version = "0.3.
|
|
242295
|
+
var version = "0.3.95";
|
|
242295
242296
|
//#endregion
|
|
242296
242297
|
//#region src/commands/projects/ls.ts
|
|
242297
242298
|
const commandProjectsLs = make$58("ls").pipe(withDescription("List configured projects and how they run (enabled state, concurrency, branch, git flow, review agent)."), withHandler(fnUntraced(function* () {
|
package/package.json
CHANGED
|
@@ -106,7 +106,12 @@ export class TokenManager extends ServiceMap.Service<TokenManager>()(
|
|
|
106
106
|
disableListenLog: true,
|
|
107
107
|
disableLogger: true,
|
|
108
108
|
}).pipe(
|
|
109
|
-
Layer.provide(
|
|
109
|
+
Layer.provide(
|
|
110
|
+
NodeHttpServer.layer(createServer, {
|
|
111
|
+
port: 34338,
|
|
112
|
+
disablePreemptiveShutdown: true,
|
|
113
|
+
}),
|
|
114
|
+
),
|
|
110
115
|
Layer.build,
|
|
111
116
|
Effect.orDie,
|
|
112
117
|
)
|
package/src/commands/root.ts
CHANGED
|
@@ -661,9 +661,9 @@ const runProject = Effect.fnUntraced(
|
|
|
661
661
|
Effect.catchTags({
|
|
662
662
|
ChosenTaskNotFound(_error) {
|
|
663
663
|
if (executionMode._tag !== "ralph") {
|
|
664
|
-
ralphDone = true
|
|
665
664
|
return Effect.void
|
|
666
665
|
}
|
|
666
|
+
ralphDone = true
|
|
667
667
|
return Effect.log(
|
|
668
668
|
`No more work to process for Ralph, ending after ${currentIteration + 1} iteration(s).`,
|
|
669
669
|
)
|