dot-agents 0.5.0 ā 0.6.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/README.md +239 -122
- package/dist/cli/commands/channel.d.ts +19 -0
- package/dist/cli/commands/channel.d.ts.map +1 -1
- package/dist/cli/commands/channel.js +152 -13
- package/dist/cli/commands/channel.js.map +1 -1
- package/dist/cli/commands/check.d.ts.map +1 -1
- package/dist/cli/commands/check.js +61 -1
- package/dist/cli/commands/check.js.map +1 -1
- package/dist/cli/commands/index.d.ts +2 -0
- package/dist/cli/commands/index.d.ts.map +1 -1
- package/dist/cli/commands/index.js +2 -0
- package/dist/cli/commands/index.js.map +1 -1
- package/dist/cli/commands/personas.d.ts +3 -0
- package/dist/cli/commands/personas.d.ts.map +1 -0
- package/dist/cli/commands/personas.js +402 -0
- package/dist/cli/commands/personas.js.map +1 -0
- package/dist/cli/commands/projects.d.ts +3 -0
- package/dist/cli/commands/projects.d.ts.map +1 -0
- package/dist/cli/commands/projects.js +138 -0
- package/dist/cli/commands/projects.js.map +1 -0
- package/dist/cli/commands/run.d.ts.map +1 -1
- package/dist/cli/commands/run.js +4 -5
- package/dist/cli/commands/run.js.map +1 -1
- package/dist/cli/index.js +3 -11
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/lib/runner.d.ts +2 -0
- package/dist/cli/lib/runner.d.ts.map +1 -1
- package/dist/cli/lib/runner.js +67 -8
- package/dist/cli/lib/runner.js.map +1 -1
- package/dist/daemon/daemon.d.ts +10 -3
- package/dist/daemon/daemon.d.ts.map +1 -1
- package/dist/daemon/daemon.js +19 -21
- package/dist/daemon/daemon.js.map +1 -1
- package/dist/daemon/lib/executor.d.ts +0 -4
- package/dist/daemon/lib/executor.d.ts.map +1 -1
- package/dist/daemon/lib/executor.js +48 -135
- package/dist/daemon/lib/executor.js.map +1 -1
- package/dist/lib/channel.d.ts +53 -1
- package/dist/lib/channel.d.ts.map +1 -1
- package/dist/lib/channel.js +221 -30
- package/dist/lib/channel.js.map +1 -1
- package/dist/lib/channel.test.d.ts +2 -0
- package/dist/lib/channel.test.d.ts.map +1 -0
- package/dist/lib/channel.test.js +33 -0
- package/dist/lib/channel.test.js.map +1 -0
- package/dist/lib/daemon-status.d.ts +26 -0
- package/dist/lib/daemon-status.d.ts.map +1 -0
- package/dist/lib/daemon-status.js +64 -0
- package/dist/lib/daemon-status.js.map +1 -0
- package/dist/lib/environment.d.ts +87 -0
- package/dist/lib/environment.d.ts.map +1 -0
- package/dist/lib/environment.js +224 -0
- package/dist/lib/environment.js.map +1 -0
- package/dist/lib/frontmatter.d.ts +8 -0
- package/dist/lib/frontmatter.d.ts.map +1 -1
- package/dist/lib/frontmatter.js +16 -3
- package/dist/lib/frontmatter.js.map +1 -1
- package/dist/lib/frontmatter.test.d.ts +2 -0
- package/dist/lib/frontmatter.test.d.ts.map +1 -0
- package/dist/lib/frontmatter.test.js +60 -0
- package/dist/lib/frontmatter.test.js.map +1 -0
- package/dist/lib/index.d.ts +7 -0
- package/dist/lib/index.d.ts.map +1 -1
- package/dist/lib/index.js +7 -0
- package/dist/lib/index.js.map +1 -1
- package/dist/lib/integration.test.d.ts +2 -0
- package/dist/lib/integration.test.d.ts.map +1 -0
- package/dist/lib/integration.test.js +445 -0
- package/dist/lib/integration.test.js.map +1 -0
- package/dist/lib/invoke.d.ts +23 -0
- package/dist/lib/invoke.d.ts.map +1 -0
- package/dist/lib/invoke.js +158 -0
- package/dist/lib/invoke.js.map +1 -0
- package/dist/lib/invoke.test.d.ts +2 -0
- package/dist/lib/invoke.test.d.ts.map +1 -0
- package/dist/lib/invoke.test.js +82 -0
- package/dist/lib/invoke.test.js.map +1 -0
- package/dist/lib/persona.d.ts +22 -1
- package/dist/lib/persona.d.ts.map +1 -1
- package/dist/lib/persona.js +176 -31
- package/dist/lib/persona.js.map +1 -1
- package/dist/lib/persona.test.d.ts +2 -0
- package/dist/lib/persona.test.d.ts.map +1 -0
- package/dist/lib/persona.test.js +324 -0
- package/dist/lib/persona.test.js.map +1 -0
- package/dist/lib/processor.d.ts +50 -0
- package/dist/lib/processor.d.ts.map +1 -0
- package/dist/lib/processor.js +135 -0
- package/dist/lib/processor.js.map +1 -0
- package/dist/lib/processor.test.d.ts +2 -0
- package/dist/lib/processor.test.d.ts.map +1 -0
- package/dist/lib/processor.test.js +134 -0
- package/dist/lib/processor.test.js.map +1 -0
- package/dist/lib/registry.d.ts +109 -0
- package/dist/lib/registry.d.ts.map +1 -0
- package/dist/lib/registry.js +192 -0
- package/dist/lib/registry.js.map +1 -0
- package/dist/lib/registry.test.d.ts +2 -0
- package/dist/lib/registry.test.d.ts.map +1 -0
- package/dist/lib/registry.test.js +236 -0
- package/dist/lib/registry.test.js.map +1 -0
- package/dist/lib/session-thread.d.ts +75 -0
- package/dist/lib/session-thread.d.ts.map +1 -0
- package/dist/lib/session-thread.js +132 -0
- package/dist/lib/session-thread.js.map +1 -0
- package/dist/lib/session-thread.test.d.ts +2 -0
- package/dist/lib/session-thread.test.d.ts.map +1 -0
- package/dist/lib/session-thread.test.js +235 -0
- package/dist/lib/session-thread.test.js.map +1 -0
- package/dist/lib/session.d.ts +150 -0
- package/dist/lib/session.d.ts.map +1 -0
- package/dist/lib/session.js +183 -0
- package/dist/lib/session.js.map +1 -0
- package/dist/lib/session.test.d.ts +2 -0
- package/dist/lib/session.test.d.ts.map +1 -0
- package/dist/lib/session.test.js +336 -0
- package/dist/lib/session.test.js.map +1 -0
- package/dist/lib/types/channel.d.ts +4 -0
- package/dist/lib/types/channel.d.ts.map +1 -1
- package/dist/lib/types/persona.d.ts +49 -6
- package/dist/lib/types/persona.d.ts.map +1 -1
- package/internal/personas/_base/PERSONA.md +222 -39
- package/internal/skills/channels/list/SKILL.md +76 -0
- package/package.json +6 -2
|
@@ -1,68 +1,251 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: _base
|
|
3
|
-
description:
|
|
3
|
+
description: dot-agents system knowledge inherited by all personas
|
|
4
4
|
skills:
|
|
5
|
+
- channels/list
|
|
5
6
|
- channels/publish
|
|
6
7
|
- channels/read
|
|
7
8
|
- channels/reply
|
|
8
9
|
---
|
|
9
10
|
|
|
10
|
-
|
|
11
|
+
# dot-agents System
|
|
11
12
|
|
|
12
|
-
You operate within a system
|
|
13
|
+
You operate within a dot-agents system. This document describes the core capabilities available to you.
|
|
13
14
|
|
|
14
|
-
|
|
15
|
+
## Mental Model
|
|
15
16
|
|
|
16
|
-
|
|
17
|
+
Three primitives work together:
|
|
17
18
|
|
|
18
|
-
|
|
|
19
|
-
|
|
|
20
|
-
|
|
|
21
|
-
|
|
|
22
|
-
|
|
|
19
|
+
| Primitive | Purpose |
|
|
20
|
+
| ------------- | -------------------------------------- |
|
|
21
|
+
| **Personas** | HOW - Agent configuration and behavior |
|
|
22
|
+
| **Workflows** | WHAT - Tasks with triggers and inputs |
|
|
23
|
+
| **Channels** | COORDINATION - Messaging and sessions |
|
|
23
24
|
|
|
24
|
-
|
|
25
|
+
You are running in a **session** right now (a thread in `#sessions`). Your behavior is defined by a **persona**. You coordinate via **channels**.
|
|
25
26
|
|
|
26
|
-
|
|
27
|
+
## Channels
|
|
27
28
|
|
|
28
|
-
|
|
29
|
+
Channels are the messaging backbone for coordination. Two types exist:
|
|
29
30
|
|
|
30
|
-
|
|
31
|
+
| Prefix | Type | Purpose |
|
|
32
|
+
| ------ | ------------------- | -------------------------------- |
|
|
33
|
+
| `@` | DM (Direct Message) | Private inbox for a persona |
|
|
34
|
+
| `#` | Public Channel | Shared topic-based communication |
|
|
31
35
|
|
|
32
|
-
|
|
36
|
+
### Publishing Messages
|
|
33
37
|
|
|
34
38
|
```bash
|
|
35
|
-
npx dot-agents channels publish
|
|
36
|
-
**Issue:** <Short title>
|
|
37
|
-
**Impact:** <What's affected>
|
|
38
|
-
**Context:** <Why this happened>
|
|
39
|
-
|
|
40
|
-
**To Fix:**
|
|
41
|
-
1. <Step-by-step instructions>
|
|
42
|
-
2. <Be specific about paths, commands>
|
|
43
|
-
|
|
44
|
-
**Blocked:** yes|no
|
|
45
|
-
EOF
|
|
46
|
-
)"
|
|
39
|
+
npx dot-agents channels publish <channel> <message> [options]
|
|
47
40
|
```
|
|
48
41
|
|
|
49
|
-
|
|
42
|
+
**Options:**
|
|
50
43
|
|
|
51
|
-
|
|
44
|
+
- `--thread <id>` - Add to existing thread (default: creates new thread)
|
|
45
|
+
- `--from <sender>` - Override sender identifier
|
|
46
|
+
- `--tags <tags>` - Comma-separated tags
|
|
47
|
+
|
|
48
|
+
**Output:** Always returns Message ID and Thread ID.
|
|
49
|
+
|
|
50
|
+
**Examples:**
|
|
51
|
+
|
|
52
|
+
```bash
|
|
53
|
+
# Start a new conversation (thread created automatically)
|
|
54
|
+
npx dot-agents channels publish "#status" "Deployment complete"
|
|
55
|
+
|
|
56
|
+
# Continue an existing thread
|
|
57
|
+
npx dot-agents channels publish "#status" "Rollback needed" --thread <thread-id>
|
|
58
|
+
|
|
59
|
+
# Post to a persona's DM
|
|
60
|
+
npx dot-agents channels publish "@developer" "Please review PR #123"
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
### Reading Messages
|
|
64
|
+
|
|
65
|
+
```bash
|
|
66
|
+
npx dot-agents channels read <channel> [options]
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
**Options:**
|
|
70
|
+
|
|
71
|
+
- `--thread <id>` - Filter to specific thread
|
|
72
|
+
- `--since <duration>` - Filter by time (e.g., `24h`, `7d`, `1m`)
|
|
73
|
+
- `-l, --limit <n>` - Number of messages (default: 10)
|
|
74
|
+
|
|
75
|
+
**Examples:**
|
|
76
|
+
|
|
77
|
+
```bash
|
|
78
|
+
# Read recent messages
|
|
79
|
+
npx dot-agents channels read "#status"
|
|
80
|
+
|
|
81
|
+
# Read a specific conversation thread
|
|
82
|
+
npx dot-agents channels read "#status" --thread <thread-id>
|
|
83
|
+
|
|
84
|
+
# Read last 24 hours
|
|
85
|
+
npx dot-agents channels read "@human" --since 24h
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
### Replying to Messages
|
|
89
|
+
|
|
90
|
+
```bash
|
|
91
|
+
npx dot-agents channels reply <channel> <messageId> <reply>
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
Adds a reply to a specific message (creates a sub-thread within the message).
|
|
95
|
+
|
|
96
|
+
## Personas
|
|
97
|
+
|
|
98
|
+
Personas are agent configurations with inherited context and capabilities.
|
|
99
|
+
|
|
100
|
+
### Running Personas
|
|
101
|
+
|
|
102
|
+
```bash
|
|
103
|
+
npx dot-agents personas run <name> [options]
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
**Options:**
|
|
107
|
+
|
|
108
|
+
- `-p, --prompt <text>` - Initial prompt/task
|
|
109
|
+
- `--headless` - Non-interactive mode
|
|
110
|
+
- `--interactive` - Interactive mode (default)
|
|
111
|
+
|
|
112
|
+
### Inheritance
|
|
113
|
+
|
|
114
|
+
Personas inherit automatically via directory structure:
|
|
115
|
+
|
|
116
|
+
1. **Root persona** (`.agents/PERSONA.md`) provides project-wide context
|
|
117
|
+
2. **Child personas** in `.agents/personas/` inherit from root implicitly
|
|
118
|
+
3. **All personas** inherit from the built-in `_base` persona (this document)
|
|
119
|
+
|
|
120
|
+
No explicit `inherits:` field needed - inheritance is convention-based.
|
|
121
|
+
|
|
122
|
+
## Workflows
|
|
123
|
+
|
|
124
|
+
Workflows are multi-step processes defined in `.agents/workflows/`.
|
|
125
|
+
|
|
126
|
+
```bash
|
|
127
|
+
npx dot-agents run <workflow-name>
|
|
128
|
+
npx dot-agents list workflows
|
|
129
|
+
```
|
|
130
|
+
|
|
131
|
+
## Projects
|
|
132
|
+
|
|
133
|
+
Projects are registered dot-agents installations that can communicate with each other.
|
|
134
|
+
|
|
135
|
+
```bash
|
|
136
|
+
npx dot-agents projects list # Registered projects
|
|
137
|
+
```
|
|
138
|
+
|
|
139
|
+
### Cross-Project Communication
|
|
140
|
+
|
|
141
|
+
Delegate to another project using `@project` syntax:
|
|
142
|
+
|
|
143
|
+
```bash
|
|
144
|
+
# Delegate to another project's entry point
|
|
145
|
+
npx dot-agents channels publish "@other-project" "Please handle this task"
|
|
146
|
+
|
|
147
|
+
# Read from another project's channel
|
|
148
|
+
npx dot-agents channels read "@other-project" --since 24h
|
|
149
|
+
```
|
|
150
|
+
|
|
151
|
+
## Discovery
|
|
152
|
+
|
|
153
|
+
```bash
|
|
154
|
+
npx dot-agents projects list # Registered projects
|
|
155
|
+
npx dot-agents channels list # Available channels
|
|
156
|
+
npx dot-agents list personas # Available personas
|
|
157
|
+
npx dot-agents list workflows # Available workflows
|
|
158
|
+
```
|
|
159
|
+
|
|
160
|
+
**Proactively discover your environment** - Run discovery commands at session start to understand available resources before diving into work.
|
|
161
|
+
|
|
162
|
+
Note: Skills are implementation details of workflows and personas. Access capabilities through workflows and personas rather than invoking skills directly.
|
|
163
|
+
|
|
164
|
+
---
|
|
165
|
+
|
|
166
|
+
## Sessions
|
|
167
|
+
|
|
168
|
+
Sessions are threads in the `#sessions` channel. When you start running, the system automatically creates a session thread and posts a "Session Started" message. When the session ends, a "Session Ended" message is posted with duration and exit status.
|
|
169
|
+
|
|
170
|
+
### Environment Variables
|
|
171
|
+
|
|
172
|
+
- `SESSION_ID` - Your session thread ID (ISO timestamp, e.g., `2025-12-23T15:30:45.000Z`)
|
|
173
|
+
- `SESSION_THREAD_ID` - Same as SESSION_ID (alias for clarity)
|
|
174
|
+
- `SESSION_WORKSPACE` - Path to your session's workspace directory for working files
|
|
175
|
+
|
|
176
|
+
### Posting Session Updates
|
|
177
|
+
|
|
178
|
+
For **interactive sessions**, post updates to your session thread to maintain an observable log of your work. This is especially important for:
|
|
179
|
+
|
|
180
|
+
- Major decisions or milestones
|
|
181
|
+
- Delegating to other personas/projects
|
|
182
|
+
- Receiving updates from delegated work
|
|
183
|
+
- Encountering blockers
|
|
184
|
+
|
|
185
|
+
**Pattern for updates:**
|
|
186
|
+
|
|
187
|
+
```bash
|
|
188
|
+
npx dot-agents channels publish "#sessions" "Brief update message" --thread $SESSION_ID
|
|
189
|
+
```
|
|
190
|
+
|
|
191
|
+
**Examples:**
|
|
192
|
+
|
|
193
|
+
```bash
|
|
194
|
+
# Log a major action
|
|
195
|
+
npx dot-agents channels publish "#sessions" "Starting implementation of feature X" --thread $SESSION_ID
|
|
196
|
+
|
|
197
|
+
# Log delegation
|
|
198
|
+
npx dot-agents channels publish "#sessions" "Delegating to @scoutos for backend changes" --thread $SESSION_ID
|
|
199
|
+
|
|
200
|
+
# Log receiving results
|
|
201
|
+
npx dot-agents channels publish "#sessions" "Received: Backend changes complete, tests passing" --thread $SESSION_ID
|
|
202
|
+
```
|
|
203
|
+
|
|
204
|
+
### Checking for Updates
|
|
205
|
+
|
|
206
|
+
When you've delegated work to another persona or project, periodically check your session thread for updates:
|
|
52
207
|
|
|
53
208
|
```bash
|
|
54
|
-
npx dot-agents channels
|
|
209
|
+
npx dot-agents channels read "#sessions" --thread $SESSION_ID
|
|
55
210
|
```
|
|
56
211
|
|
|
57
|
-
|
|
212
|
+
Delegates should post their status updates to the upstream session thread, keeping the parent informed of progress.
|
|
213
|
+
|
|
214
|
+
### Cross-Project Delegation Callbacks
|
|
215
|
+
|
|
216
|
+
When you receive a delegated task via DM, the system automatically provides callback routing:
|
|
217
|
+
|
|
218
|
+
**Environment variables (set automatically):**
|
|
219
|
+
|
|
220
|
+
- `FROM_ADDRESS` - Full callback address (e.g., `#docs/sessions:2026-01-02T21:00:00.000Z`)
|
|
221
|
+
- `FROM_CHANNEL` - Channel portion (e.g., `#docs/sessions`)
|
|
222
|
+
- `FROM_THREAD` - Thread ID portion (e.g., `2026-01-02T21:00:00.000Z`)
|
|
223
|
+
|
|
224
|
+
**Posting callbacks:**
|
|
225
|
+
|
|
226
|
+
```bash
|
|
227
|
+
# Reply directly using FROM_ADDRESS (includes channel + thread)
|
|
228
|
+
npx dot-agents channels publish "$FROM_ADDRESS" "Task complete: implemented feature X"
|
|
229
|
+
|
|
230
|
+
# This is equivalent to:
|
|
231
|
+
# npx dot-agents channels publish "$FROM_CHANNEL" "..." --thread "$FROM_THREAD"
|
|
232
|
+
```
|
|
233
|
+
|
|
234
|
+
**Your outgoing messages also include callback info automatically.** When you publish, your `FROM_ADDRESS` is included in the `from` field, so receivers can reply back to your session.
|
|
235
|
+
|
|
236
|
+
### Workspace Directory
|
|
237
|
+
|
|
238
|
+
Use `$SESSION_WORKSPACE` for any working files needed during the session:
|
|
239
|
+
|
|
240
|
+
- Scratch notes
|
|
241
|
+
- Temporary artifacts
|
|
242
|
+
- Files to preserve for later reference
|
|
58
243
|
|
|
59
|
-
|
|
60
|
-
- Information you can find yourself
|
|
61
|
-
- Decisions within your authority
|
|
244
|
+
The workspace persists with the session thread and can be accessed later.
|
|
62
245
|
|
|
63
|
-
|
|
246
|
+
### Why Sessions-as-Threads Matter
|
|
64
247
|
|
|
65
|
-
-
|
|
66
|
-
-
|
|
67
|
-
-
|
|
68
|
-
-
|
|
248
|
+
- **Cross-machine coordination** - Channels sync across machines, so you can see session history from anywhere
|
|
249
|
+
- **Observable audit trail** - Anyone can read the session thread to understand what happened
|
|
250
|
+
- **Delegation callbacks** - Delegates post to the parent's thread, no polling required
|
|
251
|
+
- **Natural resumption** - Read the thread to reconstruct context for any session
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: channels/list
|
|
3
|
+
description: List all available channels. Use when discovering what channels exist or checking channel metadata.
|
|
4
|
+
license: MIT
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# List Channels
|
|
8
|
+
|
|
9
|
+
List all channels to discover available communication streams.
|
|
10
|
+
|
|
11
|
+
## When to Use This Skill
|
|
12
|
+
|
|
13
|
+
Use this skill when you need to:
|
|
14
|
+
|
|
15
|
+
- Discover what channels exist
|
|
16
|
+
- Check channel metadata (creator, creation date)
|
|
17
|
+
- Find the right channel to publish to
|
|
18
|
+
- Get an overview of communication streams
|
|
19
|
+
|
|
20
|
+
## Process
|
|
21
|
+
|
|
22
|
+
### Step 1: List All Channels
|
|
23
|
+
|
|
24
|
+
```bash
|
|
25
|
+
npx dot-agents channels list
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
### Step 2: Review Output
|
|
29
|
+
|
|
30
|
+
The output shows all channels with their metadata:
|
|
31
|
+
|
|
32
|
+
```text
|
|
33
|
+
Channels (4):
|
|
34
|
+
|
|
35
|
+
#status
|
|
36
|
+
Progress updates and milestone notifications
|
|
37
|
+
created by system at 2025-12-10T08:00:00.000Z
|
|
38
|
+
|
|
39
|
+
#issues
|
|
40
|
+
Problems, blockers, and errors
|
|
41
|
+
created by system at 2025-12-10T08:00:00.000Z
|
|
42
|
+
|
|
43
|
+
@developer
|
|
44
|
+
created by human:tnez at 2025-12-12T09:00:00.000Z
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
## Examples
|
|
48
|
+
|
|
49
|
+
### Example 1: Check Available Channels
|
|
50
|
+
|
|
51
|
+
```bash
|
|
52
|
+
npx dot-agents channels list
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
### Example 2: Filter Public Channels
|
|
56
|
+
|
|
57
|
+
```bash
|
|
58
|
+
npx dot-agents channels list | grep "^ #"
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
### Example 3: Filter DM Channels
|
|
62
|
+
|
|
63
|
+
```bash
|
|
64
|
+
npx dot-agents channels list | grep "^ @"
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
## Channel Types
|
|
68
|
+
|
|
69
|
+
- `#channel-name` - Public channels for topic-based communication
|
|
70
|
+
- `@persona-name` - Direct message inboxes for personas
|
|
71
|
+
|
|
72
|
+
## Notes
|
|
73
|
+
|
|
74
|
+
- Channels are created automatically when first message is published
|
|
75
|
+
- Empty result means no channels have been created yet
|
|
76
|
+
- Use this before publishing to discover the right channel
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dot-agents",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.0",
|
|
4
4
|
"description": "A framework for building agentic workflows with personas and scheduled execution",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/lib/index.js",
|
|
@@ -19,9 +19,13 @@
|
|
|
19
19
|
}
|
|
20
20
|
},
|
|
21
21
|
"scripts": {
|
|
22
|
-
"build": "tsc",
|
|
22
|
+
"build": "tsc -p tsconfig.build.json",
|
|
23
|
+
"postbuild": "echo '\nš¦ Build complete. Run `npm link` to use locally.\n'",
|
|
23
24
|
"dev": "tsc --watch",
|
|
24
25
|
"typecheck": "tsc --noEmit",
|
|
26
|
+
"test": "npm run build && node --test dist/**/*.test.js",
|
|
27
|
+
"test:dev": "node --experimental-strip-types --test src/**/*.test.ts",
|
|
28
|
+
"test:watch": "node --experimental-strip-types --test --watch src/**/*.test.ts",
|
|
25
29
|
"clean": "rm -rf dist *.tsbuildinfo",
|
|
26
30
|
"prepare": "git config core.hooksPath .githooks || true",
|
|
27
31
|
"prepublishOnly": "npm run clean && npm run build"
|