@lovelybunch/core 1.0.76-alpha.8 → 1.0.76
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/context.d.ts +27 -27
- package/dist/context.d.ts.map +1 -1
- package/dist/context.js +5 -4
- package/dist/context.js.map +1 -1
- package/dist/events.d.ts +4 -4
- package/dist/knowledge.d.ts +92 -92
- package/dist/logging/kinds.d.ts +18 -0
- package/dist/logging/kinds.d.ts.map +1 -1
- package/dist/logging/kinds.js +15 -0
- package/dist/logging/kinds.js.map +1 -1
- package/dist/skill-instructions.d.ts +1 -1
- package/dist/skill-instructions.d.ts.map +1 -1
- package/dist/skill-instructions.js +1 -1
- package/dist/skill-instructions.js.map +1 -1
- package/dist/system-prompts/coconut-assistant.md +46 -23
- package/dist/tasks.d.ts +40 -40
- package/package.json +2 -2
- package/dist/change-proposal.d.ts +0 -71
- package/dist/change-proposal.d.ts.map +0 -1
- package/dist/change-proposal.js +0 -205
- package/dist/change-proposal.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"kinds.js","sourceRoot":"","sources":["../../src/logging/kinds.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH;;GAEG;AACH,MAAM,CAAC,MAAM,SAAS,GAAG;IACvB,MAAM,EAAE,aAAa;IACrB,MAAM,EAAE,aAAa;IACrB,SAAS,EAAE,gBAAgB;IAC3B,OAAO,EAAE,cAAc;IACvB,aAAa,EAAE,oBAAoB;CAC3B,CAAC;AAEX;;GAEG;AACH,MAAM,CAAC,MAAM,UAAU,GAAG;IACxB,aAAa,EAAE,qBAAqB;IACpC,cAAc,EAAE,sBAAsB;IACtC,WAAW,EAAE,mBAAmB;IAChC,aAAa,EAAE,qBAAqB;CAC5B,CAAC;AAEX;;GAEG;AACH,MAAM,CAAC,MAAM,SAAS,GAAG;IACvB,IAAI,EAAE,WAAW;IACjB,MAAM,EAAE,aAAa;IACrB,aAAa,EAAE,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D,CAAC,SAAS,CAAC,cAAc,CAAC,EAAE;QAC1B,WAAW,EAAE,qBAAqB;QAClC,IAAI,EAAE,CAAC,MAAM,EAAE,KAAK,CAAC;KACtB;IACD,CAAC,SAAS,CAAC,cAAc,CAAC,EAAE;QAC1B,WAAW,EAAE,qBAAqB;QAClC,IAAI,EAAE,CAAC,MAAM,EAAE,KAAK,CAAC;KACtB;CACO,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare 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 declare const PROJECT_REFERENCE_INSTRUCTION = "Use .nut/context/
|
|
2
|
+
export declare const PROJECT_REFERENCE_INSTRUCTION = "Use .nut/context/role.md for reference.";
|
|
3
3
|
/**
|
|
4
4
|
* Get instructions for change task (task-*) workflows
|
|
5
5
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"skill-instructions.d.ts","sourceRoot":"","sources":["../src/skill-instructions.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,4BAA4B,kSACwP,CAAC;AAClS,eAAO,MAAM,6BAA6B,
|
|
1
|
+
{"version":3,"file":"skill-instructions.d.ts","sourceRoot":"","sources":["../src/skill-instructions.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,4BAA4B,kSACwP,CAAC;AAClS,eAAO,MAAM,6BAA6B,4CACC,CAAA;AAE3C;;GAEG;AACH,wBAAgB,yBAAyB,CACvC,MAAM,EAAE,MAAM,EACd,UAAU,EAAE,MAAM,EAAE,EACpB,iBAAiB,CAAC,EAAE,MAAM,EAC1B,0BAA0B,GAAE,OAAc,GACzC,MAAM,EAAE,CAyFV;AAED;;;GAGG;AACH,wBAAgB,gCAAgC,CAC9C,MAAM,EAAE,MAAM,EACd,UAAU,EAAE,MAAM,EAAE,EACpB,iBAAiB,CAAC,EAAE,MAAM,GACzB,MAAM,EAAE,CAqFV;AAED;;;GAGG;AACH,wBAAgB,oBAAoB,CAClC,UAAU,EAAE,MAAM,EAAE,EACpB,iBAAiB,CAAC,EAAE,MAAM,GACzB,MAAM,EAAE,CAgBV;AAGD,mDAAmD;AACnD,eAAO,MAAM,oBAAoB,6BAAuB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
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/
|
|
2
|
+
export const PROJECT_REFERENCE_INSTRUCTION = 'Use .nut/context/role.md for reference.';
|
|
3
3
|
/**
|
|
4
4
|
* Get instructions for change task (task-*) workflows
|
|
5
5
|
*/
|
|
@@ -1 +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,
|
|
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,yCAAyC,CAAA;AAE3C;;GAEG;AACH,MAAM,UAAU,yBAAyB,CACvC,MAAc,EACd,UAAoB,EACpB,iBAA0B,EAC1B,6BAAsC,IAAI;IAE1C,MAAM,QAAQ,GAAa,EAAE,CAAA;IAE7B,6CAA6C;IAC7C,IAAI,0BAA0B,EAAE,CAAC;QAC/B,eAAe;QACf,QAAQ,CAAC,IAAI,CAAC;YACZ,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AAI,UAAU,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QAC1B,KAAK,CAAC,IAAI,CAAC,4BAA4B,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,CAAA;IACjE,CAAC;IAED,qCAAqC;IACrC,IAAI,iBAAiB,IAAI,iBAAiB,CAAC,IAAI,EAAE,EAAE,CAAC;QAClD,KAAK,CAAC,IAAI,CAAC,2BAA2B,iBAAiB,CAAC,IAAI,EAAE,EAAE,CAAC,CAAA;IACnE,CAAC;IAED,OAAO,KAAK,CAAA;AACd,CAAC;AAED,kEAAkE;AAClE,mDAAmD;AACnD,MAAM,CAAC,MAAM,oBAAoB,GAAG,oBAAoB,CAAC"}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
You are the Coconut 🥥 assistant — a **knowledge curator** for agent‑native development workflows.
|
|
2
2
|
|
|
3
|
+
> **Note:** The API may append `.nut/context/role.md` and `.nut/context/memory.md` to this prompt server-side when those files exist (as “Your Role for This Instance” and “Memory for This Instance”). The same `memory.md` can also be read or updated via the `memory_context` tool — when summarizing what is stored in memory, prefer quoting **one** source (the latest tool result, or the injected “Memory for This Instance” block) and avoid duplicating or inventing content between them.
|
|
4
|
+
|
|
3
5
|
## Your Role & Capabilities
|
|
4
6
|
|
|
5
7
|
You are primarily focused on **working with knowledge documents** — synthesizing information from various sources and capturing insights. You also excel at **planning projects and business-centric tasks** — helping users think through strategy, go-to-market, architecture decisions, and more. Your philosophy: **"Read widely, write narrowly."**
|
|
@@ -10,15 +12,19 @@ You are primarily focused on **working with knowledge documents** — synthesizi
|
|
|
10
12
|
- Knowledge documents — search, browse, read full content
|
|
11
13
|
- Tasks — search, browse, read (to understand context)
|
|
12
14
|
- Activity events — see what's been happening recently in this Coconut instance
|
|
13
|
-
-
|
|
14
|
-
-
|
|
15
|
+
- Role context — the role definition, responsibilities, and guidelines
|
|
16
|
+
- Agents context — the AI agents available and their configurations
|
|
17
|
+
- Team context — team members, roles, and contact information
|
|
18
|
+
- Memory context — persistent notes, decisions, and learned context
|
|
15
19
|
- Resources — browse and search existing media assets
|
|
16
20
|
|
|
17
21
|
✅ **WRITE to documents, tasks, and resources:**
|
|
18
22
|
- Knowledge documents — create new, update existing
|
|
19
23
|
- Tasks — create new, update existing (for coding agents to execute)
|
|
20
|
-
-
|
|
21
|
-
-
|
|
24
|
+
- Role context — define and refine the role definition
|
|
25
|
+
- Agents context — document agent configurations and guidelines
|
|
26
|
+
- Team context — capture team structure and responsibilities
|
|
27
|
+
- Memory context — store persistent notes and decisions
|
|
22
28
|
- Resources — generate images, audio, and video via AI; save files from URLs
|
|
23
29
|
- **ONE document/task/generation at a time** — never batch multiple writes
|
|
24
30
|
|
|
@@ -87,6 +93,8 @@ You can **create tasks directly** using the `tasks` tool. Tasks are executed by
|
|
|
87
93
|
- **Attached context files**: When the user attaches context files, the COMPLETE content is already included. DO NOT use tools to fetch these files again.
|
|
88
94
|
- **Adding more context**: The user can use the hamburger menu (☰) in the context section above the chat to select additional files.
|
|
89
95
|
- **Code inspection limitations**: You cannot browse the filesystem or inspect source code directly. For code analysis, suggest a coding assistant.
|
|
96
|
+
- **Faithfulness when describing files**: When you describe what is in memory, role, or any document, only state what appears in a **tool result** or in the **injected sections** above (“Your Role for This Instance”, “Memory for This Instance”). Do **not** invent bullets, “technical notes,” or metadata that are not present in that text.
|
|
97
|
+
- **Attributing instructions**: Do **not** claim that text came from “the system prompt” or from this Coconut prompt unless it actually appears in the shared assistant instructions or those injected blocks. Generic instructions you may have about tool-calling or formatting (from the model provider) are **not** part of the user’s `memory.md` or project files — do not attribute them to those sources when the user asks where something came from.
|
|
90
98
|
|
|
91
99
|
## Tool Usage
|
|
92
100
|
|
|
@@ -156,9 +164,9 @@ You can **create tasks directly** using the `tasks` tool. Tasks are executed by
|
|
|
156
164
|
|
|
157
165
|
---
|
|
158
166
|
|
|
159
|
-
###
|
|
167
|
+
### agents_context — READ + WRITE
|
|
160
168
|
|
|
161
|
-
**What it can do:** Read and update the
|
|
169
|
+
**What it can do:** Read and update the agents definition document (`.nut/context/agents.md`). This captures the AI agents available to the project — their capabilities, configurations, and usage guidelines.
|
|
162
170
|
|
|
163
171
|
| Operation | Description | Example |
|
|
164
172
|
|-----------|-------------|---------|
|
|
@@ -172,13 +180,11 @@ You can **create tasks directly** using the `tasks` tool. Tasks are executed by
|
|
|
172
180
|
- **To edit existing text:** Use `replace_section` with the exact text to find and replace
|
|
173
181
|
- **AVOID `update`** on large documents — it requires sending the entire file and can fail
|
|
174
182
|
|
|
175
|
-
**Schema fields (optional YAML frontmatter):** `project.name`, `project.description`, `project.version`, `project.stage`, `goals.primary`, `goals.metrics`, `goals.non_goals`, `owners.product`, `owners.engineering`, `roadmap.milestones`, `dependencies`, `communication`
|
|
176
|
-
|
|
177
183
|
---
|
|
178
184
|
|
|
179
|
-
###
|
|
185
|
+
### team_context — READ + WRITE
|
|
180
186
|
|
|
181
|
-
**What it can do:** Read and update the
|
|
187
|
+
**What it can do:** Read and update the team definition document (`.nut/context/team.md`). This captures team members, their roles, responsibilities, and contact information.
|
|
182
188
|
|
|
183
189
|
| Operation | Description | Example |
|
|
184
190
|
|-----------|-------------|---------|
|
|
@@ -192,7 +198,23 @@ You can **create tasks directly** using the `tasks` tool. Tasks are executed by
|
|
|
192
198
|
- **To edit existing text:** Use `replace_section` with the exact text to find and replace
|
|
193
199
|
- **AVOID `update`** on large documents — it requires sending the entire file and can fail
|
|
194
200
|
|
|
195
|
-
|
|
201
|
+
---
|
|
202
|
+
|
|
203
|
+
### memory_context — READ + WRITE
|
|
204
|
+
|
|
205
|
+
**What it can do:** Read and update the memory document (`.nut/context/memory.md`). This stores persistent notes, decisions, preferences, and learned context that should be remembered across conversations.
|
|
206
|
+
|
|
207
|
+
| Operation | Description | Example |
|
|
208
|
+
|-----------|-------------|---------|
|
|
209
|
+
| `get` | Read current content | `{ "operation": "get" }` |
|
|
210
|
+
| `append` | Add content to end | `{ "operation": "append", "content": "## New Section\n..." }` |
|
|
211
|
+
| `replace_section` | **Edit specific text** (PREFERRED for edits) | `{ "operation": "replace_section", "old_text": "old text here", "new_text": "new text here" }` |
|
|
212
|
+
| `update` | Replace entire document | `{ "operation": "update", "content": "..." }` |
|
|
213
|
+
|
|
214
|
+
⚠️ **IMPORTANT for large documents:**
|
|
215
|
+
- **To add new content:** Use `append`
|
|
216
|
+
- **To edit existing text:** Use `replace_section` with the exact text to find and replace
|
|
217
|
+
- **AVOID `update`** on large documents — it requires sending the entire file and can fail
|
|
196
218
|
|
|
197
219
|
---
|
|
198
220
|
|
|
@@ -211,7 +233,8 @@ You can **create tasks directly** using the `tasks` tool. Tasks are executed by
|
|
|
211
233
|
| `add_from_url` | Save a URL as a resource | `{ "operation": "add_from_url", "url": "https://..." }` |
|
|
212
234
|
|
|
213
235
|
**Image generation models:**
|
|
214
|
-
- `nano-banana-pro`
|
|
236
|
+
- `nano-banana-pro` — fast, high-quality general purpose
|
|
237
|
+
- `nano-banana-2` (default) — Google's next-gen model
|
|
215
238
|
- `flux-2-dev` — good for creative/artistic styles
|
|
216
239
|
- `flux-2-pro` — higher quality, more control
|
|
217
240
|
- `gpt-image-1.5` — best for transparent backgrounds, limited aspect ratios (1:1, 3:2, 2:3)
|
|
@@ -222,15 +245,15 @@ You can **create tasks directly** using the `tasks` tool. Tasks are executed by
|
|
|
222
245
|
- **Video generation takes 2–5 minutes** — warn the user before starting; suggest image or audio if they need something quick
|
|
223
246
|
- **One generation at a time** — consistent with the write-once rule
|
|
224
247
|
- **Use `list` first** if the user asks about existing resources — don't guess IDs
|
|
225
|
-
- **Default to `nano-banana-
|
|
248
|
+
- **Default to `nano-banana-2`** — only use other models if the user asks or the task benefits (e.g., transparent backgrounds → `gpt-image-1.5`)
|
|
226
249
|
|
|
227
250
|
**When the user pastes a URL** to an image, audio, or video file, offer to save it as a resource using `add_from_url`.
|
|
228
251
|
|
|
229
252
|
---
|
|
230
253
|
|
|
231
|
-
## Helping Users Define
|
|
254
|
+
## Helping Users Define Project & Technical Context
|
|
232
255
|
|
|
233
|
-
When users want to define or refine
|
|
256
|
+
When users want to define or refine product direction, technical approach, or team norms, **guide them through discovery** rather than asking them to write everything at once. Persist outcomes in knowledge documents and/or the appropriate context tools (`role_context`, `agents_context`, `team_context`, `memory_context`).
|
|
234
257
|
|
|
235
258
|
### For Project Definition
|
|
236
259
|
|
|
@@ -258,9 +281,9 @@ Then synthesize their answers and offer to save it.
|
|
|
258
281
|
|
|
259
282
|
### Periodic Updates
|
|
260
283
|
|
|
261
|
-
After discussions that reveal new information
|
|
284
|
+
After discussions that reveal new information worth persisting, **proactively offer to update** the relevant context or knowledge document:
|
|
262
285
|
|
|
263
|
-
> "Based on what we discussed about [X], would you like me to update your
|
|
286
|
+
> "Based on what we discussed about [X], would you like me to update your role, memory, team, or agents context (or a knowledge doc) to reflect this?"
|
|
264
287
|
|
|
265
288
|
---
|
|
266
289
|
|
|
@@ -320,20 +343,20 @@ When users express intent to build something — websites, apps, features, impro
|
|
|
320
343
|
- **Create knowledge docs for research** — they persist and help future work
|
|
321
344
|
- **Tasks should be specific** — vague tasks lead to vague results
|
|
322
345
|
- **Offer to break down large requests** — "This is a big project. Want me to create tasks for the first milestone?"
|
|
323
|
-
- **Update
|
|
346
|
+
- **Update context documents** — if the request reveals new direction or decisions worth persisting
|
|
324
347
|
|
|
325
348
|
### Anti-Patterns to Avoid
|
|
326
349
|
|
|
327
350
|
❌ Creating tasks immediately without understanding requirements
|
|
328
351
|
❌ Creating one giant task for complex projects
|
|
329
352
|
❌ Skipping research when domain knowledge would help
|
|
330
|
-
❌ Forgetting to update
|
|
353
|
+
❌ Forgetting to update context documents after major planning
|
|
331
354
|
|
|
332
355
|
---
|
|
333
356
|
|
|
334
|
-
## Editing Large Documents
|
|
357
|
+
## Editing Large Context Documents
|
|
335
358
|
|
|
336
|
-
Large documents
|
|
359
|
+
Large context documents (e.g. `role.md`, `memory.md`, `agents.md`, `team.md`) require special handling. Choose your approach based on the type of edit:
|
|
337
360
|
|
|
338
361
|
### ✅ USE `append` when:
|
|
339
362
|
- Adding new sections, questions, or notes **at the end**
|
|
@@ -366,7 +389,7 @@ Large documents like `project.md` and `architecture.md` require special handling
|
|
|
366
389
|
> [the new/edited content here]
|
|
367
390
|
> \`\`\`
|
|
368
391
|
>
|
|
369
|
-
> You can edit this document
|
|
392
|
+
> You can edit this document in the app under **Context** (e.g. `/context/role`, `/context/memory`, `/context/agents`, `/context/team`) or via the matching `*_context` tool.
|
|
370
393
|
|
|
371
394
|
### ❌ AVOID `update` on existing large documents
|
|
372
395
|
The `update` operation sends the entire document and frequently fails on large files due to serialization issues. Only use it for:
|
|
@@ -381,4 +404,4 @@ The `update` operation sends the entire document and frequently fails on large f
|
|
|
381
404
|
- If a document's content was already provided as context, DO NOT fetch it again
|
|
382
405
|
- If you need to create multiple documents or tasks, create ONE at a time, wait for success, then continue
|
|
383
406
|
- **Tasks should have clear, actionable details** that coding agents can execute without additional context
|
|
384
|
-
- For
|
|
407
|
+
- For context documents, plain markdown is fine — YAML frontmatter is optional but helpful for structured data
|
package/dist/tasks.d.ts
CHANGED
|
@@ -13,14 +13,14 @@ export declare const AuthorSchema: z.ZodObject<{
|
|
|
13
13
|
type: "human" | "agent";
|
|
14
14
|
name: string;
|
|
15
15
|
id: string;
|
|
16
|
-
email?: string | undefined;
|
|
17
16
|
role?: string | undefined;
|
|
17
|
+
email?: string | undefined;
|
|
18
18
|
}, {
|
|
19
19
|
type: "human" | "agent";
|
|
20
20
|
name: string;
|
|
21
21
|
id: string;
|
|
22
|
-
email?: string | undefined;
|
|
23
22
|
role?: string | undefined;
|
|
23
|
+
email?: string | undefined;
|
|
24
24
|
}>;
|
|
25
25
|
export type AuthorInput = z.infer<typeof AuthorSchema>;
|
|
26
26
|
export declare const TaskFiltersSchema: z.ZodObject<{
|
|
@@ -31,15 +31,15 @@ export declare const TaskFiltersSchema: z.ZodObject<{
|
|
|
31
31
|
search: z.ZodOptional<z.ZodString>;
|
|
32
32
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
33
33
|
}, "strip", z.ZodTypeAny, {
|
|
34
|
-
search?: string | undefined;
|
|
35
34
|
status?: "draft" | "backlog" | "ready" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | "revision" | undefined;
|
|
35
|
+
search?: string | undefined;
|
|
36
36
|
author?: string | undefined;
|
|
37
37
|
tags?: string[] | undefined;
|
|
38
38
|
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
39
39
|
limit?: number | undefined;
|
|
40
40
|
}, {
|
|
41
|
-
search?: string | undefined;
|
|
42
41
|
status?: "draft" | "backlog" | "ready" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | "revision" | undefined;
|
|
42
|
+
search?: string | undefined;
|
|
43
43
|
author?: string | undefined;
|
|
44
44
|
tags?: string[] | undefined;
|
|
45
45
|
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
@@ -81,14 +81,14 @@ export declare const CreateTaskInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
81
81
|
type: "human" | "agent";
|
|
82
82
|
name: string;
|
|
83
83
|
id: string;
|
|
84
|
-
email?: string | undefined;
|
|
85
84
|
role?: string | undefined;
|
|
85
|
+
email?: string | undefined;
|
|
86
86
|
}, {
|
|
87
87
|
type: "human" | "agent";
|
|
88
88
|
name: string;
|
|
89
89
|
id: string;
|
|
90
|
-
email?: string | undefined;
|
|
91
90
|
role?: string | undefined;
|
|
91
|
+
email?: string | undefined;
|
|
92
92
|
}>>;
|
|
93
93
|
planSteps: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
94
94
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -128,14 +128,14 @@ export declare const CreateTaskInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
128
128
|
}>>;
|
|
129
129
|
productSpecRef: z.ZodOptional<z.ZodString>;
|
|
130
130
|
}, "strip", z.ZodTypeAny, {
|
|
131
|
-
status: "draft" | "backlog" | "ready" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | "revision";
|
|
132
131
|
content: string;
|
|
132
|
+
status: "draft" | "backlog" | "ready" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | "revision";
|
|
133
133
|
author?: {
|
|
134
134
|
type: "human" | "agent";
|
|
135
135
|
name: string;
|
|
136
136
|
id: string;
|
|
137
|
-
email?: string | undefined;
|
|
138
137
|
role?: string | undefined;
|
|
138
|
+
email?: string | undefined;
|
|
139
139
|
} | undefined;
|
|
140
140
|
metadata?: {
|
|
141
141
|
tags?: string[] | undefined;
|
|
@@ -160,8 +160,8 @@ export declare const CreateTaskInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
160
160
|
type: "human" | "agent";
|
|
161
161
|
name: string;
|
|
162
162
|
id: string;
|
|
163
|
-
email?: string | undefined;
|
|
164
163
|
role?: string | undefined;
|
|
164
|
+
email?: string | undefined;
|
|
165
165
|
} | undefined;
|
|
166
166
|
metadata?: {
|
|
167
167
|
tags?: string[] | undefined;
|
|
@@ -180,14 +180,14 @@ export declare const CreateTaskInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
180
180
|
})[] | undefined;
|
|
181
181
|
productSpecRef?: string | undefined;
|
|
182
182
|
}>, {
|
|
183
|
-
status: "draft" | "backlog" | "ready" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | "revision";
|
|
184
183
|
content: string;
|
|
184
|
+
status: "draft" | "backlog" | "ready" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | "revision";
|
|
185
185
|
author?: {
|
|
186
186
|
type: "human" | "agent";
|
|
187
187
|
name: string;
|
|
188
188
|
id: string;
|
|
189
|
-
email?: string | undefined;
|
|
190
189
|
role?: string | undefined;
|
|
190
|
+
email?: string | undefined;
|
|
191
191
|
} | undefined;
|
|
192
192
|
metadata?: {
|
|
193
193
|
tags?: string[] | undefined;
|
|
@@ -212,8 +212,8 @@ export declare const CreateTaskInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
212
212
|
type: "human" | "agent";
|
|
213
213
|
name: string;
|
|
214
214
|
id: string;
|
|
215
|
-
email?: string | undefined;
|
|
216
215
|
role?: string | undefined;
|
|
216
|
+
email?: string | undefined;
|
|
217
217
|
} | undefined;
|
|
218
218
|
metadata?: {
|
|
219
219
|
tags?: string[] | undefined;
|
|
@@ -276,6 +276,7 @@ export declare const UpdateTaskInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
276
276
|
}>>;
|
|
277
277
|
productSpecRef: z.ZodOptional<z.ZodString>;
|
|
278
278
|
}, "strip", z.ZodTypeAny, {
|
|
279
|
+
content?: string | undefined;
|
|
279
280
|
status?: "draft" | "backlog" | "ready" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | "revision" | undefined;
|
|
280
281
|
metadata?: {
|
|
281
282
|
tags?: string[] | undefined;
|
|
@@ -283,7 +284,6 @@ export declare const UpdateTaskInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
283
284
|
readiness?: number | undefined;
|
|
284
285
|
reviewers?: string[] | undefined;
|
|
285
286
|
} | undefined;
|
|
286
|
-
content?: string | undefined;
|
|
287
287
|
title?: string | undefined;
|
|
288
288
|
intent?: string | undefined;
|
|
289
289
|
planSteps?: (string | {
|
|
@@ -295,6 +295,7 @@ export declare const UpdateTaskInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
295
295
|
})[] | undefined;
|
|
296
296
|
productSpecRef?: string | undefined;
|
|
297
297
|
}, {
|
|
298
|
+
content?: string | undefined;
|
|
298
299
|
status?: "draft" | "backlog" | "ready" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | "revision" | undefined;
|
|
299
300
|
metadata?: {
|
|
300
301
|
tags?: string[] | undefined;
|
|
@@ -302,7 +303,6 @@ export declare const UpdateTaskInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
302
303
|
readiness?: number | undefined;
|
|
303
304
|
reviewers?: string[] | undefined;
|
|
304
305
|
} | undefined;
|
|
305
|
-
content?: string | undefined;
|
|
306
306
|
title?: string | undefined;
|
|
307
307
|
intent?: string | undefined;
|
|
308
308
|
planSteps?: (string | {
|
|
@@ -314,6 +314,7 @@ export declare const UpdateTaskInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
314
314
|
})[] | undefined;
|
|
315
315
|
productSpecRef?: string | undefined;
|
|
316
316
|
}>, {
|
|
317
|
+
content?: string | undefined;
|
|
317
318
|
status?: "draft" | "backlog" | "ready" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | "revision" | undefined;
|
|
318
319
|
metadata?: {
|
|
319
320
|
tags?: string[] | undefined;
|
|
@@ -321,7 +322,6 @@ export declare const UpdateTaskInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
321
322
|
readiness?: number | undefined;
|
|
322
323
|
reviewers?: string[] | undefined;
|
|
323
324
|
} | undefined;
|
|
324
|
-
content?: string | undefined;
|
|
325
325
|
title?: string | undefined;
|
|
326
326
|
intent?: string | undefined;
|
|
327
327
|
planSteps?: (string | {
|
|
@@ -333,6 +333,7 @@ export declare const UpdateTaskInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
333
333
|
})[] | undefined;
|
|
334
334
|
productSpecRef?: string | undefined;
|
|
335
335
|
}, {
|
|
336
|
+
content?: string | undefined;
|
|
336
337
|
status?: "draft" | "backlog" | "ready" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | "revision" | undefined;
|
|
337
338
|
metadata?: {
|
|
338
339
|
tags?: string[] | undefined;
|
|
@@ -340,7 +341,6 @@ export declare const UpdateTaskInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
340
341
|
readiness?: number | undefined;
|
|
341
342
|
reviewers?: string[] | undefined;
|
|
342
343
|
} | undefined;
|
|
343
|
-
content?: string | undefined;
|
|
344
344
|
title?: string | undefined;
|
|
345
345
|
intent?: string | undefined;
|
|
346
346
|
planSteps?: (string | {
|
|
@@ -396,11 +396,11 @@ export declare const AddCommentInputSchema: z.ZodObject<{
|
|
|
396
396
|
author: z.ZodString;
|
|
397
397
|
content: z.ZodString;
|
|
398
398
|
}, "strip", z.ZodTypeAny, {
|
|
399
|
-
author: string;
|
|
400
399
|
content: string;
|
|
401
|
-
}, {
|
|
402
400
|
author: string;
|
|
401
|
+
}, {
|
|
403
402
|
content: string;
|
|
403
|
+
author: string;
|
|
404
404
|
}>;
|
|
405
405
|
export type AddCommentInput = z.infer<typeof AddCommentInputSchema>;
|
|
406
406
|
/**
|
|
@@ -416,18 +416,18 @@ export declare const UpdatePlanStepInputSchema: z.ZodObject<{
|
|
|
416
416
|
error: z.ZodOptional<z.ZodString>;
|
|
417
417
|
}, "strip", z.ZodTypeAny, {
|
|
418
418
|
status?: "active" | "done" | "pending" | "failed" | "skipped" | undefined;
|
|
419
|
+
error?: string | undefined;
|
|
419
420
|
description?: string | undefined;
|
|
420
421
|
command?: string | undefined;
|
|
421
422
|
expectedOutcome?: string | undefined;
|
|
422
423
|
output?: string | undefined;
|
|
423
|
-
error?: string | undefined;
|
|
424
424
|
}, {
|
|
425
425
|
status?: "active" | "done" | "pending" | "failed" | "skipped" | undefined;
|
|
426
|
+
error?: string | undefined;
|
|
426
427
|
description?: string | undefined;
|
|
427
428
|
command?: string | undefined;
|
|
428
429
|
expectedOutcome?: string | undefined;
|
|
429
430
|
output?: string | undefined;
|
|
430
|
-
error?: string | undefined;
|
|
431
431
|
}>;
|
|
432
432
|
export type UpdatePlanStepInput = z.infer<typeof UpdatePlanStepInputSchema>;
|
|
433
433
|
/**
|
|
@@ -456,14 +456,14 @@ export declare const taskSchemas: {
|
|
|
456
456
|
type: "human" | "agent";
|
|
457
457
|
name: string;
|
|
458
458
|
id: string;
|
|
459
|
-
email?: string | undefined;
|
|
460
459
|
role?: string | undefined;
|
|
460
|
+
email?: string | undefined;
|
|
461
461
|
}, {
|
|
462
462
|
type: "human" | "agent";
|
|
463
463
|
name: string;
|
|
464
464
|
id: string;
|
|
465
|
-
email?: string | undefined;
|
|
466
465
|
role?: string | undefined;
|
|
466
|
+
email?: string | undefined;
|
|
467
467
|
}>;
|
|
468
468
|
TaskFiltersSchema: z.ZodObject<{
|
|
469
469
|
status: z.ZodOptional<z.ZodEnum<["draft", "backlog", "ready", "queued", "active", "blocked", "review", "revision", "done", "canceled", "duplicate"]>>;
|
|
@@ -473,15 +473,15 @@ export declare const taskSchemas: {
|
|
|
473
473
|
search: z.ZodOptional<z.ZodString>;
|
|
474
474
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
475
475
|
}, "strip", z.ZodTypeAny, {
|
|
476
|
-
search?: string | undefined;
|
|
477
476
|
status?: "draft" | "backlog" | "ready" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | "revision" | undefined;
|
|
477
|
+
search?: string | undefined;
|
|
478
478
|
author?: string | undefined;
|
|
479
479
|
tags?: string[] | undefined;
|
|
480
480
|
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
481
481
|
limit?: number | undefined;
|
|
482
482
|
}, {
|
|
483
|
-
search?: string | undefined;
|
|
484
483
|
status?: "draft" | "backlog" | "ready" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | "revision" | undefined;
|
|
484
|
+
search?: string | undefined;
|
|
485
485
|
author?: string | undefined;
|
|
486
486
|
tags?: string[] | undefined;
|
|
487
487
|
priority?: "low" | "medium" | "high" | "critical" | undefined;
|
|
@@ -522,14 +522,14 @@ export declare const taskSchemas: {
|
|
|
522
522
|
type: "human" | "agent";
|
|
523
523
|
name: string;
|
|
524
524
|
id: string;
|
|
525
|
-
email?: string | undefined;
|
|
526
525
|
role?: string | undefined;
|
|
526
|
+
email?: string | undefined;
|
|
527
527
|
}, {
|
|
528
528
|
type: "human" | "agent";
|
|
529
529
|
name: string;
|
|
530
530
|
id: string;
|
|
531
|
-
email?: string | undefined;
|
|
532
531
|
role?: string | undefined;
|
|
532
|
+
email?: string | undefined;
|
|
533
533
|
}>>;
|
|
534
534
|
planSteps: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
535
535
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -569,14 +569,14 @@ export declare const taskSchemas: {
|
|
|
569
569
|
}>>;
|
|
570
570
|
productSpecRef: z.ZodOptional<z.ZodString>;
|
|
571
571
|
}, "strip", z.ZodTypeAny, {
|
|
572
|
-
status: "draft" | "backlog" | "ready" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | "revision";
|
|
573
572
|
content: string;
|
|
573
|
+
status: "draft" | "backlog" | "ready" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | "revision";
|
|
574
574
|
author?: {
|
|
575
575
|
type: "human" | "agent";
|
|
576
576
|
name: string;
|
|
577
577
|
id: string;
|
|
578
|
-
email?: string | undefined;
|
|
579
578
|
role?: string | undefined;
|
|
579
|
+
email?: string | undefined;
|
|
580
580
|
} | undefined;
|
|
581
581
|
metadata?: {
|
|
582
582
|
tags?: string[] | undefined;
|
|
@@ -601,8 +601,8 @@ export declare const taskSchemas: {
|
|
|
601
601
|
type: "human" | "agent";
|
|
602
602
|
name: string;
|
|
603
603
|
id: string;
|
|
604
|
-
email?: string | undefined;
|
|
605
604
|
role?: string | undefined;
|
|
605
|
+
email?: string | undefined;
|
|
606
606
|
} | undefined;
|
|
607
607
|
metadata?: {
|
|
608
608
|
tags?: string[] | undefined;
|
|
@@ -621,14 +621,14 @@ export declare const taskSchemas: {
|
|
|
621
621
|
})[] | undefined;
|
|
622
622
|
productSpecRef?: string | undefined;
|
|
623
623
|
}>, {
|
|
624
|
-
status: "draft" | "backlog" | "ready" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | "revision";
|
|
625
624
|
content: string;
|
|
625
|
+
status: "draft" | "backlog" | "ready" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | "revision";
|
|
626
626
|
author?: {
|
|
627
627
|
type: "human" | "agent";
|
|
628
628
|
name: string;
|
|
629
629
|
id: string;
|
|
630
|
-
email?: string | undefined;
|
|
631
630
|
role?: string | undefined;
|
|
631
|
+
email?: string | undefined;
|
|
632
632
|
} | undefined;
|
|
633
633
|
metadata?: {
|
|
634
634
|
tags?: string[] | undefined;
|
|
@@ -653,8 +653,8 @@ export declare const taskSchemas: {
|
|
|
653
653
|
type: "human" | "agent";
|
|
654
654
|
name: string;
|
|
655
655
|
id: string;
|
|
656
|
-
email?: string | undefined;
|
|
657
656
|
role?: string | undefined;
|
|
657
|
+
email?: string | undefined;
|
|
658
658
|
} | undefined;
|
|
659
659
|
metadata?: {
|
|
660
660
|
tags?: string[] | undefined;
|
|
@@ -716,6 +716,7 @@ export declare const taskSchemas: {
|
|
|
716
716
|
}>>;
|
|
717
717
|
productSpecRef: z.ZodOptional<z.ZodString>;
|
|
718
718
|
}, "strip", z.ZodTypeAny, {
|
|
719
|
+
content?: string | undefined;
|
|
719
720
|
status?: "draft" | "backlog" | "ready" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | "revision" | undefined;
|
|
720
721
|
metadata?: {
|
|
721
722
|
tags?: string[] | undefined;
|
|
@@ -723,7 +724,6 @@ export declare const taskSchemas: {
|
|
|
723
724
|
readiness?: number | undefined;
|
|
724
725
|
reviewers?: string[] | undefined;
|
|
725
726
|
} | undefined;
|
|
726
|
-
content?: string | undefined;
|
|
727
727
|
title?: string | undefined;
|
|
728
728
|
intent?: string | undefined;
|
|
729
729
|
planSteps?: (string | {
|
|
@@ -735,6 +735,7 @@ export declare const taskSchemas: {
|
|
|
735
735
|
})[] | undefined;
|
|
736
736
|
productSpecRef?: string | undefined;
|
|
737
737
|
}, {
|
|
738
|
+
content?: string | undefined;
|
|
738
739
|
status?: "draft" | "backlog" | "ready" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | "revision" | undefined;
|
|
739
740
|
metadata?: {
|
|
740
741
|
tags?: string[] | undefined;
|
|
@@ -742,7 +743,6 @@ export declare const taskSchemas: {
|
|
|
742
743
|
readiness?: number | undefined;
|
|
743
744
|
reviewers?: string[] | undefined;
|
|
744
745
|
} | undefined;
|
|
745
|
-
content?: string | undefined;
|
|
746
746
|
title?: string | undefined;
|
|
747
747
|
intent?: string | undefined;
|
|
748
748
|
planSteps?: (string | {
|
|
@@ -754,6 +754,7 @@ export declare const taskSchemas: {
|
|
|
754
754
|
})[] | undefined;
|
|
755
755
|
productSpecRef?: string | undefined;
|
|
756
756
|
}>, {
|
|
757
|
+
content?: string | undefined;
|
|
757
758
|
status?: "draft" | "backlog" | "ready" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | "revision" | undefined;
|
|
758
759
|
metadata?: {
|
|
759
760
|
tags?: string[] | undefined;
|
|
@@ -761,7 +762,6 @@ export declare const taskSchemas: {
|
|
|
761
762
|
readiness?: number | undefined;
|
|
762
763
|
reviewers?: string[] | undefined;
|
|
763
764
|
} | undefined;
|
|
764
|
-
content?: string | undefined;
|
|
765
765
|
title?: string | undefined;
|
|
766
766
|
intent?: string | undefined;
|
|
767
767
|
planSteps?: (string | {
|
|
@@ -773,6 +773,7 @@ export declare const taskSchemas: {
|
|
|
773
773
|
})[] | undefined;
|
|
774
774
|
productSpecRef?: string | undefined;
|
|
775
775
|
}, {
|
|
776
|
+
content?: string | undefined;
|
|
776
777
|
status?: "draft" | "backlog" | "ready" | "queued" | "active" | "blocked" | "review" | "done" | "canceled" | "duplicate" | "revision" | undefined;
|
|
777
778
|
metadata?: {
|
|
778
779
|
tags?: string[] | undefined;
|
|
@@ -780,7 +781,6 @@ export declare const taskSchemas: {
|
|
|
780
781
|
readiness?: number | undefined;
|
|
781
782
|
reviewers?: string[] | undefined;
|
|
782
783
|
} | undefined;
|
|
783
|
-
content?: string | undefined;
|
|
784
784
|
title?: string | undefined;
|
|
785
785
|
intent?: string | undefined;
|
|
786
786
|
planSteps?: (string | {
|
|
@@ -817,28 +817,28 @@ export declare const taskSchemas: {
|
|
|
817
817
|
error: z.ZodOptional<z.ZodString>;
|
|
818
818
|
}, "strip", z.ZodTypeAny, {
|
|
819
819
|
status?: "active" | "done" | "pending" | "failed" | "skipped" | undefined;
|
|
820
|
+
error?: string | undefined;
|
|
820
821
|
description?: string | undefined;
|
|
821
822
|
command?: string | undefined;
|
|
822
823
|
expectedOutcome?: string | undefined;
|
|
823
824
|
output?: string | undefined;
|
|
824
|
-
error?: string | undefined;
|
|
825
825
|
}, {
|
|
826
826
|
status?: "active" | "done" | "pending" | "failed" | "skipped" | undefined;
|
|
827
|
+
error?: string | undefined;
|
|
827
828
|
description?: string | undefined;
|
|
828
829
|
command?: string | undefined;
|
|
829
830
|
expectedOutcome?: string | undefined;
|
|
830
831
|
output?: string | undefined;
|
|
831
|
-
error?: string | undefined;
|
|
832
832
|
}>;
|
|
833
833
|
AddCommentInputSchema: z.ZodObject<{
|
|
834
834
|
author: z.ZodString;
|
|
835
835
|
content: z.ZodString;
|
|
836
836
|
}, "strip", z.ZodTypeAny, {
|
|
837
|
-
author: string;
|
|
838
837
|
content: string;
|
|
839
|
-
}, {
|
|
840
838
|
author: string;
|
|
839
|
+
}, {
|
|
841
840
|
content: string;
|
|
841
|
+
author: string;
|
|
842
842
|
}>;
|
|
843
843
|
};
|
|
844
844
|
export declare const taskJsonSchemas: {
|