lalph 0.3.86 → 0.3.87
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 -22
- package/package.json +1 -1
- package/src/Projects.ts +2 -2
- package/src/PromptGen.ts +2 -17
- package/src/domain/CliAgent.ts +4 -2
package/dist/cli.mjs
CHANGED
|
@@ -91425,9 +91425,9 @@ const allCliAgents = [
|
|
|
91425
91425
|
new CliAgent({
|
|
91426
91426
|
id: "clanka",
|
|
91427
91427
|
name: "clanka",
|
|
91428
|
-
commandPlan: ({ prompt, prdFilePath, dangerous }) => make$45("opencode", ["--prompt", `@${prdFilePath}
|
|
91428
|
+
commandPlan: ({ prompt, prdFilePath, dangerous }) => make$45("opencode", ["--prompt", prdFilePath ? `@${prdFilePath}
|
|
91429
91429
|
|
|
91430
|
-
${prompt}`], {
|
|
91430
|
+
${prompt}` : prompt], {
|
|
91431
91431
|
extendEnv: true,
|
|
91432
91432
|
...dangerous ? { env: { OPENCODE_PERMISSION: "{\"*\":\"allow\"}" } } : {},
|
|
91433
91433
|
stdout: "inherit",
|
|
@@ -239879,14 +239879,7 @@ ${options.gitFlow.requiresGithubPr ? `\n - Set \`githubPrNumber\` to the PR num
|
|
|
239879
239879
|
|
|
239880
239880
|
Note: The task should be a specific, actionable item that can be completed in a reasonable amount of time.
|
|
239881
239881
|
`;
|
|
239882
|
-
const keyInformation = (options) => `## Important:
|
|
239883
|
-
|
|
239884
|
-
**If at any point** you discover something that needs fixing, or another task
|
|
239885
|
-
that needs doing, immediately add it to the prd.yml file as a new task.
|
|
239886
|
-
|
|
239887
|
-
Read the "### Adding tasks" section below carefully for guidelines on creating tasks.
|
|
239888
|
-
|
|
239889
|
-
## Important: Recording key information
|
|
239882
|
+
const keyInformation = (options) => `## Important: Recording key information
|
|
239890
239883
|
|
|
239891
239884
|
This session will time out after a certain period, so make sure to record
|
|
239892
239885
|
key information that could speed up future work on the task in the description.
|
|
@@ -239906,12 +239899,7 @@ If for any reason you get stuck on a task, mark the task back as "todo" by updat
|
|
|
239906
239899
|
challenges faced.
|
|
239907
239900
|
|
|
239908
239901
|
${prdNotes(options)}`;
|
|
239909
|
-
const systemClanka = (options) => `## Important:
|
|
239910
|
-
|
|
239911
|
-
**If at any point** you discover something that needs fixing, or another task
|
|
239912
|
-
that needs doing, immediately add it as a new task.
|
|
239913
|
-
|
|
239914
|
-
## Important: Recording key information
|
|
239902
|
+
const systemClanka = (options) => `## Important: Recording key information
|
|
239915
239903
|
|
|
239916
239904
|
This session will time out after a certain period, so make sure to record
|
|
239917
239905
|
key information that could speed up future work on the task in the description.
|
|
@@ -239976,9 +239964,6 @@ All steps must be done before the task can be considered complete.${options.task
|
|
|
239976
239964
|
2. Implement the task.
|
|
239977
239965
|
- If this task is a research task, **do not** make any code changes yet.
|
|
239978
239966
|
- If this task is a research task and you add follow-up tasks, include (at least) "${options.task.id}" in the new task's \`blockedBy\` field.
|
|
239979
|
-
- **If at any point** you discover something that needs fixing, or another task
|
|
239980
|
-
that needs doing, immediately add it as a new task unless you plan to fix it
|
|
239981
|
-
as part of this task.
|
|
239982
239967
|
- Add important discoveries about the codebase, or challenges faced to the task's
|
|
239983
239968
|
\`description\`. More details below.
|
|
239984
239969
|
3. Run any checks / feedback loops, such as type checks, unit tests, or linting.
|
|
@@ -240370,11 +240355,11 @@ const addOrUpdateProject = fnUntraced(function* (existing, fromPlanMode = false)
|
|
|
240370
240355
|
if (gitFlow === "ralph" && !fromPlanMode) ralphSpec = yield* file$3({ message: "Path to Ralph spec file" }).pipe(fromYieldable, map$9(some$2));
|
|
240371
240356
|
const researchAgent = yield* toggle({
|
|
240372
240357
|
message: "Enable research agent?",
|
|
240373
|
-
initial: existing ? existing.researchAgent :
|
|
240358
|
+
initial: existing ? existing.researchAgent : false
|
|
240374
240359
|
});
|
|
240375
240360
|
const reviewAgent = yield* toggle({
|
|
240376
240361
|
message: "Enable review agent?",
|
|
240377
|
-
initial: existing ? existing.reviewAgent :
|
|
240362
|
+
initial: existing ? existing.reviewAgent : false
|
|
240378
240363
|
});
|
|
240379
240364
|
const project = new Project$2({
|
|
240380
240365
|
id: ProjectId.makeUnsafe(id),
|
|
@@ -241830,7 +241815,7 @@ const commandEdit = make$58("edit").pipe(withDescription("Open the selected proj
|
|
|
241830
241815
|
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));
|
|
241831
241816
|
//#endregion
|
|
241832
241817
|
//#region package.json
|
|
241833
|
-
var version = "0.3.
|
|
241818
|
+
var version = "0.3.87";
|
|
241834
241819
|
//#endregion
|
|
241835
241820
|
//#region src/commands/projects/ls.ts
|
|
241836
241821
|
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
package/src/Projects.ts
CHANGED
|
@@ -129,11 +129,11 @@ export const addOrUpdateProject = Effect.fnUntraced(function* (
|
|
|
129
129
|
|
|
130
130
|
const researchAgent = yield* Prompt.toggle({
|
|
131
131
|
message: "Enable research agent?",
|
|
132
|
-
initial: existing ? existing.researchAgent :
|
|
132
|
+
initial: existing ? existing.researchAgent : false,
|
|
133
133
|
})
|
|
134
134
|
const reviewAgent = yield* Prompt.toggle({
|
|
135
135
|
message: "Enable review agent?",
|
|
136
|
-
initial: existing ? existing.reviewAgent :
|
|
136
|
+
initial: existing ? existing.reviewAgent : false,
|
|
137
137
|
})
|
|
138
138
|
|
|
139
139
|
const project = new Project({
|
package/src/PromptGen.ts
CHANGED
|
@@ -124,14 +124,7 @@ Note: The task should be a specific, actionable item that can be completed in a
|
|
|
124
124
|
|
|
125
125
|
const keyInformation = (options: {
|
|
126
126
|
readonly specsDirectory: string
|
|
127
|
-
}) => `## Important:
|
|
128
|
-
|
|
129
|
-
**If at any point** you discover something that needs fixing, or another task
|
|
130
|
-
that needs doing, immediately add it to the prd.yml file as a new task.
|
|
131
|
-
|
|
132
|
-
Read the "### Adding tasks" section below carefully for guidelines on creating tasks.
|
|
133
|
-
|
|
134
|
-
## Important: Recording key information
|
|
127
|
+
}) => `## Important: Recording key information
|
|
135
128
|
|
|
136
129
|
This session will time out after a certain period, so make sure to record
|
|
137
130
|
key information that could speed up future work on the task in the description.
|
|
@@ -154,12 +147,7 @@ ${prdNotes(options)}`
|
|
|
154
147
|
|
|
155
148
|
const systemClanka = (options: {
|
|
156
149
|
readonly specsDirectory: string
|
|
157
|
-
}) => `## Important:
|
|
158
|
-
|
|
159
|
-
**If at any point** you discover something that needs fixing, or another task
|
|
160
|
-
that needs doing, immediately add it as a new task.
|
|
161
|
-
|
|
162
|
-
## Important: Recording key information
|
|
150
|
+
}) => `## Important: Recording key information
|
|
163
151
|
|
|
164
152
|
This session will time out after a certain period, so make sure to record
|
|
165
153
|
key information that could speed up future work on the task in the description.
|
|
@@ -246,9 +234,6 @@ All steps must be done before the task can be considered complete.${
|
|
|
246
234
|
2. Implement the task.
|
|
247
235
|
- If this task is a research task, **do not** make any code changes yet.
|
|
248
236
|
- If this task is a research task and you add follow-up tasks, include (at least) "${options.task.id}" in the new task's \`blockedBy\` field.
|
|
249
|
-
- **If at any point** you discover something that needs fixing, or another task
|
|
250
|
-
that needs doing, immediately add it as a new task unless you plan to fix it
|
|
251
|
-
as part of this task.
|
|
252
237
|
- Add important discoveries about the codebase, or challenges faced to the task's
|
|
253
238
|
\`description\`. More details below.
|
|
254
239
|
3. Run any checks / feedback loops, such as type checks, unit tests, or linting.
|