hone-ai 0.12.0 → 0.13.0
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/README.md +0 -1
- package/package.json +1 -1
- package/src/config.test.ts +0 -1
- package/src/config.ts +0 -2
- package/src/prompt.test.ts +2 -8
- package/src/prompt.ts +1 -1
package/README.md
CHANGED
package/package.json
CHANGED
package/src/config.test.ts
CHANGED
package/src/config.ts
CHANGED
|
@@ -17,7 +17,6 @@ export interface HoneConfig {
|
|
|
17
17
|
finalize?: string
|
|
18
18
|
agentsMd?: string
|
|
19
19
|
}
|
|
20
|
-
feedbackInstructions?: string
|
|
21
20
|
lintCommand?: string
|
|
22
21
|
}
|
|
23
22
|
|
|
@@ -29,7 +28,6 @@ const DEFAULT_CONFIG: HoneConfig = {
|
|
|
29
28
|
opencode: 'claude-sonnet-4-20250514',
|
|
30
29
|
claude: 'claude-sonnet-4-20250514',
|
|
31
30
|
},
|
|
32
|
-
feedbackInstructions: 'test: bun test',
|
|
33
31
|
lintCommand: undefined,
|
|
34
32
|
}
|
|
35
33
|
|
package/src/prompt.test.ts
CHANGED
|
@@ -33,7 +33,6 @@ const mockConfig: HoneConfig = {
|
|
|
33
33
|
opencode: 'claude-sonnet-4-20250514',
|
|
34
34
|
claude: 'claude-sonnet-4-20250514',
|
|
35
35
|
},
|
|
36
|
-
feedbackInstructions: 'test: bun test',
|
|
37
36
|
lintCommand: 'bun run lint',
|
|
38
37
|
}
|
|
39
38
|
|
|
@@ -222,21 +221,16 @@ describe('constructPrompt', () => {
|
|
|
222
221
|
expect(prompt).toContain('# TASK SELECTION')
|
|
223
222
|
})
|
|
224
223
|
|
|
225
|
-
test('uses default feedback instructions
|
|
224
|
+
test('uses default feedback instructions', () => {
|
|
226
225
|
writeFileSync(
|
|
227
226
|
join(TEST_PLANS_DIR, 'tasks-test.yml'),
|
|
228
227
|
'tasks:\n - id: task-001\n status: pending\n'
|
|
229
228
|
)
|
|
230
229
|
|
|
231
|
-
const configWithoutFeedback: HoneConfig = {
|
|
232
|
-
...mockConfig,
|
|
233
|
-
feedbackInstructions: undefined,
|
|
234
|
-
}
|
|
235
|
-
|
|
236
230
|
const prompt = constructPrompt({
|
|
237
231
|
phase: 'implement',
|
|
238
232
|
featureName: 'test',
|
|
239
|
-
config:
|
|
233
|
+
config: mockConfig,
|
|
240
234
|
})
|
|
241
235
|
|
|
242
236
|
expect(prompt).toContain('test: bun test')
|
package/src/prompt.ts
CHANGED
|
@@ -85,7 +85,7 @@ function getPhaseInstructions(
|
|
|
85
85
|
taskId?: string,
|
|
86
86
|
reviewFeedback?: string
|
|
87
87
|
): string {
|
|
88
|
-
const feedbackInstructions =
|
|
88
|
+
const feedbackInstructions = 'test: bun test'
|
|
89
89
|
const lintCommand = config.lintCommand
|
|
90
90
|
|
|
91
91
|
switch (phase) {
|