@lovelybunch/core 1.0.75-alpha.1 → 1.0.75-alpha.10

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.
Files changed (43) hide show
  1. package/dist/agent-instructions.d.ts +17 -0
  2. package/dist/agent-instructions.d.ts.map +1 -0
  3. package/dist/agent-instructions.js +160 -0
  4. package/dist/agent-instructions.js.map +1 -0
  5. package/dist/context.d.ts +8 -8
  6. package/dist/index.d.ts +2 -1
  7. package/dist/index.d.ts.map +1 -1
  8. package/dist/index.js +2 -1
  9. package/dist/index.js.map +1 -1
  10. package/dist/knowledge.d.ts +40 -40
  11. package/dist/knowledge.js +1 -1
  12. package/dist/knowledge.js.map +1 -1
  13. package/dist/logging/index.d.ts +5 -5
  14. package/dist/logging/index.d.ts.map +1 -1
  15. package/dist/logging/index.js +5 -5
  16. package/dist/logging/index.js.map +1 -1
  17. package/dist/logging/kinds.d.ts +24 -24
  18. package/dist/logging/kinds.d.ts.map +1 -1
  19. package/dist/logging/kinds.js +24 -24
  20. package/dist/logging/kinds.js.map +1 -1
  21. package/dist/markdown-storage.d.ts +12 -11
  22. package/dist/markdown-storage.d.ts.map +1 -1
  23. package/dist/markdown-storage.js +213 -143
  24. package/dist/markdown-storage.js.map +1 -1
  25. package/dist/proposals.d.ts +136 -136
  26. package/dist/skill-instructions.d.ts +19 -0
  27. package/dist/skill-instructions.d.ts.map +1 -0
  28. package/dist/skill-instructions.js +165 -0
  29. package/dist/skill-instructions.js.map +1 -0
  30. package/dist/storage.d.ts +21 -24
  31. package/dist/storage.d.ts.map +1 -1
  32. package/dist/storage.js +155 -181
  33. package/dist/storage.js.map +1 -1
  34. package/dist/system-prompts/coconut-assistant.md +40 -6
  35. package/dist/system-prompts/schema/agent.schema.md +1 -1
  36. package/dist/system-prompts/schema/knowledge.schema.md +2 -2
  37. package/dist/system-prompts/schema/skill.schema.md +73 -0
  38. package/dist/system-prompts/schema/{proposal.schema.md → task.schema.md} +2 -2
  39. package/dist/tasks.d.ts +764 -0
  40. package/dist/tasks.d.ts.map +1 -0
  41. package/dist/tasks.js +483 -0
  42. package/dist/tasks.js.map +1 -0
  43. package/package.json +2 -2
@@ -0,0 +1,165 @@
1
+ export const SCHEMA_REFERENCE_INSTRUCTION = 'Consult the schema references in .nut/.schema (task.schema.md, project.schema.md, architecture.schema.md, skill.schema.md, knowledge.schema.md) so any updates you make follow the documented structure and include complete arrays for plan steps, dependencies, tags, labels, and comments.';
2
+ export const PROJECT_REFERENCE_INSTRUCTION = 'Use .nut/context/project.md and .nut/context/architecture.md for reference.';
3
+ /**
4
+ * Get instructions for change task (cp-*) workflows
5
+ */
6
+ export function getChangeTaskInstructions(proposalId, skillPaths, customInstruction, includeDefaultInstructions = true) {
7
+ const sections = [];
8
+ // Add default instructions only if requested
9
+ if (includeDefaultInstructions) {
10
+ // Task section
11
+ sections.push([
12
+ `## Task`,
13
+ ``,
14
+ `- Review and begin working on the following task:`,
15
+ ` .nut/tasks/${proposalId}.md`,
16
+ `- Retrieve your firstName, lastName, and email address from: .nut/config.json and use this identity to address yourself in any task updates, comments, git commits, etc.`,
17
+ ].join('\n'));
18
+ // Task Lifecycle section
19
+ sections.push([
20
+ `## Task Lifecycle`,
21
+ ``,
22
+ `- Before beginning any work: nut task update ${proposalId} --status active`,
23
+ `- Add appropriate steps with: nut task step ${proposalId} "Step description" --author "firstName lastName"`,
24
+ ``,
25
+ `- If you need human clarification or input: nut task update ${proposalId} --status blocked. The clarification can be communicated as follows: nut task comment ${proposalId} "Comments here" --author "firstName lastName". At this point please stop work.`,
26
+ ``,
27
+ `- When implementation is complete and ready for approval: nut task update ${proposalId} --status review`,
28
+ `- Only mark the task complete once approval criteria are satisfied: nut task update ${proposalId} --status done`,
29
+ ].join('\n'));
30
+ // Abilities section
31
+ sections.push([
32
+ `## Abilities`,
33
+ ``,
34
+ `- The following abilities are at your disposal and should be factored into the plan where appropriate (each command has its own --help):`,
35
+ ` - Work with knowledge documents (used for the output of any research-centric tasks):`,
36
+ ` - nut knowledge create "Quick Note" --content "# Quick Note\\n\\nSome content here"`,
37
+ ` - nut knowledge list`,
38
+ ` - nut knowledge get example-filename.md`,
39
+ ` - Creating media such as images, audio, or video:`,
40
+ ` - nut resource`,
41
+ ` - Using available skills (specialized, reusable, and portable modules). There is also an official registry you can pull from:`,
42
+ ` - nut skill list`,
43
+ ` - nut skill registry list`,
44
+ `- Similarly, the following are available: git, gh, node, python`,
45
+ ].join('\n'));
46
+ // Operational Rules section
47
+ sections.push([
48
+ `## Operational Rules`,
49
+ ``,
50
+ `- DO use the nut CLI to update task status as progress changes`,
51
+ ` (nut --help or nut task --help for details)`,
52
+ `- DO NOT edit files outside the scope of the approved task (unless instructed by the Additional Instructions below)`,
53
+ ].join('\n'));
54
+ }
55
+ // Skills section (conditional)
56
+ if (skillPaths.length > 0) {
57
+ sections.push([
58
+ `## Skills`,
59
+ ``,
60
+ `Prioritize using these skills:\n`,
61
+ ...skillPaths.map(p => `- ${p}`),
62
+ ].join('\n'));
63
+ }
64
+ // Additional Instructions section (conditional)
65
+ if (customInstruction && customInstruction.trim()) {
66
+ sections.push([
67
+ `## Added Instruction`,
68
+ ``,
69
+ customInstruction.trim(),
70
+ ].join('\n'));
71
+ }
72
+ return [sections.join('\n\n')];
73
+ }
74
+ /**
75
+ * Get instructions for reviewing / preparing a change task (cp-*) before implementation.
76
+ * Assesses readiness without starting any actual work.
77
+ */
78
+ export function getPrepareChangeTaskInstructions(proposalId, skillPaths, customInstruction) {
79
+ const sections = [];
80
+ // Task section
81
+ sections.push([
82
+ `## Task`,
83
+ ``,
84
+ `- Review and assess the following task (include provided comments from the user and act on these accordingly) to ensure you have enough information, context, and resources (skills, MCP tools, appropriate access, etc) to successfully complete it, although DO NOT start any work at this stage: .nut/tasks/${proposalId}.md`,
85
+ `- Generate a readiness score on a scale of 1-100 (where 1 is not ready at all and 100 is complete certainty on your ability to complete this task without ANY additional user interaction) and add this as a comment (details on how to do this below).`,
86
+ `- Be sure to suggest to the user (again via a comment) if it would make sense to decompose this into separate tasks, although DO NOT do this without user confirmation first.`,
87
+ `- Retrieve your firstName, lastName, and email address from: .nut/config.json and use this identity to address yourself in any task updates, comments, git commits, etc.`,
88
+ ].join('\n'));
89
+ // Task Lifecycle section
90
+ sections.push([
91
+ `## Task Lifecycle`,
92
+ ``,
93
+ `- Before beginning any work: nut task update ${proposalId} --status active`,
94
+ `- Add appropriate implementation steps with: nut task step ${proposalId} "Step description" --author "firstName lastName"`,
95
+ `- If you need human clarification or input: nut task update ${proposalId} --status blocked. The clarification can be communicated as follows: nut task comment ${proposalId} "Comments here" --author "firstName lastName". At this point please stop work.`,
96
+ ].join('\n'));
97
+ // Abilities section
98
+ sections.push([
99
+ `## Abilities`,
100
+ ``,
101
+ `- The following abilities are at your disposal and should be factored into the plan where appropriate (each command has its own --help):`,
102
+ ` - Work with knowledge documents (used for the output of any research-centric tasks):`,
103
+ ` - nut knowledge create "Quick Note" --content "# Quick Note\\n\\nSome content here"`,
104
+ ` - nut knowledge list`,
105
+ ` - nut knowledge get example-filename.md`,
106
+ ` - nut knowledge update example-filename.md --content "# Quick Note\\n\\nSome content here"`,
107
+ ` - Creating media such as images, audio, or video or adding existing files to the resource library:`,
108
+ ` - nut resource ls`,
109
+ ` - nut resource add ./screenshot.png`,
110
+ ` - nut resource image "A serene morning in Tokyo" --save`,
111
+ ` - nut resource audio "Welcome to the future" --save`,
112
+ ` - Using available skills (specialized, reusable, and portable modules). There is also an official registry you can pull from:`,
113
+ ` - nut skill list`,
114
+ ` - nut skill registry list`,
115
+ `- Similarly, the following are available: git, gh, node, python`,
116
+ ].join('\n'));
117
+ // Operational Rules section
118
+ sections.push([
119
+ `## Operational Rules`,
120
+ ``,
121
+ `- DO NOT use 'npx' when running the nut CLI`,
122
+ `- DO use the nut CLI to update task status as progress changes`,
123
+ ` (nut --help or nut task --help for details)`,
124
+ `- DO NOT edit files outside the scope of the approved task (unless instructed by the Additional Instructions below)`,
125
+ ].join('\n'));
126
+ // Skills section (conditional)
127
+ if (skillPaths.length > 0) {
128
+ sections.push([
129
+ `## Skills`,
130
+ ``,
131
+ `These skills are available to you if needed (if you are able to test access, etc without any writes please do so):`,
132
+ ...skillPaths.map(p => `- ${p}`),
133
+ ].join('\n'));
134
+ }
135
+ // Additional Instructions section (conditional)
136
+ if (customInstruction && customInstruction.trim()) {
137
+ sections.push([
138
+ `## Added Instruction`,
139
+ ``,
140
+ customInstruction.trim(),
141
+ ].join('\n'));
142
+ }
143
+ return [sections.join('\n\n')];
144
+ }
145
+ /**
146
+ * Get instructions for skill (sk-*) workflows
147
+ * Skill content and custom instructions drive the behavior
148
+ */
149
+ export function getSkillInstructions(skillPaths, customInstruction) {
150
+ const parts = [];
151
+ parts.push(PROJECT_REFERENCE_INSTRUCTION);
152
+ // Add skill references if provided
153
+ if (skillPaths.length > 0) {
154
+ parts.push(`Please use these skills: ${skillPaths.join(', ')}`);
155
+ }
156
+ // Add custom instruction if provided
157
+ if (customInstruction && customInstruction.trim()) {
158
+ parts.push(`Additional instruction: ${customInstruction.trim()}`);
159
+ }
160
+ return parts;
161
+ }
162
+ // Re-export old names for backward compatibility during migration
163
+ /** @deprecated Use getSkillInstructions instead */
164
+ export const getAgentInstructions = getSkillInstructions;
165
+ //# sourceMappingURL=skill-instructions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"skill-instructions.js","sourceRoot":"","sources":["../src/skill-instructions.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,4BAA4B,GACvC,+RAA+R,CAAC;AAClS,MAAM,CAAC,MAAM,6BAA6B,GACxC,6EAA6E,CAAA;AAE/E;;GAEG;AACH,MAAM,UAAU,yBAAyB,CACvC,UAAkB,EAClB,UAAoB,EACpB,iBAA0B,EAC1B,6BAAsC,IAAI;IAE1C,MAAM,QAAQ,GAAa,EAAE,CAAA;IAE7B,6CAA6C;IAC7C,IAAI,0BAA0B,EAAE,CAAC;QAC/B,eAAe;QACf,QAAQ,CAA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C,MAAM,oBAAoB,GAAG,oBAAoB,CAAC"}
package/dist/storage.d.ts CHANGED
@@ -1,17 +1,17 @@
1
- import type { ChangeProposal, GaitConfig, Agent } from '@lovelybunch/types';
1
+ import type { Task, GaitConfig, Skill } from '@lovelybunch/types';
2
2
  import { MarkdownStorageAdapter } from './markdown-storage.js';
3
3
  export interface StorageAdapter {
4
4
  init(): Promise<void>;
5
- saveProposal(proposal: ChangeProposal): Promise<void>;
6
- loadProposal(id: string): Promise<ChangeProposal | null>;
7
- loadAllProposals(): Promise<ChangeProposal[]>;
8
- deleteProposal(id: string): Promise<boolean>;
5
+ saveTask(task: Task): Promise<void>;
6
+ loadTask(id: string): Promise<Task | null>;
7
+ loadAllTasks(): Promise<Task[]>;
8
+ deleteTask(id: string): Promise<boolean>;
9
9
  saveConfig(config: GaitConfig): Promise<void>;
10
10
  loadConfig(): Promise<GaitConfig | null>;
11
- saveAgent(agent: Agent): Promise<void>;
12
- loadAgent(id: string): Promise<Agent | null>;
13
- loadAllAgents(): Promise<Agent[]>;
14
- deleteAgent(id: string): Promise<boolean>;
11
+ saveSkill(skill: Skill): Promise<void>;
12
+ loadSkill(id: string): Promise<Skill | null>;
13
+ loadAllSkills(): Promise<Skill[]>;
14
+ deleteSkill(id: string): Promise<boolean>;
15
15
  getBasePath?(options?: {
16
16
  absolute?: boolean;
17
17
  }): string;
@@ -19,9 +19,9 @@ export interface StorageAdapter {
19
19
  }
20
20
  export declare class FileStorageAdapter implements StorageAdapter {
21
21
  private basePath;
22
- private proposalsPath;
22
+ private tasksPath;
23
23
  private configPath;
24
- private agentsPath;
24
+ private skillsPath;
25
25
  constructor(basePath?: string);
26
26
  init(): Promise<void>;
27
27
  private ensureSchemaFiles;
@@ -33,10 +33,10 @@ export declare class FileStorageAdapter implements StorageAdapter {
33
33
  private processTemplateContent;
34
34
  private createMinimalContext;
35
35
  private createContextFile;
36
- saveProposal(proposal: ChangeProposal): Promise<void>;
37
- loadProposal(id: string): Promise<ChangeProposal | null>;
38
- loadAllProposals(): Promise<ChangeProposal[]>;
39
- deleteProposal(id: string): Promise<boolean>;
36
+ saveTask(task: Task): Promise<void>;
37
+ loadTask(id: string): Promise<Task | null>;
38
+ loadAllTasks(): Promise<Task[]>;
39
+ deleteTask(id: string): Promise<boolean>;
40
40
  saveConfig(config: GaitConfig): Promise<void>;
41
41
  loadConfig(): Promise<GaitConfig | null>;
42
42
  private fileExists;
@@ -51,15 +51,12 @@ export declare class FileStorageAdapter implements StorageAdapter {
51
51
  getBasePath(options?: {
52
52
  absolute?: boolean;
53
53
  }): string;
54
- saveAgent(agent: Agent): Promise<void>;
55
- private findAgentPath;
56
- private pathToId;
57
- loadAgent(id: string): Promise<Agent | null>;
58
- loadAllAgents(): Promise<Agent[]>;
59
- private findAgentFiles;
60
- deleteAgent(id: string): Promise<boolean>;
61
- private agentToMarkdown;
62
- private markdownToAgent;
54
+ saveSkill(skill: Skill): Promise<void>;
55
+ loadSkill(id: string): Promise<Skill | null>;
56
+ loadAllSkills(): Promise<Skill[]>;
57
+ deleteSkill(id: string): Promise<boolean>;
58
+ private skillToMarkdown;
59
+ private markdownToSkill;
63
60
  }
64
61
  export declare const fileStorage: MarkdownStorageAdapter;
65
62
  //# sourceMappingURL=storage.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"storage.d.ts","sourceRoot":"","sources":["../src/storage.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,cAAc,EAAE,UAAU,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAC5E,OAAO,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAG/D,MAAM,WAAW,cAAc;IAC7B,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACtB,YAAY,CAAC,QAAQ,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACtD,YAAY,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,cAAc,GAAG,IAAI,CAAC,CAAC;IACz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