Skip to content

Commit d669435

Browse files
committed
clearer goals, 0.0.26
1 parent bb14726 commit d669435

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "bgent",
3-
"version": "0.0.26",
3+
"version": "0.0.27",
44
"private": false,
55
"description": "bgent. because agent was taken.",
66
"type": "module",

scripts/concat.mjs

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ import fs from 'fs'
22
import path, { dirname } from 'path'
33
import { fileURLToPath } from 'url'
44

5-
const instructions = 'The above code was taken from my codebase at https://github.com/jointhealliance/bgent. You are writing tests and documentation for my codebase. Please use the above code as a reference. Tests should be written with Jest and Typescript. Do not use mocks or stubs. Keep it very simple and straightforward.'
5+
const instructions = 'The above code was taken from my codebase at https://github.com/jointhealliance/bgent.'
66

77
// Patterns to ignore
8-
const ignorePatterns = ['test/', 'flavor', 'simple', 'cache', 'supabase', 'utils', 'logger', 'index', 'data', 'constants', 'templates', 'worker']
8+
const ignorePatterns = ['flavor', 'simple', 'cache', 'logger', 'index', 'data', 'templates']
99

1010
// __dirname is not defined in ES module scope, so we need to create it
1111
const __filename = fileURLToPath(import.meta.url)

src/lib/goals.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,12 @@ export const getGoals = async ({
3535

3636
export const formatGoalsAsString = async ({ goals }: { goals: Goal[] }) => {
3737
const goalStrings = goals.map((goal: Goal) => {
38-
const header = `Name: ${goal.name}\nid: ${goal.id}`;
38+
const header = `Goal: ${goal.name}\nid: ${goal.id}`;
3939
const objectives =
4040
"Objectives:\n" +
4141
goal.objectives
4242
.map((objective: Objective) => {
43-
return `- ${objective.completed ? "[x]" : "[ ]"} ${objective.description}`;
43+
return `- ${objective.completed ? "[x]" : "[ ]"} ${objective.description} ${objective.completed ? " (DONE)" : " (IN PROGRESS)"}`;
4444
})
4545
.join("\n");
4646
return `${header}\n${objectives}`;

0 commit comments

Comments
 (0)