@lovelybunch/core 1.0.75-alpha.9 → 1.0.76-alpha.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/dist/events.d.ts +4 -4
- package/dist/index.d.ts +3 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/dist/knowledge.d.ts +112 -112
- package/dist/logging/index.d.ts +5 -5
- package/dist/logging/index.d.ts.map +1 -1
- package/dist/logging/index.js +5 -5
- package/dist/logging/index.js.map +1 -1
- package/dist/logging/kinds.d.ts +71 -25
- package/dist/logging/kinds.d.ts.map +1 -1
- package/dist/logging/kinds.js +65 -24
- package/dist/logging/kinds.js.map +1 -1
- package/dist/mail.d.ts +430 -0
- package/dist/mail.d.ts.map +1 -0
- package/dist/mail.js +414 -0
- package/dist/mail.js.map +1 -0
- package/dist/markdown-storage.d.ts +6 -6
- package/dist/markdown-storage.d.ts.map +1 -1
- package/dist/markdown-storage.js +77 -120
- package/dist/markdown-storage.js.map +1 -1
- package/dist/skill-instructions.d.ts +5 -5
- package/dist/skill-instructions.d.ts.map +1 -1
- package/dist/skill-instructions.js +21 -27
- package/dist/skill-instructions.js.map +1 -1
- package/dist/slack.d.ts +102 -0
- package/dist/slack.d.ts.map +1 -0
- package/dist/slack.js +548 -0
- package/dist/slack.js.map +1 -0
- package/dist/storage.d.ts +10 -10
- package/dist/storage.d.ts.map +1 -1
- package/dist/storage.js +30 -58
- package/dist/storage.js.map +1 -1
- package/dist/system-prompts/coconut-assistant.md +4 -4
- package/dist/system-prompts/mail-processor.md +36 -0
- package/dist/system-prompts/schema/agent.schema.md +1 -1
- package/dist/system-prompts/schema/knowledge.schema.md +2 -2
- package/dist/system-prompts/schema/skill.schema.md +1 -1
- package/dist/system-prompts/schema/task.schema.md +65 -0
- package/dist/tasks.d.ts +850 -0
- package/dist/tasks.d.ts.map +1 -0
- package/dist/tasks.js +544 -0
- package/dist/tasks.js.map +1 -0
- package/package.json +3 -2
- package/dist/system-prompts/schema/proposal.schema.md +0 -179
package/dist/logging/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* @module logging
|
|
4
4
|
*
|
|
5
5
|
* This module provides a unified activity logging system for Coconut that tracks
|
|
6
|
-
* all operations (
|
|
6
|
+
* all operations (tasks, sessions, jobs, git actions, etc.) in a file-first,
|
|
7
7
|
* append-only JSONL format.
|
|
8
8
|
*
|
|
9
9
|
* @example
|
|
@@ -12,19 +12,19 @@
|
|
|
12
12
|
*
|
|
13
13
|
* const logger = getLogger();
|
|
14
14
|
*
|
|
15
|
-
* // Log a
|
|
15
|
+
* // Log a task creation
|
|
16
16
|
* logger.log({
|
|
17
17
|
* kind: EventKinds.CREATE,
|
|
18
18
|
* actor: "human:user@example.com",
|
|
19
|
-
* subject: "
|
|
20
|
-
* tags: ["
|
|
19
|
+
* subject: "task:cp-123",
|
|
20
|
+
* tags: ["task"],
|
|
21
21
|
* payload: { intent: "Add feature X" }
|
|
22
22
|
* });
|
|
23
23
|
* ```
|
|
24
24
|
*/
|
|
25
25
|
export { getLogger, resetLogger, hasLogger } from "./logger.js";
|
|
26
26
|
export type { LogEventBase, LogEvent, Logger, LoggerOptions, LogLevel, } from "./types";
|
|
27
|
-
export { EventKinds,
|
|
27
|
+
export { EventKinds, TaskKinds, AgentKinds, CodeKinds, KnowledgeKinds, ContextKinds, JobKinds, ResourceKinds, MailKinds, AuthKinds, isValidEventKind, EventKindRegistry, } from "./kinds.js";
|
|
28
28
|
export { defaultRedactor, createRedactor, noRedactor, } from "./redact.js";
|
|
29
29
|
export { JsonlWriter } from "./jsonl-writer.js";
|
|
30
30
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/logging/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AAGH,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAGhE,YAAY,EACV,YAAY,EACZ,QAAQ,EACR,MAAM,EACN,aAAa,EACb,QAAQ,GACT,MAAM,SAAS,CAAC;AAGjB,OAAO,EACL,UAAU,EACV,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/logging/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AAGH,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAGhE,YAAY,EACV,YAAY,EACZ,QAAQ,EACR,MAAM,EACN,aAAa,EACb,QAAQ,GACT,MAAM,SAAS,CAAC;AAGjB,OAAO,EACL,UAAU,EACV,SAAS,EACT,UAAU,EACV,SAAS,EACT,cAAc,EACd,YAAY,EACZ,QAAQ,EACR,aAAa,EACb,SAAS,EACT,SAAS,EACT,gBAAgB,EAChB,iBAAiB,GAClB,MAAM,YAAY,CAAC;AAGpB,OAAO,EACL,eAAe,EACf,cAAc,EACd,UAAU,GACX,MAAM,aAAa,CAAC;AAGrB,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC"}
|
package/dist/logging/index.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* @module logging
|
|
4
4
|
*
|
|
5
5
|
* This module provides a unified activity logging system for Coconut that tracks
|
|
6
|
-
* all operations (
|
|
6
|
+
* all operations (tasks, sessions, jobs, git actions, etc.) in a file-first,
|
|
7
7
|
* append-only JSONL format.
|
|
8
8
|
*
|
|
9
9
|
* @example
|
|
@@ -12,12 +12,12 @@
|
|
|
12
12
|
*
|
|
13
13
|
* const logger = getLogger();
|
|
14
14
|
*
|
|
15
|
-
* // Log a
|
|
15
|
+
* // Log a task creation
|
|
16
16
|
* logger.log({
|
|
17
17
|
* kind: EventKinds.CREATE,
|
|
18
18
|
* actor: "human:user@example.com",
|
|
19
|
-
* subject: "
|
|
20
|
-
* tags: ["
|
|
19
|
+
* subject: "task:cp-123",
|
|
20
|
+
* tags: ["task"],
|
|
21
21
|
* payload: { intent: "Add feature X" }
|
|
22
22
|
* });
|
|
23
23
|
* ```
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
// Main logger interface
|
|
26
26
|
export { getLogger, resetLogger, hasLogger } from "./logger.js";
|
|
27
27
|
// Event kinds taxonomy
|
|
28
|
-
export { EventKinds,
|
|
28
|
+
export { EventKinds, TaskKinds, AgentKinds, CodeKinds, KnowledgeKinds, ContextKinds, JobKinds, ResourceKinds, MailKinds, AuthKinds, isValidEventKind, EventKindRegistry, } from "./kinds.js";
|
|
29
29
|
// Redaction utilities
|
|
30
30
|
export { defaultRedactor, createRedactor, noRedactor, } from "./redact.js";
|
|
31
31
|
// Internal writer (exported for testing and advanced use cases)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/logging/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AAEH,wBAAwB;AACxB,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAWhE,uBAAuB;AACvB,OAAO,EACL,UAAU,EACV,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/logging/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AAEH,wBAAwB;AACxB,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAWhE,uBAAuB;AACvB,OAAO,EACL,UAAU,EACV,SAAS,EACT,UAAU,EACV,SAAS,EACT,cAAc,EACd,YAAY,EACZ,QAAQ,EACR,aAAa,EACb,SAAS,EACT,SAAS,EACT,gBAAgB,EAChB,iBAAiB,GAClB,MAAM,YAAY,CAAC;AAEpB,sBAAsB;AACtB,OAAO,EACL,eAAe,EACf,cAAc,EACd,UAAU,GACX,MAAM,aAAa,CAAC;AAErB,gEAAgE;AAChE,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC"}
|
package/dist/logging/kinds.d.ts
CHANGED
|
@@ -6,19 +6,19 @@
|
|
|
6
6
|
* {entity}.{action}.{qualifier}
|
|
7
7
|
*
|
|
8
8
|
* Examples:
|
|
9
|
-
* -
|
|
9
|
+
* - task.create
|
|
10
10
|
* - agent.session.start
|
|
11
11
|
* - code.commit
|
|
12
12
|
*/
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* Task-related events
|
|
15
15
|
*/
|
|
16
|
-
export declare const
|
|
17
|
-
readonly CREATE: "
|
|
18
|
-
readonly UPDATE: "
|
|
19
|
-
readonly RUN_START: "
|
|
20
|
-
readonly RUN_END: "
|
|
21
|
-
readonly STATUS_CHANGE: "
|
|
16
|
+
export declare const TaskKinds: {
|
|
17
|
+
readonly CREATE: "task.create";
|
|
18
|
+
readonly UPDATE: "task.update";
|
|
19
|
+
readonly RUN_START: "task.run.start";
|
|
20
|
+
readonly RUN_END: "task.run.end";
|
|
21
|
+
readonly STATUS_CHANGE: "task.status.change";
|
|
22
22
|
};
|
|
23
23
|
/**
|
|
24
24
|
* Agent and session events
|
|
@@ -73,6 +73,18 @@ export declare const ResourceKinds: {
|
|
|
73
73
|
readonly UPLOAD: "resource.upload";
|
|
74
74
|
readonly DELETE: "resource.delete";
|
|
75
75
|
};
|
|
76
|
+
/**
|
|
77
|
+
* Mail events
|
|
78
|
+
*/
|
|
79
|
+
export declare const MailKinds: {
|
|
80
|
+
readonly RECEIVE: "mail.receive";
|
|
81
|
+
readonly READ: "mail.read";
|
|
82
|
+
readonly UNREAD: "mail.unread";
|
|
83
|
+
readonly DELETE: "mail.delete";
|
|
84
|
+
readonly REPLY: "mail.reply";
|
|
85
|
+
readonly SEND: "mail.send";
|
|
86
|
+
readonly ACTION: "mail.action";
|
|
87
|
+
};
|
|
76
88
|
/**
|
|
77
89
|
* Authentication events (when auth is enabled)
|
|
78
90
|
*/
|
|
@@ -92,8 +104,14 @@ export declare const EventKinds: {
|
|
|
92
104
|
readonly API_KEY_USE: "auth.api.key.use";
|
|
93
105
|
readonly API_KEY_CREATE: "auth.api.key.create";
|
|
94
106
|
readonly API_KEY_DELETE: "auth.api.key.delete";
|
|
107
|
+
readonly RECEIVE: "mail.receive";
|
|
108
|
+
readonly READ: "mail.read";
|
|
109
|
+
readonly UNREAD: "mail.unread";
|
|
110
|
+
readonly DELETE: "mail.delete";
|
|
111
|
+
readonly REPLY: "mail.reply";
|
|
112
|
+
readonly SEND: "mail.send";
|
|
113
|
+
readonly ACTION: "mail.action";
|
|
95
114
|
readonly UPLOAD: "resource.upload";
|
|
96
|
-
readonly DELETE: "resource.delete";
|
|
97
115
|
readonly SCHEDULE: "job.schedule";
|
|
98
116
|
readonly RUN_START: "job.run.start";
|
|
99
117
|
readonly RUN_END: "job.run.end";
|
|
@@ -114,7 +132,7 @@ export declare const EventKinds: {
|
|
|
114
132
|
readonly SESSION_STDOUT: "agent.session.stdout";
|
|
115
133
|
readonly SESSION_END: "agent.session.end";
|
|
116
134
|
readonly SESSION_ERROR: "agent.session.error";
|
|
117
|
-
readonly STATUS_CHANGE: "
|
|
135
|
+
readonly STATUS_CHANGE: "task.status.change";
|
|
118
136
|
};
|
|
119
137
|
/**
|
|
120
138
|
* Type representing all valid event kind strings
|
|
@@ -129,25 +147,25 @@ export declare function isValidEventKind(kind: string): kind is EventKind;
|
|
|
129
147
|
* Useful for documentation and validation
|
|
130
148
|
*/
|
|
131
149
|
export declare const EventKindRegistry: {
|
|
132
|
-
readonly "
|
|
133
|
-
readonly description: "A new
|
|
134
|
-
readonly tags: readonly ["
|
|
150
|
+
readonly "task.create": {
|
|
151
|
+
readonly description: "A new task was created";
|
|
152
|
+
readonly tags: readonly ["task"];
|
|
135
153
|
};
|
|
136
|
-
readonly "
|
|
137
|
-
readonly description: "A
|
|
138
|
-
readonly tags: readonly ["
|
|
154
|
+
readonly "task.update": {
|
|
155
|
+
readonly description: "A task was updated";
|
|
156
|
+
readonly tags: readonly ["task"];
|
|
139
157
|
};
|
|
140
|
-
readonly "
|
|
141
|
-
readonly description: "Implementation of a
|
|
142
|
-
readonly tags: readonly ["
|
|
158
|
+
readonly "task.run.start": {
|
|
159
|
+
readonly description: "Implementation of a task started";
|
|
160
|
+
readonly tags: readonly ["task", "execution"];
|
|
143
161
|
};
|
|
144
|
-
readonly "
|
|
145
|
-
readonly description: "Implementation of a
|
|
146
|
-
readonly tags: readonly ["
|
|
162
|
+
readonly "task.run.end": {
|
|
163
|
+
readonly description: "Implementation of a task completed";
|
|
164
|
+
readonly tags: readonly ["task", "execution"];
|
|
147
165
|
};
|
|
148
|
-
readonly "
|
|
149
|
-
readonly description: "
|
|
150
|
-
readonly tags: readonly ["
|
|
166
|
+
readonly "task.status.change": {
|
|
167
|
+
readonly description: "Task status changed";
|
|
168
|
+
readonly tags: readonly ["task"];
|
|
151
169
|
};
|
|
152
170
|
readonly "agent.session.start": {
|
|
153
171
|
readonly description: "Agent session started";
|
|
@@ -241,6 +259,34 @@ export declare const EventKindRegistry: {
|
|
|
241
259
|
readonly description: "Resource was deleted";
|
|
242
260
|
readonly tags: readonly ["resource"];
|
|
243
261
|
};
|
|
262
|
+
readonly "mail.receive": {
|
|
263
|
+
readonly description: "Email received via webhook";
|
|
264
|
+
readonly tags: readonly ["mail"];
|
|
265
|
+
};
|
|
266
|
+
readonly "mail.read": {
|
|
267
|
+
readonly description: "Email marked as read";
|
|
268
|
+
readonly tags: readonly ["mail"];
|
|
269
|
+
};
|
|
270
|
+
readonly "mail.unread": {
|
|
271
|
+
readonly description: "Email marked as unread";
|
|
272
|
+
readonly tags: readonly ["mail"];
|
|
273
|
+
};
|
|
274
|
+
readonly "mail.delete": {
|
|
275
|
+
readonly description: "Email deleted";
|
|
276
|
+
readonly tags: readonly ["mail"];
|
|
277
|
+
};
|
|
278
|
+
readonly "mail.reply": {
|
|
279
|
+
readonly description: "Reply sent to email";
|
|
280
|
+
readonly tags: readonly ["mail"];
|
|
281
|
+
};
|
|
282
|
+
readonly "mail.send": {
|
|
283
|
+
readonly description: "Email sent";
|
|
284
|
+
readonly tags: readonly ["mail"];
|
|
285
|
+
};
|
|
286
|
+
readonly "mail.action": {
|
|
287
|
+
readonly description: "Agent action taken on email";
|
|
288
|
+
readonly tags: readonly ["mail", "agent"];
|
|
289
|
+
};
|
|
244
290
|
readonly "auth.login": {
|
|
245
291
|
readonly description: "User logged in";
|
|
246
292
|
readonly tags: readonly ["auth"];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"kinds.d.ts","sourceRoot":"","sources":["../../src/logging/kinds.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH;;GAEG;AACH,eAAO,MAAM,
|
|
1
|
+
{"version":3,"file":"kinds.d.ts","sourceRoot":"","sources":["../../src/logging/kinds.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH;;GAEG;AACH,eAAO,MAAM,SAAS;;;;;;CAMZ,CAAC;AAEX;;GAEG;AACH,eAAO,MAAM,UAAU;;;;;CAKb,CAAC;AAEX;;GAEG;AACH,eAAO,MAAM,SAAS;;;;;;;;CAQZ,CAAC;AAEX;;GAEG;AACH,eAAO,MAAM,cAAc;;;;CAIjB,CAAC;AAEX;;GAEG;AACH,eAAO,MAAM,YAAY;;;;CAIf,CAAC;AAEX;;GAEG;AACH,eAAO,MAAM,QAAQ;;;;;CAKX,CAAC;AAEX;;GAEG;AACH,eAAO,MAAM,aAAa;;;CAGhB,CAAC;AAEX;;GAEG;AACH,eAAO,MAAM,SAAS;;;;;;;;CAQZ,CAAC;AAEX;;GAEG;AACH,eAAO,MAAM,SAAS;;;;;;CAMZ,CAAC;AAEX;;GAEG;AACH,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAUb,CAAC;AAEX;;GAEG;AACH,MAAM,MAAM,SAAS,GAAG,OAAO,UAAU,CAAC,MAAM,OAAO,UAAU,CAAC,CAAC;AAEnE;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,IAAI,SAAS,CAEhE;AAED;;;GAGG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiKpB,CAAC"}
|
package/dist/logging/kinds.js
CHANGED
|
@@ -6,19 +6,19 @@
|
|
|
6
6
|
* {entity}.{action}.{qualifier}
|
|
7
7
|
*
|
|
8
8
|
* Examples:
|
|
9
|
-
* -
|
|
9
|
+
* - task.create
|
|
10
10
|
* - agent.session.start
|
|
11
11
|
* - code.commit
|
|
12
12
|
*/
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* Task-related events
|
|
15
15
|
*/
|
|
16
|
-
export const
|
|
17
|
-
CREATE: "
|
|
18
|
-
UPDATE: "
|
|
19
|
-
RUN_START: "
|
|
20
|
-
RUN_END: "
|
|
21
|
-
STATUS_CHANGE: "
|
|
16
|
+
export const TaskKinds = {
|
|
17
|
+
CREATE: "task.create",
|
|
18
|
+
UPDATE: "task.update",
|
|
19
|
+
RUN_START: "task.run.start",
|
|
20
|
+
RUN_END: "task.run.end",
|
|
21
|
+
STATUS_CHANGE: "task.status.change",
|
|
22
22
|
};
|
|
23
23
|
/**
|
|
24
24
|
* Agent and session events
|
|
@@ -73,6 +73,18 @@ export const ResourceKinds = {
|
|
|
73
73
|
UPLOAD: "resource.upload",
|
|
74
74
|
DELETE: "resource.delete",
|
|
75
75
|
};
|
|
76
|
+
/**
|
|
77
|
+
* Mail events
|
|
78
|
+
*/
|
|
79
|
+
export const MailKinds = {
|
|
80
|
+
RECEIVE: "mail.receive",
|
|
81
|
+
READ: "mail.read",
|
|
82
|
+
UNREAD: "mail.unread",
|
|
83
|
+
DELETE: "mail.delete",
|
|
84
|
+
REPLY: "mail.reply",
|
|
85
|
+
SEND: "mail.send",
|
|
86
|
+
ACTION: "mail.action",
|
|
87
|
+
};
|
|
76
88
|
/**
|
|
77
89
|
* Authentication events (when auth is enabled)
|
|
78
90
|
*/
|
|
@@ -87,13 +99,14 @@ export const AuthKinds = {
|
|
|
87
99
|
* All event kinds in a single object
|
|
88
100
|
*/
|
|
89
101
|
export const EventKinds = {
|
|
90
|
-
...
|
|
102
|
+
...TaskKinds,
|
|
91
103
|
...AgentKinds,
|
|
92
104
|
...CodeKinds,
|
|
93
105
|
...KnowledgeKinds,
|
|
94
106
|
...ContextKinds,
|
|
95
107
|
...JobKinds,
|
|
96
108
|
...ResourceKinds,
|
|
109
|
+
...MailKinds,
|
|
97
110
|
...AuthKinds,
|
|
98
111
|
};
|
|
99
112
|
/**
|
|
@@ -107,25 +120,25 @@ export function isValidEventKind(kind) {
|
|
|
107
120
|
* Useful for documentation and validation
|
|
108
121
|
*/
|
|
109
122
|
export const EventKindRegistry = {
|
|
110
|
-
[
|
|
111
|
-
description: "A new
|
|
112
|
-
tags: ["
|
|
123
|
+
[TaskKinds.CREATE]: {
|
|
124
|
+
description: "A new task was created",
|
|
125
|
+
tags: ["task"],
|
|
113
126
|
},
|
|
114
|
-
[
|
|
115
|
-
description: "A
|
|
116
|
-
tags: ["
|
|
127
|
+
[TaskKinds.UPDATE]: {
|
|
128
|
+
description: "A task was updated",
|
|
129
|
+
tags: ["task"],
|
|
117
130
|
},
|
|
118
|
-
[
|
|
119
|
-
description: "Implementation of a
|
|
120
|
-
tags: ["
|
|
131
|
+
[TaskKinds.RUN_START]: {
|
|
132
|
+
description: "Implementation of a task started",
|
|
133
|
+
tags: ["task", "execution"],
|
|
121
134
|
},
|
|
122
|
-
[
|
|
123
|
-
description: "Implementation of a
|
|
124
|
-
tags: ["
|
|
135
|
+
[TaskKinds.RUN_END]: {
|
|
136
|
+
description: "Implementation of a task completed",
|
|
137
|
+
tags: ["task", "execution"],
|
|
125
138
|
},
|
|
126
|
-
[
|
|
127
|
-
description: "
|
|
128
|
-
tags: ["
|
|
139
|
+
[TaskKinds.STATUS_CHANGE]: {
|
|
140
|
+
description: "Task status changed",
|
|
141
|
+
tags: ["task"],
|
|
129
142
|
},
|
|
130
143
|
[AgentKinds.SESSION_START]: {
|
|
131
144
|
description: "Agent session started",
|
|
@@ -219,6 +232,34 @@ export const EventKindRegistry = {
|
|
|
219
232
|
description: "Resource was deleted",
|
|
220
233
|
tags: ["resource"],
|
|
221
234
|
},
|
|
235
|
+
[MailKinds.RECEIVE]: {
|
|
236
|
+
description: "Email received via webhook",
|
|
237
|
+
tags: ["mail"],
|
|
238
|
+
},
|
|
239
|
+
[MailKinds.READ]: {
|
|
240
|
+
description: "Email marked as read",
|
|
241
|
+
tags: ["mail"],
|
|
242
|
+
},
|
|
243
|
+
[MailKinds.UNREAD]: {
|
|
244
|
+
description: "Email marked as unread",
|
|
245
|
+
tags: ["mail"],
|
|
246
|
+
},
|
|
247
|
+
[MailKinds.DELETE]: {
|
|
248
|
+
description: "Email deleted",
|
|
249
|
+
tags: ["mail"],
|
|
250
|
+
},
|
|
251
|
+
[MailKinds.REPLY]: {
|
|
252
|
+
description: "Reply sent to email",
|
|
253
|
+
tags: ["mail"],
|
|
254
|
+
},
|
|
255
|
+
[MailKinds.SEND]: {
|
|
256
|
+
description: "Email sent",
|
|
257
|
+
tags: ["mail"],
|
|
258
|
+
},
|
|
259
|
+
[MailKinds.ACTION]: {
|
|
260
|
+
description: "Agent action taken on email",
|
|
261
|
+
tags: ["mail", "agent"],
|
|
262
|
+
},
|
|
222
263
|
[AuthKinds.LOGIN]: {
|
|
223
264
|
description: "User logged in",
|
|
224
265
|
tags: ["auth"],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"kinds.js","sourceRoot":"","sources":["../../src/logging/kinds.ts"],"names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