lalph 0.3.135 → 0.3.136

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.135",
4
+ "version": "0.3.136",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -37,17 +37,17 @@
37
37
  "devDependencies": {
38
38
  "@changesets/changelog-github": "^0.7.0",
39
39
  "@changesets/cli": "^2.31.0",
40
- "@effect/ai-openai": "4.0.0-beta.75",
41
- "@effect/ai-openai-compat": "4.0.0-beta.75",
40
+ "@effect/ai-openai": "4.0.0-beta.78",
41
+ "@effect/ai-openai-compat": "4.0.0-beta.78",
42
42
  "@effect/language-service": "^0.86.2",
43
- "@effect/platform-node": "4.0.0-beta.75",
43
+ "@effect/platform-node": "4.0.0-beta.78",
44
44
  "@linear/sdk": "^86.0.0",
45
45
  "@octokit/plugin-rest-endpoint-methods": "^17.0.0",
46
46
  "@octokit/types": "^16.0.0",
47
47
  "@typescript/native-preview": "7.0.0-dev.20260527.2",
48
48
  "clanka": "^0.2.67",
49
49
  "concurrently": "^9.2.1",
50
- "effect": "4.0.0-beta.75",
50
+ "effect": "4.0.0-beta.78",
51
51
  "husky": "^9.1.7",
52
52
  "lint-staged": "^17.0.5",
53
53
  "octokit": "^5.0.5",
@@ -214,11 +214,11 @@ export class IssueSource extends Context.Service<
214
214
  }
215
215
  }
216
216
 
217
- export class IssueSourceError extends Schema.ErrorClass<IssueSourceError>(
218
- "lalph/IssueSourceError",
219
- )({
220
- _tag: Schema.tag("IssueSourceError"),
221
- cause: Schema.Defect,
222
- }) {
217
+ export class IssueSourceError extends Schema.TaggedErrorClass<IssueSourceError>()(
218
+ "IssueSourceError",
219
+ {
220
+ cause: Schema.Defect(),
221
+ },
222
+ ) {
223
223
  readonly message = "An error occurred in the IssueSource"
224
224
  }
package/src/Linear.ts CHANGED
@@ -573,7 +573,7 @@ export class LinearError extends Schema.ErrorClass<LinearError>(
573
573
  "lalph/LinearError",
574
574
  )({
575
575
  _tag: Schema.tag("LinearError"),
576
- cause: Schema.Defect,
576
+ cause: Schema.Defect(),
577
577
  }) {}
578
578
 
579
579
  // Project selection
package/src/Projects.ts CHANGED
@@ -88,13 +88,14 @@ export const addOrUpdateProject = Effect.fnUntraced(function* (
88
88
  const concurrency = yield* Prompt.integer({
89
89
  message: "Concurrency (number of tasks to run in parallel)",
90
90
  min: 1,
91
+ default: existing ? existing.concurrency : 1,
91
92
  })
92
93
  const targetBranch = pipe(
93
94
  yield* Prompt.text({
94
95
  message: "Target branch (leave empty to use HEAD)",
95
96
  default: existing
96
- ? Option.getOrElse(existing.targetBranch, () => "")
97
- : "",
97
+ ? Option.getOrElse(existing.targetBranch, () => id)
98
+ : id,
98
99
  }),
99
100
  String.trim,
100
101
  Option.liftPredicate(String.isNonEmpty),
@@ -133,6 +134,7 @@ export const addOrUpdateProject = Effect.fnUntraced(function* (
133
134
  )
134
135
  ralphSpec = yield* Prompt.file({
135
136
  message: "Path to Ralph spec file",
137
+ default: existing?.ralphSpec as string,
136
138
  }).pipe(
137
139
  Effect.map((selectedPath) =>
138
140
  pathService.relative(relativeRoot, selectedPath),