-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmodule.yaml
More file actions
69 lines (62 loc) · 1.68 KB
/
module.yaml
File metadata and controls
69 lines (62 loc) · 1.68 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
# Datacore Module Manifest
# https://github.com/datafund/datacore-messaging
name: messaging
version: 0.1.0
description: Inter-user messaging via shared space inboxes
author: datafund
repository: https://github.com/datafund/datacore-messaging
# Dependencies (spec-compliant format)
dependencies:
- core@>=0.1.0
# What this module provides (spec-compliant format)
provides:
commands:
- msg
- my-messages
- reply
- msg-add-user
- broadcast
agents:
- message-digest
- claude-inbox
# Settings schema (extension - not in spec but useful)
settings:
identity:
name:
type: string
required: true
description: Your username for messaging
handles:
type: array
items: string
default: []
description: Aliases others can use to message you (e.g., @nickname)
messaging:
default_space:
type: string
required: false
description: Default space for sending messages
show_in_today:
type: boolean
default: true
description: Show unread message count in /today briefing
auto_mark_read:
type: boolean
default: false
description: Automatically mark messages as read after viewing
# Files created by this module (extension)
creates:
- path: "{space}/org/inboxes/"
type: directory
description: Inbox directory for each space
- path: "{space}/org/inboxes/USERS.yaml"
type: file
description: User registry for the space
- path: "{space}/org/inboxes/{username}.org"
type: file
description: Individual user inbox
# Integration hooks (extension)
hooks:
today:
description: Add unread message count to daily briefing
handler: agents/message-digest.md