lalph 0.1.3 → 0.1.4

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 CHANGED
@@ -132217,6 +132217,7 @@ var Worktree = class extends Service()("lalph/Worktree", { make: gen(function* (
132217
132217
  yield* execIgnore(make$21`git pull`);
132218
132218
  yield* exec(make$21`git worktree add ${directory} -d HEAD`);
132219
132219
  yield* fs.makeDirectory(pathService.join(directory, ".lalph"), { recursive: true });
132220
+ yield* scoped$1(fs.open(pathService.join(directory, "PROGRESS.md"), { flag: "a+" }));
132220
132221
  yield* forEach$1([
132221
132222
  make$21({
132222
132223
  cwd: directory,
@@ -132374,6 +132375,7 @@ var PromptGen = class extends Service()("lalph/PromptGen", { make: gen(function*
132374
132375
  6. Create or update the pull request with your changes once the task is complete. The title of
132375
132376
  the PR should include the task id. The PR description should include a
132376
132377
  summary of the changes made.
132378
+ - None of the files in the \`.lalph\` directory should be committed.
132377
132379
  7. Update the prd.json file to reflect any changes in task states.
132378
132380
  - Add follow up tasks only if needed.
132379
132381
  - Append to the \`description\` field with any notes.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "lalph",
3
3
  "type": "module",
4
- "version": "0.1.3",
4
+ "version": "0.1.4",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
package/src/PromptGen.ts CHANGED
@@ -27,6 +27,7 @@ export class PromptGen extends ServiceMap.Service<PromptGen>()(
27
27
  6. Create or update the pull request with your changes once the task is complete. The title of
28
28
  the PR should include the task id. The PR description should include a
29
29
  summary of the changes made.
30
+ - None of the files in the \`.lalph\` directory should be committed.
30
31
  7. Update the prd.json file to reflect any changes in task states.
31
32
  - Add follow up tasks only if needed.
32
33
  - Append to the \`description\` field with any notes.
package/src/Worktree.ts CHANGED
@@ -21,6 +21,11 @@ export class Worktree extends ServiceMap.Service<Worktree>()("lalph/Worktree", {
21
21
  yield* fs.makeDirectory(pathService.join(directory, ".lalph"), {
22
22
  recursive: true,
23
23
  })
24
+ yield* Effect.scoped(
25
+ fs.open(pathService.join(directory, "PROGRESS.md"), {
26
+ flag: "a+",
27
+ }),
28
+ )
24
29
 
25
30
  yield* Effect.forEach(
26
31
  [