@deimoscloud/coreai 0.1.9 → 0.1.11
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/index.js +7 -0
- package/dist/cli/index.js.map +1 -1
- package/dist/index.js +7 -0
- package/dist/index.js.map +1 -1
- package/package.json +6 -1
- package/.prettierrc +0 -9
- package/AGENT_SPEC.md +0 -347
- package/ARCHITECTURE.md +0 -547
- package/DRAFT_PRD.md +0 -1440
- package/IMPLEMENTATION_PLAN.md +0 -256
- package/PRODUCT.md +0 -473
- package/WORKFLOWS.md +0 -295
- package/commands/core/check-inbox.md +0 -34
- package/commands/core/delegate.md +0 -30
- package/commands/core/git-commit.md +0 -144
- package/commands/core/pr-create.md +0 -193
- package/commands/core/review.md +0 -56
- package/commands/core/sprint-status.md +0 -65
- package/commands/optional/docs-update.md +0 -200
- package/commands/optional/jira-create.md +0 -200
- package/commands/optional/jira-transition.md +0 -184
- package/commands/optional/worktree-cleanup.md +0 -167
- package/commands/optional/worktree-setup.md +0 -110
- package/eslint.config.js +0 -29
- package/jest.config.js +0 -22
- package/knowledge-library/README.md +0 -118
- package/knowledge-library/android-engineer/context/current.txt +0 -42
- package/knowledge-library/android-engineer/control/decisions.txt +0 -9
- package/knowledge-library/android-engineer/control/dependencies.txt +0 -19
- package/knowledge-library/android-engineer/control/objectives.txt +0 -26
- package/knowledge-library/android-engineer/history/.gitkeep +0 -0
- package/knowledge-library/android-engineer/inbox/processed/.gitkeep +0 -0
- package/knowledge-library/android-engineer/outbox/.gitkeep +0 -0
- package/knowledge-library/android-engineer/tech/.gitkeep +0 -0
- package/knowledge-library/architecture.txt +0 -61
- package/knowledge-library/backend-engineer/context/current.txt +0 -42
- package/knowledge-library/backend-engineer/control/decisions.txt +0 -9
- package/knowledge-library/backend-engineer/control/dependencies.txt +0 -19
- package/knowledge-library/backend-engineer/control/objectives.txt +0 -26
- package/knowledge-library/backend-engineer/history/.gitkeep +0 -0
- package/knowledge-library/backend-engineer/inbox/processed/.gitkeep +0 -0
- package/knowledge-library/backend-engineer/outbox/.gitkeep +0 -0
- package/knowledge-library/backend-engineer/tech/.gitkeep +0 -0
- package/knowledge-library/context.txt +0 -52
- package/knowledge-library/devops-engineer/context/current.txt +0 -42
- package/knowledge-library/devops-engineer/control/decisions.txt +0 -9
- package/knowledge-library/devops-engineer/control/dependencies.txt +0 -19
- package/knowledge-library/devops-engineer/control/objectives.txt +0 -26
- package/knowledge-library/devops-engineer/history/.gitkeep +0 -0
- package/knowledge-library/devops-engineer/inbox/processed/.gitkeep +0 -0
- package/knowledge-library/devops-engineer/outbox/.gitkeep +0 -0
- package/knowledge-library/devops-engineer/tech/.gitkeep +0 -0
- package/knowledge-library/engineering-manager/context/current.txt +0 -40
- package/knowledge-library/engineering-manager/control/decisions.txt +0 -9
- package/knowledge-library/engineering-manager/control/objectives.txt +0 -27
- package/knowledge-library/engineering-manager/history/.gitkeep +0 -0
- package/knowledge-library/engineering-manager/inbox/processed/.gitkeep +0 -0
- package/knowledge-library/engineering-manager/outbox/.gitkeep +0 -0
- package/knowledge-library/engineering-manager/tech/.gitkeep +0 -0
- package/knowledge-library/prd.txt +0 -81
- package/knowledge-library/product-manager/context/current.txt +0 -42
- package/knowledge-library/product-manager/control/decisions.txt +0 -9
- package/knowledge-library/product-manager/control/dependencies.txt +0 -19
- package/knowledge-library/product-manager/control/objectives.txt +0 -26
- package/knowledge-library/product-manager/history/.gitkeep +0 -0
- package/knowledge-library/product-manager/inbox/processed/.gitkeep +0 -0
- package/knowledge-library/product-manager/outbox/.gitkeep +0 -0
- package/knowledge-library/product-manager/tech/.gitkeep +0 -0
- package/knowledge-library/qa-engineer/context/current.txt +0 -42
- package/knowledge-library/qa-engineer/control/decisions.txt +0 -9
- package/knowledge-library/qa-engineer/control/dependencies.txt +0 -19
- package/knowledge-library/qa-engineer/control/objectives.txt +0 -26
- package/knowledge-library/qa-engineer/history/.gitkeep +0 -0
- package/knowledge-library/qa-engineer/inbox/processed/.gitkeep +0 -0
- package/knowledge-library/qa-engineer/outbox/.gitkeep +0 -0
- package/knowledge-library/qa-engineer/tech/.gitkeep +0 -0
- package/knowledge-library/security-engineer/context/current.txt +0 -42
- package/knowledge-library/security-engineer/control/decisions.txt +0 -9
- package/knowledge-library/security-engineer/control/dependencies.txt +0 -19
- package/knowledge-library/security-engineer/control/objectives.txt +0 -26
- package/knowledge-library/security-engineer/history/.gitkeep +0 -0
- package/knowledge-library/security-engineer/inbox/processed/.gitkeep +0 -0
- package/knowledge-library/security-engineer/outbox/.gitkeep +0 -0
- package/knowledge-library/security-engineer/tech/.gitkeep +0 -0
- package/knowledge-library/solutions-architect/context/current.txt +0 -42
- package/knowledge-library/solutions-architect/control/decisions.txt +0 -9
- package/knowledge-library/solutions-architect/control/dependencies.txt +0 -19
- package/knowledge-library/solutions-architect/control/objectives.txt +0 -26
- package/knowledge-library/solutions-architect/history/.gitkeep +0 -0
- package/knowledge-library/solutions-architect/inbox/processed/.gitkeep +0 -0
- package/knowledge-library/solutions-architect/outbox/.gitkeep +0 -0
- package/knowledge-library/solutions-architect/tech/.gitkeep +0 -0
- package/knowledge-library/wearos-engineer/context/current.txt +0 -42
- package/knowledge-library/wearos-engineer/control/decisions.txt +0 -9
- package/knowledge-library/wearos-engineer/control/dependencies.txt +0 -19
- package/knowledge-library/wearos-engineer/control/objectives.txt +0 -26
- package/knowledge-library/wearos-engineer/history/.gitkeep +0 -0
- package/knowledge-library/wearos-engineer/inbox/processed/.gitkeep +0 -0
- package/knowledge-library/wearos-engineer/outbox/.gitkeep +0 -0
- package/knowledge-library/wearos-engineer/tech/.gitkeep +0 -0
- package/scripts/add-agent.sh +0 -323
- package/scripts/install.sh +0 -354
- package/src/adapters/factory.test.ts +0 -386
- package/src/adapters/factory.ts +0 -305
- package/src/adapters/index.ts +0 -113
- package/src/adapters/interfaces.ts +0 -268
- package/src/adapters/mcp/client.test.ts +0 -130
- package/src/adapters/mcp/client.ts +0 -451
- package/src/adapters/mcp/discovery.test.ts +0 -315
- package/src/adapters/mcp/discovery.ts +0 -340
- package/src/adapters/mcp/index.ts +0 -66
- package/src/adapters/mcp/mapper.test.ts +0 -218
- package/src/adapters/mcp/mapper.ts +0 -536
- package/src/adapters/mcp/registry.test.ts +0 -433
- package/src/adapters/mcp/registry.ts +0 -550
- package/src/adapters/mcp/types.ts +0 -258
- package/src/adapters/native/filesystem.test.ts +0 -350
- package/src/adapters/native/filesystem.ts +0 -393
- package/src/adapters/native/github.test.ts +0 -173
- package/src/adapters/native/github.ts +0 -627
- package/src/adapters/native/index.ts +0 -22
- package/src/adapters/native/selector.test.ts +0 -224
- package/src/adapters/native/selector.ts +0 -150
- package/src/adapters/types.ts +0 -270
- package/src/agents/compiler.test.ts +0 -410
- package/src/agents/compiler.ts +0 -424
- package/src/agents/index.ts +0 -37
- package/src/agents/loader.test.ts +0 -319
- package/src/agents/loader.ts +0 -143
- package/src/agents/resolver.test.ts +0 -282
- package/src/agents/resolver.ts +0 -262
- package/src/agents/types.ts +0 -97
- package/src/cache/index.ts +0 -38
- package/src/cache/interfaces.ts +0 -283
- package/src/cache/manager.test.ts +0 -266
- package/src/cache/manager.ts +0 -388
- package/src/cache/provider.test.ts +0 -485
- package/src/cache/provider.ts +0 -745
- package/src/cache/types.test.ts +0 -192
- package/src/cache/types.ts +0 -313
- package/src/cli/commands/build.test.ts +0 -248
- package/src/cli/commands/build.ts +0 -284
- package/src/cli/commands/cache.test.ts +0 -221
- package/src/cli/commands/cache.ts +0 -229
- package/src/cli/commands/index.ts +0 -63
- package/src/cli/commands/init.test.ts +0 -173
- package/src/cli/commands/init.ts +0 -296
- package/src/cli/commands/skills.test.ts +0 -272
- package/src/cli/commands/skills.ts +0 -348
- package/src/cli/commands/status.test.ts +0 -392
- package/src/cli/commands/status.ts +0 -332
- package/src/cli/commands/sync.test.ts +0 -213
- package/src/cli/commands/sync.ts +0 -251
- package/src/cli/commands/validate.test.ts +0 -216
- package/src/cli/commands/validate.ts +0 -340
- package/src/cli/index.test.ts +0 -190
- package/src/cli/index.ts +0 -493
- package/src/commands/context.test.ts +0 -163
- package/src/commands/context.ts +0 -111
- package/src/commands/index.ts +0 -56
- package/src/commands/loader.test.ts +0 -273
- package/src/commands/loader.ts +0 -355
- package/src/commands/registry.test.ts +0 -384
- package/src/commands/registry.ts +0 -248
- package/src/commands/runner.test.ts +0 -297
- package/src/commands/runner.ts +0 -222
- package/src/commands/types.ts +0 -361
- package/src/config/index.ts +0 -19
- package/src/config/loader.test.ts +0 -262
- package/src/config/loader.ts +0 -188
- package/src/config/types.ts +0 -154
- package/src/context/index.ts +0 -14
- package/src/context/loader.test.ts +0 -334
- package/src/context/loader.ts +0 -357
- package/src/index.test.ts +0 -13
- package/src/index.ts +0 -268
- package/src/knowledge-library/index.ts +0 -44
- package/src/knowledge-library/manager.test.ts +0 -536
- package/src/knowledge-library/manager.ts +0 -804
- package/src/knowledge-library/types.ts +0 -432
- package/src/skills/generator.test.ts +0 -602
- package/src/skills/generator.ts +0 -491
- package/src/skills/index.ts +0 -27
- package/src/skills/templates.ts +0 -520
- package/src/skills/types.ts +0 -251
- package/templates/completion-report.md +0 -72
- package/templates/feedback.md +0 -56
- package/templates/project-files/CLAUDE.md.template +0 -109
- package/templates/project-files/coreai.json.example +0 -47
- package/templates/project-files/mcp.json.template +0 -20
- package/templates/review-complete.md +0 -64
- package/templates/review-request.md +0 -67
- package/templates/task-assignment.md +0 -51
- package/tsconfig.build.json +0 -4
- package/tsconfig.json +0 -26
- package/tsup.config.ts +0 -23
|
@@ -1,432 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* KnowledgeLibrary Types
|
|
3
|
-
*
|
|
4
|
-
* Type definitions for local agent state management.
|
|
5
|
-
*/
|
|
6
|
-
|
|
7
|
-
/**
|
|
8
|
-
* Message type for inbox/outbox messages
|
|
9
|
-
*/
|
|
10
|
-
export type MessageType =
|
|
11
|
-
| 'task-assignment'
|
|
12
|
-
| 'completion-report'
|
|
13
|
-
| 'review-request'
|
|
14
|
-
| 'feedback'
|
|
15
|
-
| 'status-update'
|
|
16
|
-
| 'question'
|
|
17
|
-
| 'response';
|
|
18
|
-
|
|
19
|
-
/**
|
|
20
|
-
* Priority levels for messages
|
|
21
|
-
*/
|
|
22
|
-
export type MessagePriority = 'P0' | 'P1' | 'P2' | 'P3';
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* Message metadata from frontmatter
|
|
26
|
-
*/
|
|
27
|
-
export interface MessageMetadata {
|
|
28
|
-
/**
|
|
29
|
-
* Message type
|
|
30
|
-
*/
|
|
31
|
-
type: MessageType;
|
|
32
|
-
|
|
33
|
-
/**
|
|
34
|
-
* Sender agent name
|
|
35
|
-
*/
|
|
36
|
-
from: string;
|
|
37
|
-
|
|
38
|
-
/**
|
|
39
|
-
* Recipient agent name
|
|
40
|
-
*/
|
|
41
|
-
to: string;
|
|
42
|
-
|
|
43
|
-
/**
|
|
44
|
-
* Timestamp of the message
|
|
45
|
-
*/
|
|
46
|
-
date: Date;
|
|
47
|
-
|
|
48
|
-
/**
|
|
49
|
-
* Associated ticket key (optional)
|
|
50
|
-
*/
|
|
51
|
-
ticket?: string;
|
|
52
|
-
|
|
53
|
-
/**
|
|
54
|
-
* Message priority (optional)
|
|
55
|
-
*/
|
|
56
|
-
priority?: MessagePriority;
|
|
57
|
-
|
|
58
|
-
/**
|
|
59
|
-
* Message subject
|
|
60
|
-
*/
|
|
61
|
-
subject?: string;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
/**
|
|
65
|
-
* An inbox/outbox message
|
|
66
|
-
*/
|
|
67
|
-
export interface Message {
|
|
68
|
-
/**
|
|
69
|
-
* Message filename
|
|
70
|
-
*/
|
|
71
|
-
filename: string;
|
|
72
|
-
|
|
73
|
-
/**
|
|
74
|
-
* Full file path
|
|
75
|
-
*/
|
|
76
|
-
path: string;
|
|
77
|
-
|
|
78
|
-
/**
|
|
79
|
-
* Message metadata from frontmatter
|
|
80
|
-
*/
|
|
81
|
-
metadata: MessageMetadata;
|
|
82
|
-
|
|
83
|
-
/**
|
|
84
|
-
* Raw message content (including frontmatter)
|
|
85
|
-
*/
|
|
86
|
-
rawContent: string;
|
|
87
|
-
|
|
88
|
-
/**
|
|
89
|
-
* Message body (excluding frontmatter)
|
|
90
|
-
*/
|
|
91
|
-
body: string;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
/**
|
|
95
|
-
* Agent context state
|
|
96
|
-
*/
|
|
97
|
-
export interface AgentContext {
|
|
98
|
-
/**
|
|
99
|
-
* Current task or assignment
|
|
100
|
-
*/
|
|
101
|
-
currentTask?: string;
|
|
102
|
-
|
|
103
|
-
/**
|
|
104
|
-
* Current ticket being worked on
|
|
105
|
-
*/
|
|
106
|
-
currentTicket?: string;
|
|
107
|
-
|
|
108
|
-
/**
|
|
109
|
-
* Current state/status
|
|
110
|
-
*/
|
|
111
|
-
status?: string;
|
|
112
|
-
|
|
113
|
-
/**
|
|
114
|
-
* Last updated timestamp
|
|
115
|
-
*/
|
|
116
|
-
lastUpdated: Date;
|
|
117
|
-
|
|
118
|
-
/**
|
|
119
|
-
* Additional context notes
|
|
120
|
-
*/
|
|
121
|
-
notes?: string;
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
/**
|
|
125
|
-
* Agent objective entry
|
|
126
|
-
*/
|
|
127
|
-
export interface Objective {
|
|
128
|
-
/**
|
|
129
|
-
* Objective description
|
|
130
|
-
*/
|
|
131
|
-
description: string;
|
|
132
|
-
|
|
133
|
-
/**
|
|
134
|
-
* Success criteria
|
|
135
|
-
*/
|
|
136
|
-
successCriteria?: string[];
|
|
137
|
-
|
|
138
|
-
/**
|
|
139
|
-
* Deadline (optional)
|
|
140
|
-
*/
|
|
141
|
-
deadline?: Date;
|
|
142
|
-
|
|
143
|
-
/**
|
|
144
|
-
* Priority
|
|
145
|
-
*/
|
|
146
|
-
priority?: MessagePriority;
|
|
147
|
-
|
|
148
|
-
/**
|
|
149
|
-
* Status
|
|
150
|
-
*/
|
|
151
|
-
status: 'pending' | 'in_progress' | 'completed' | 'blocked';
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
/**
|
|
155
|
-
* Decision log entry
|
|
156
|
-
*/
|
|
157
|
-
export interface Decision {
|
|
158
|
-
/**
|
|
159
|
-
* Decision timestamp
|
|
160
|
-
*/
|
|
161
|
-
date: Date;
|
|
162
|
-
|
|
163
|
-
/**
|
|
164
|
-
* What was decided
|
|
165
|
-
*/
|
|
166
|
-
decision: string;
|
|
167
|
-
|
|
168
|
-
/**
|
|
169
|
-
* Context/reasoning
|
|
170
|
-
*/
|
|
171
|
-
reasoning?: string;
|
|
172
|
-
|
|
173
|
-
/**
|
|
174
|
-
* Related ticket or task
|
|
175
|
-
*/
|
|
176
|
-
relatedTo?: string;
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
/**
|
|
180
|
-
* Dependency tracking entry
|
|
181
|
-
*/
|
|
182
|
-
export interface Dependency {
|
|
183
|
-
/**
|
|
184
|
-
* What this agent/task depends on
|
|
185
|
-
*/
|
|
186
|
-
blockedBy?: string[];
|
|
187
|
-
|
|
188
|
-
/**
|
|
189
|
-
* What depends on this agent/task
|
|
190
|
-
*/
|
|
191
|
-
blocking?: string[];
|
|
192
|
-
|
|
193
|
-
/**
|
|
194
|
-
* Last updated
|
|
195
|
-
*/
|
|
196
|
-
lastUpdated: Date;
|
|
197
|
-
}
|
|
198
|
-
|
|
199
|
-
/**
|
|
200
|
-
* Agent control state (objectives, decisions, dependencies)
|
|
201
|
-
*/
|
|
202
|
-
export interface AgentControl {
|
|
203
|
-
objectives: Objective[];
|
|
204
|
-
decisions: Decision[];
|
|
205
|
-
dependencies: Dependency;
|
|
206
|
-
}
|
|
207
|
-
|
|
208
|
-
/**
|
|
209
|
-
* Directory paths within an agent's KnowledgeLibrary
|
|
210
|
-
*/
|
|
211
|
-
export interface AgentDirectories {
|
|
212
|
-
/**
|
|
213
|
-
* Root directory for this agent
|
|
214
|
-
*/
|
|
215
|
-
root: string;
|
|
216
|
-
|
|
217
|
-
/**
|
|
218
|
-
* Inbox for incoming messages
|
|
219
|
-
*/
|
|
220
|
-
inbox: string;
|
|
221
|
-
|
|
222
|
-
/**
|
|
223
|
-
* Processed messages archive
|
|
224
|
-
*/
|
|
225
|
-
inboxProcessed: string;
|
|
226
|
-
|
|
227
|
-
/**
|
|
228
|
-
* Outbox for sent messages
|
|
229
|
-
*/
|
|
230
|
-
outbox: string;
|
|
231
|
-
|
|
232
|
-
/**
|
|
233
|
-
* Context directory
|
|
234
|
-
*/
|
|
235
|
-
context: string;
|
|
236
|
-
|
|
237
|
-
/**
|
|
238
|
-
* Control directory (objectives, decisions, dependencies)
|
|
239
|
-
*/
|
|
240
|
-
control: string;
|
|
241
|
-
|
|
242
|
-
/**
|
|
243
|
-
* Historical records
|
|
244
|
-
*/
|
|
245
|
-
history: string;
|
|
246
|
-
|
|
247
|
-
/**
|
|
248
|
-
* Technical notes and research
|
|
249
|
-
*/
|
|
250
|
-
tech: string;
|
|
251
|
-
}
|
|
252
|
-
|
|
253
|
-
/**
|
|
254
|
-
* Full KnowledgeLibrary state for an agent
|
|
255
|
-
*/
|
|
256
|
-
export interface AgentKnowledgeState {
|
|
257
|
-
/**
|
|
258
|
-
* Agent name/identifier
|
|
259
|
-
*/
|
|
260
|
-
agentName: string;
|
|
261
|
-
|
|
262
|
-
/**
|
|
263
|
-
* Directory paths
|
|
264
|
-
*/
|
|
265
|
-
directories: AgentDirectories;
|
|
266
|
-
|
|
267
|
-
/**
|
|
268
|
-
* Current context
|
|
269
|
-
*/
|
|
270
|
-
context?: AgentContext;
|
|
271
|
-
|
|
272
|
-
/**
|
|
273
|
-
* Control state
|
|
274
|
-
*/
|
|
275
|
-
control?: AgentControl;
|
|
276
|
-
|
|
277
|
-
/**
|
|
278
|
-
* Unprocessed inbox messages
|
|
279
|
-
*/
|
|
280
|
-
pendingMessages: Message[];
|
|
281
|
-
|
|
282
|
-
/**
|
|
283
|
-
* Initialization status
|
|
284
|
-
*/
|
|
285
|
-
initialized: boolean;
|
|
286
|
-
}
|
|
287
|
-
|
|
288
|
-
/**
|
|
289
|
-
* Options for initializing KnowledgeLibrary
|
|
290
|
-
*/
|
|
291
|
-
export interface InitKnowledgeLibraryOptions {
|
|
292
|
-
/**
|
|
293
|
-
* Project root directory
|
|
294
|
-
*/
|
|
295
|
-
projectRoot?: string;
|
|
296
|
-
|
|
297
|
-
/**
|
|
298
|
-
* Base directory for KnowledgeLibrary
|
|
299
|
-
* Default: KnowledgeLibrary
|
|
300
|
-
*/
|
|
301
|
-
basePath?: string;
|
|
302
|
-
|
|
303
|
-
/**
|
|
304
|
-
* Whether to create default files
|
|
305
|
-
*/
|
|
306
|
-
createDefaults?: boolean;
|
|
307
|
-
}
|
|
308
|
-
|
|
309
|
-
/**
|
|
310
|
-
* Result of KnowledgeLibrary initialization
|
|
311
|
-
*/
|
|
312
|
-
export interface InitKnowledgeLibraryResult {
|
|
313
|
-
/**
|
|
314
|
-
* Whether initialization was successful
|
|
315
|
-
*/
|
|
316
|
-
success: boolean;
|
|
317
|
-
|
|
318
|
-
/**
|
|
319
|
-
* Created directories
|
|
320
|
-
*/
|
|
321
|
-
createdDirs: string[];
|
|
322
|
-
|
|
323
|
-
/**
|
|
324
|
-
* Created files
|
|
325
|
-
*/
|
|
326
|
-
createdFiles: string[];
|
|
327
|
-
|
|
328
|
-
/**
|
|
329
|
-
* Error message if failed
|
|
330
|
-
*/
|
|
331
|
-
error?: string;
|
|
332
|
-
}
|
|
333
|
-
|
|
334
|
-
/**
|
|
335
|
-
* Options for reading messages
|
|
336
|
-
*/
|
|
337
|
-
export interface ReadMessagesOptions {
|
|
338
|
-
/**
|
|
339
|
-
* Filter by message type
|
|
340
|
-
*/
|
|
341
|
-
type?: MessageType;
|
|
342
|
-
|
|
343
|
-
/**
|
|
344
|
-
* Filter by sender
|
|
345
|
-
*/
|
|
346
|
-
from?: string;
|
|
347
|
-
|
|
348
|
-
/**
|
|
349
|
-
* Filter by priority
|
|
350
|
-
*/
|
|
351
|
-
priority?: MessagePriority;
|
|
352
|
-
|
|
353
|
-
/**
|
|
354
|
-
* Include processed messages
|
|
355
|
-
*/
|
|
356
|
-
includeProcessed?: boolean;
|
|
357
|
-
|
|
358
|
-
/**
|
|
359
|
-
* Maximum number of messages to return
|
|
360
|
-
*/
|
|
361
|
-
limit?: number;
|
|
362
|
-
}
|
|
363
|
-
|
|
364
|
-
/**
|
|
365
|
-
* Options for writing a message
|
|
366
|
-
*/
|
|
367
|
-
export interface WriteMessageOptions {
|
|
368
|
-
/**
|
|
369
|
-
* Message type
|
|
370
|
-
*/
|
|
371
|
-
type: MessageType;
|
|
372
|
-
|
|
373
|
-
/**
|
|
374
|
-
* Sender agent
|
|
375
|
-
*/
|
|
376
|
-
from: string;
|
|
377
|
-
|
|
378
|
-
/**
|
|
379
|
-
* Recipient agent
|
|
380
|
-
*/
|
|
381
|
-
to: string;
|
|
382
|
-
|
|
383
|
-
/**
|
|
384
|
-
* Message subject
|
|
385
|
-
*/
|
|
386
|
-
subject: string;
|
|
387
|
-
|
|
388
|
-
/**
|
|
389
|
-
* Message body content
|
|
390
|
-
*/
|
|
391
|
-
body: string;
|
|
392
|
-
|
|
393
|
-
/**
|
|
394
|
-
* Associated ticket key
|
|
395
|
-
*/
|
|
396
|
-
ticket?: string;
|
|
397
|
-
|
|
398
|
-
/**
|
|
399
|
-
* Message priority
|
|
400
|
-
*/
|
|
401
|
-
priority?: MessagePriority;
|
|
402
|
-
}
|
|
403
|
-
|
|
404
|
-
/**
|
|
405
|
-
* Global KnowledgeLibrary state
|
|
406
|
-
*/
|
|
407
|
-
export interface KnowledgeLibraryState {
|
|
408
|
-
/**
|
|
409
|
-
* Base path for KnowledgeLibrary
|
|
410
|
-
*/
|
|
411
|
-
basePath: string;
|
|
412
|
-
|
|
413
|
-
/**
|
|
414
|
-
* Global context file path
|
|
415
|
-
*/
|
|
416
|
-
contextPath: string;
|
|
417
|
-
|
|
418
|
-
/**
|
|
419
|
-
* Architecture notes file path
|
|
420
|
-
*/
|
|
421
|
-
architecturePath: string;
|
|
422
|
-
|
|
423
|
-
/**
|
|
424
|
-
* PRD file path
|
|
425
|
-
*/
|
|
426
|
-
prdPath: string;
|
|
427
|
-
|
|
428
|
-
/**
|
|
429
|
-
* List of initialized agents
|
|
430
|
-
*/
|
|
431
|
-
agents: string[];
|
|
432
|
-
}
|