@plotday/twister 0.21.0 → 0.26.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/LICENSE +1 -1
- package/README.md +35 -6
- package/bin/commands/deploy.js +234 -2
- package/bin/commands/deploy.js.map +1 -1
- package/bin/commands/generate.js +11 -2
- package/bin/commands/generate.js.map +1 -1
- package/bin/commands/login.js +19 -3
- package/bin/commands/login.js.map +1 -1
- package/bin/commands/priority-create.js +7 -2
- package/bin/commands/priority-create.js.map +1 -1
- package/bin/commands/priority-list.js +6 -1
- package/bin/commands/priority-list.js.map +1 -1
- package/bin/commands/twist-logs.js +12 -3
- package/bin/commands/twist-logs.js.map +1 -1
- package/bin/templates/AGENTS.template.md +109 -20
- package/bin/utils/bundle.js +40 -0
- package/bin/utils/bundle.js.map +1 -1
- package/bin/utils/network-error.js +149 -0
- package/bin/utils/network-error.js.map +1 -0
- package/cli/templates/AGENTS.template.md +109 -20
- package/dist/common/calendar.d.ts +12 -4
- package/dist/common/calendar.d.ts.map +1 -1
- package/dist/common/messaging.d.ts +8 -7
- package/dist/common/messaging.d.ts.map +1 -1
- package/dist/common/projects.d.ts +123 -0
- package/dist/common/projects.d.ts.map +1 -0
- package/dist/common/projects.js +2 -0
- package/dist/common/projects.js.map +1 -0
- package/dist/docs/assets/hierarchy.js +1 -1
- package/dist/docs/assets/highlight.css +6 -6
- package/dist/docs/assets/navigation.js +1 -1
- package/dist/docs/assets/search.js +1 -1
- package/dist/docs/classes/tool.ITool.html +1 -1
- package/dist/docs/classes/tool.Tool.html +5 -5
- package/dist/docs/classes/tools_ai.AI.html +3 -3
- package/dist/docs/classes/tools_callbacks.Callbacks.html +4 -4
- package/dist/docs/classes/tools_integrations.Integrations.html +1 -1
- package/dist/docs/classes/tools_network.Network.html +4 -4
- package/dist/docs/classes/tools_plot.Plot.html +64 -29
- package/dist/docs/classes/tools_store.Store.html +1 -1
- package/dist/docs/classes/tools_tasks.Tasks.html +2 -2
- package/dist/docs/classes/tools_twists.Twists.html +5 -5
- package/dist/docs/classes/twist.Twist.html +1 -1
- package/dist/docs/documents/Building_Custom_Tools.html +5 -6
- package/dist/docs/documents/Built-in_Tools.html +33 -14
- package/dist/docs/documents/Core_Concepts.html +59 -8
- package/dist/docs/documents/Getting_Started.html +19 -3
- package/dist/docs/documents/Runtime_Environment.html +7 -8
- package/dist/docs/enums/plot.ActivityLinkType.html +5 -5
- package/dist/docs/enums/plot.ActivityType.html +4 -4
- package/dist/docs/enums/plot.ActorType.html +4 -4
- package/dist/docs/enums/plot.ConferencingProvider.html +6 -6
- package/dist/docs/enums/tag.Tag.html +3 -4
- package/dist/docs/enums/tools_plot.ActivityAccess.html +6 -6
- package/dist/docs/enums/tools_plot.ContactAccess.html +3 -3
- package/dist/docs/enums/tools_plot.PriorityAccess.html +3 -3
- package/dist/docs/functions/utils_hash.quickHash.html +1 -0
- package/dist/docs/hierarchy.html +1 -1
- package/dist/docs/index.html +2 -11
- package/dist/docs/interfaces/common_calendar.CalendarTool.html +14 -8
- package/dist/docs/interfaces/tools_ai.AIRequest.html +4 -4
- package/dist/docs/interfaces/tools_ai.AIResponse.html +2 -2
- package/dist/docs/interfaces/tools_twists.TwistSource.html +1 -1
- package/dist/docs/modules/index.html +1 -1
- package/dist/docs/modules/plot.html +1 -1
- package/dist/docs/modules/tools_plot.html +1 -1
- package/dist/docs/modules/utils_hash.html +1 -0
- package/dist/docs/modules.html +1 -1
- package/dist/docs/types/plot.Activity.html +37 -52
- package/dist/docs/types/plot.ActivityCommon.html +22 -0
- package/dist/docs/types/plot.ActivityLink.html +1 -1
- package/dist/docs/types/plot.ActivityMeta.html +24 -6
- package/dist/docs/types/plot.ActivityUpdate.html +2 -8
- package/dist/docs/types/plot.ActivityWithNotes.html +1 -0
- package/dist/docs/types/plot.Actor.html +5 -5
- package/dist/docs/types/plot.ActorId.html +8 -3
- package/dist/docs/types/plot.ContentType.html +1 -0
- package/dist/docs/types/plot.NewActivity.html +18 -3
- package/dist/docs/types/plot.NewActivityWithNotes.html +1 -0
- package/dist/docs/types/plot.NewContact.html +4 -4
- package/dist/docs/types/plot.NewNote.html +16 -0
- package/dist/docs/types/plot.NewPriority.html +1 -1
- package/dist/docs/types/plot.Note.html +7 -0
- package/dist/docs/types/plot.NoteUpdate.html +14 -0
- package/dist/docs/types/plot.PickPriorityConfig.html +3 -3
- package/dist/docs/types/plot.Priority.html +3 -3
- package/dist/docs/types/plot.Tags.html +1 -0
- package/dist/docs/types/tools_ai.DataContent.html +1 -1
- package/dist/docs/types/tools_network.WebhookRequest.html +4 -2
- package/dist/docs/types/{tools_plot.ActivityIntentHandler.html → tools_plot.NoteIntentHandler.html} +5 -5
- package/dist/llm-docs/common/calendar.d.ts +2 -2
- package/dist/llm-docs/common/calendar.d.ts.map +1 -1
- package/dist/llm-docs/common/calendar.js +2 -2
- package/dist/llm-docs/common/calendar.js.map +1 -1
- package/dist/llm-docs/common/messaging.d.ts +2 -2
- package/dist/llm-docs/common/messaging.d.ts.map +1 -1
- package/dist/llm-docs/common/messaging.js +2 -2
- package/dist/llm-docs/common/messaging.js.map +1 -1
- package/dist/llm-docs/common/projects.d.ts +9 -0
- package/dist/llm-docs/common/projects.d.ts.map +1 -0
- package/dist/llm-docs/common/projects.js +8 -0
- package/dist/llm-docs/common/projects.js.map +1 -0
- package/dist/llm-docs/index.d.ts +1 -1
- package/dist/llm-docs/index.js +17 -17
- package/dist/llm-docs/index.js.map +1 -1
- package/dist/llm-docs/plot.d.ts +2 -2
- package/dist/llm-docs/plot.d.ts.map +1 -1
- package/dist/llm-docs/plot.js +2 -2
- package/dist/llm-docs/plot.js.map +1 -1
- package/dist/llm-docs/tag.d.ts +2 -2
- package/dist/llm-docs/tag.d.ts.map +1 -1
- package/dist/llm-docs/tag.js +2 -2
- package/dist/llm-docs/tag.js.map +1 -1
- package/dist/llm-docs/tool.d.ts +2 -2
- package/dist/llm-docs/tool.d.ts.map +1 -1
- package/dist/llm-docs/tool.js +2 -2
- package/dist/llm-docs/tool.js.map +1 -1
- package/dist/llm-docs/tools/ai.d.ts +2 -2
- package/dist/llm-docs/tools/ai.d.ts.map +1 -1
- package/dist/llm-docs/tools/ai.js +2 -2
- package/dist/llm-docs/tools/ai.js.map +1 -1
- package/dist/llm-docs/tools/callbacks.d.ts +2 -2
- package/dist/llm-docs/tools/callbacks.d.ts.map +1 -1
- package/dist/llm-docs/tools/callbacks.js +2 -2
- package/dist/llm-docs/tools/callbacks.js.map +1 -1
- package/dist/llm-docs/tools/integrations.d.ts +1 -1
- package/dist/llm-docs/tools/integrations.js +1 -1
- package/dist/llm-docs/tools/network.d.ts +2 -2
- package/dist/llm-docs/tools/network.d.ts.map +1 -1
- package/dist/llm-docs/tools/network.js +2 -2
- package/dist/llm-docs/tools/network.js.map +1 -1
- package/dist/llm-docs/tools/plot.d.ts +2 -2
- package/dist/llm-docs/tools/plot.d.ts.map +1 -1
- package/dist/llm-docs/tools/plot.js +2 -2
- package/dist/llm-docs/tools/plot.js.map +1 -1
- package/dist/llm-docs/tools/store.d.ts +1 -1
- package/dist/llm-docs/tools/store.js +1 -1
- package/dist/llm-docs/tools/tasks.d.ts +1 -1
- package/dist/llm-docs/tools/tasks.js +1 -1
- package/dist/llm-docs/tools/twists.d.ts +2 -2
- package/dist/llm-docs/tools/twists.d.ts.map +1 -1
- package/dist/llm-docs/tools/twists.js +2 -2
- package/dist/llm-docs/tools/twists.js.map +1 -1
- package/dist/llm-docs/twist-guide-template.d.ts +1 -1
- package/dist/llm-docs/twist-guide-template.d.ts.map +1 -1
- package/dist/llm-docs/twist-guide-template.js +1 -1
- package/dist/llm-docs/twist-guide-template.js.map +1 -1
- package/dist/llm-docs/twist.d.ts +1 -1
- package/dist/llm-docs/twist.js +1 -1
- package/dist/plot.d.ts +271 -61
- package/dist/plot.d.ts.map +1 -1
- package/dist/plot.js.map +1 -1
- package/dist/tag.d.ts +2 -3
- package/dist/tag.d.ts.map +1 -1
- package/dist/tag.js +2 -3
- package/dist/tag.js.map +1 -1
- package/dist/tool.d.ts +2 -2
- package/dist/tool.d.ts.map +1 -1
- package/dist/tool.js +1 -1
- package/dist/tool.js.map +1 -1
- package/dist/tools/ai.d.ts +2 -2
- package/dist/tools/ai.d.ts.map +1 -1
- package/dist/tools/callbacks.d.ts +1 -1
- package/dist/tools/callbacks.d.ts.map +1 -1
- package/dist/tools/network.d.ts +2 -0
- package/dist/tools/network.d.ts.map +1 -1
- package/dist/tools/network.js.map +1 -1
- package/dist/tools/plot.d.ts +150 -29
- package/dist/tools/plot.d.ts.map +1 -1
- package/dist/tools/plot.js +4 -4
- package/dist/tools/plot.js.map +1 -1
- package/dist/tools/twists.d.ts +2 -2
- package/dist/twist-guide.d.ts +1 -1
- package/dist/twist-guide.d.ts.map +1 -1
- package/dist/utils/hash.d.ts +2 -0
- package/dist/utils/hash.d.ts.map +1 -0
- package/dist/utils/hash.js +9 -0
- package/dist/utils/hash.js.map +1 -0
- package/package.json +56 -2
- package/tsconfig.base.json +1 -0
- package/dist/docs/documents/Advanced.html +0 -91
- package/dist/docs/types/plot.NoteType.html +0 -1
- package/dist/llm-docs/creator-docs.d.ts +0 -9
- package/dist/llm-docs/creator-docs.d.ts.map +0 -1
- package/dist/llm-docs/creator-docs.js +0 -8
- package/dist/llm-docs/creator-docs.js.map +0 -1
|
@@ -17,14 +17,39 @@ Plot Twists are TypeScript classes that extend the `Twist` base class. Twists in
|
|
|
17
17
|
- **Store intermediate state**: Use the Store tool to persist state between batches
|
|
18
18
|
- **Examples**: Syncing large datasets, processing many API calls, or performing batch operations
|
|
19
19
|
|
|
20
|
-
##
|
|
20
|
+
## Understanding Activities and Notes
|
|
21
|
+
|
|
22
|
+
**CRITICAL CONCEPT**: An **Activity** represents something done or to be done (a task, event, or conversation), while **Notes** represent the updates and details on that activity.
|
|
23
|
+
|
|
24
|
+
**Think of an Activity as a thread** on a messaging platform, and **Notes as the messages in that thread**.
|
|
25
|
+
|
|
26
|
+
### Key Guidelines
|
|
27
|
+
|
|
28
|
+
1. **Always create Activities with an initial Note** - The title is just a summary; detailed content goes in Notes
|
|
29
|
+
2. **Add Notes to existing Activities for updates** - Don't create a new Activity for each related message
|
|
30
|
+
3. **Use `source` field for deduplication** - Enables safe, idempotent sync from external systems
|
|
31
|
+
4. **Most Activities should be `ActivityType.Note`** - Use `Action` only for tasks with `doneAt`, use `Event` only for items with `start`/`end`
|
|
32
|
+
|
|
33
|
+
### Decision Tree
|
|
34
|
+
|
|
35
|
+
```
|
|
36
|
+
New event/task/conversation?
|
|
37
|
+
├─ Yes → Create new Activity with initial Note
|
|
38
|
+
│ Include `source` field for deduplication
|
|
39
|
+
│
|
|
40
|
+
└─ No (update/reply/comment) → Check for existing Activity
|
|
41
|
+
├─ Found → Add Note to existing Activity
|
|
42
|
+
└─ Not found → Create new Activity with initial Note
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
## Twist Structure Pattern
|
|
21
46
|
|
|
22
47
|
```typescript
|
|
23
48
|
import {
|
|
24
49
|
type Activity,
|
|
25
|
-
twist,
|
|
26
50
|
type Priority,
|
|
27
51
|
type ToolBuilder,
|
|
52
|
+
twist,
|
|
28
53
|
} from "@plotday/twister";
|
|
29
54
|
import { Plot } from "@plotday/twister/tools/plot";
|
|
30
55
|
|
|
@@ -118,9 +143,14 @@ async activate(_priority: Pick<Priority, "id">) {
|
|
|
118
143
|
);
|
|
119
144
|
|
|
120
145
|
await this.tools.plot.createActivity({
|
|
121
|
-
type: ActivityType.
|
|
146
|
+
type: ActivityType.Note,
|
|
122
147
|
title: "Connect your account",
|
|
123
|
-
|
|
148
|
+
notes: [
|
|
149
|
+
{
|
|
150
|
+
content: "Click the link below to connect your account and start syncing.",
|
|
151
|
+
links: [authLink],
|
|
152
|
+
},
|
|
153
|
+
],
|
|
124
154
|
});
|
|
125
155
|
}
|
|
126
156
|
```
|
|
@@ -129,8 +159,13 @@ async activate(_priority: Pick<Priority, "id">) {
|
|
|
129
159
|
|
|
130
160
|
```typescript
|
|
131
161
|
const activity = await this.tools.plot.createActivity({
|
|
132
|
-
type: ActivityType.
|
|
162
|
+
type: ActivityType.Note,
|
|
133
163
|
title: "Setup",
|
|
164
|
+
notes: [
|
|
165
|
+
{
|
|
166
|
+
content: "Your twist is being set up. Configuration steps will appear here.",
|
|
167
|
+
},
|
|
168
|
+
],
|
|
134
169
|
});
|
|
135
170
|
|
|
136
171
|
await this.set("setup_activity_id", activity.id);
|
|
@@ -180,11 +215,16 @@ const callbackLink: ActivityLink = {
|
|
|
180
215
|
token: token,
|
|
181
216
|
};
|
|
182
217
|
|
|
183
|
-
// Add to activity
|
|
218
|
+
// Add to activity note
|
|
184
219
|
await this.tools.plot.createActivity({
|
|
185
|
-
type: ActivityType.
|
|
220
|
+
type: ActivityType.Note,
|
|
186
221
|
title: "Task with links",
|
|
187
|
-
|
|
222
|
+
notes: [
|
|
223
|
+
{
|
|
224
|
+
content: "Click the links below to take action.",
|
|
225
|
+
links: [urlLink, callbackLink],
|
|
226
|
+
},
|
|
227
|
+
],
|
|
188
228
|
});
|
|
189
229
|
```
|
|
190
230
|
|
|
@@ -202,9 +242,14 @@ async activate(_priority: Pick<Priority, "id">) {
|
|
|
202
242
|
|
|
203
243
|
// Create activity with auth link
|
|
204
244
|
const activity = await this.tools.plot.createActivity({
|
|
205
|
-
type: ActivityType.
|
|
245
|
+
type: ActivityType.Note,
|
|
206
246
|
title: "Connect Google account",
|
|
207
|
-
|
|
247
|
+
notes: [
|
|
248
|
+
{
|
|
249
|
+
content: "Click below to connect your Google account and start syncing.",
|
|
250
|
+
links: [authLink],
|
|
251
|
+
},
|
|
252
|
+
],
|
|
208
253
|
});
|
|
209
254
|
|
|
210
255
|
// Store for later use
|
|
@@ -222,7 +267,7 @@ async onAuthComplete(authResult: { authToken: string }, provider: string) {
|
|
|
222
267
|
|
|
223
268
|
## Sync Pattern
|
|
224
269
|
|
|
225
|
-
Pattern for syncing external data
|
|
270
|
+
Pattern for syncing external data - demonstrates adding Notes to existing Activities:
|
|
226
271
|
|
|
227
272
|
```typescript
|
|
228
273
|
async startSync(calendarId: string): Promise<void> {
|
|
@@ -236,9 +281,30 @@ async startSync(calendarId: string): Promise<void> {
|
|
|
236
281
|
);
|
|
237
282
|
}
|
|
238
283
|
|
|
239
|
-
async handleEvent(
|
|
240
|
-
|
|
241
|
-
|
|
284
|
+
async handleEvent(
|
|
285
|
+
incomingActivity: NewActivityWithNotes,
|
|
286
|
+
calendarId: string
|
|
287
|
+
): Promise<void> {
|
|
288
|
+
// Check if this activity already exists (using source for deduplication)
|
|
289
|
+
if (incomingActivity.source) {
|
|
290
|
+
const existing = await this.tools.plot.getActivityBySource(
|
|
291
|
+
incomingActivity.source
|
|
292
|
+
);
|
|
293
|
+
|
|
294
|
+
if (existing) {
|
|
295
|
+
// Add update as a Note to existing Activity (add message to thread)
|
|
296
|
+
if (incomingActivity.notes?.[0]?.content) {
|
|
297
|
+
await this.tools.plot.createNote({
|
|
298
|
+
activity: { id: existing.id },
|
|
299
|
+
content: incomingActivity.notes[0].content,
|
|
300
|
+
});
|
|
301
|
+
}
|
|
302
|
+
return;
|
|
303
|
+
}
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
// Create new Activity with initial Note (new thread with first message)
|
|
307
|
+
await this.tools.plot.createActivity(incomingActivity);
|
|
242
308
|
}
|
|
243
309
|
|
|
244
310
|
async stopSync(calendarId: string): Promise<void> {
|
|
@@ -278,7 +344,12 @@ private async createCalendarSelectionActivity(
|
|
|
278
344
|
await this.tools.plot.createActivity({
|
|
279
345
|
type: ActivityType.Note,
|
|
280
346
|
title: "Which calendars would you like to connect?",
|
|
281
|
-
|
|
347
|
+
notes: [
|
|
348
|
+
{
|
|
349
|
+
content: "Select the calendars you want to sync:",
|
|
350
|
+
links,
|
|
351
|
+
},
|
|
352
|
+
],
|
|
282
353
|
});
|
|
283
354
|
}
|
|
284
355
|
|
|
@@ -334,9 +405,14 @@ async syncBatch(args: any, resourceId: string): Promise<void> {
|
|
|
334
405
|
// Process one batch (keep under time limit)
|
|
335
406
|
const result = await this.fetchBatch(state.nextPageToken);
|
|
336
407
|
|
|
337
|
-
// Process results
|
|
408
|
+
// Process results (create activities with Notes)
|
|
338
409
|
for (const item of result.items) {
|
|
339
|
-
await this.tools.plot.createActivity(
|
|
410
|
+
await this.tools.plot.createActivity({
|
|
411
|
+
type: ActivityType.Note,
|
|
412
|
+
title: item.title,
|
|
413
|
+
source: `external:${item.id}`, // For deduplication
|
|
414
|
+
notes: [{ content: item.description }],
|
|
415
|
+
});
|
|
340
416
|
}
|
|
341
417
|
|
|
342
418
|
if (result.nextPageToken) {
|
|
@@ -357,7 +433,12 @@ async syncBatch(args: any, resourceId: string): Promise<void> {
|
|
|
357
433
|
// Optionally notify user of completion
|
|
358
434
|
await this.tools.plot.createActivity({
|
|
359
435
|
type: ActivityType.Note,
|
|
360
|
-
|
|
436
|
+
title: "Sync complete",
|
|
437
|
+
notes: [
|
|
438
|
+
{
|
|
439
|
+
content: `Successfully processed ${state.itemsProcessed + result.items.length} items.`,
|
|
440
|
+
},
|
|
441
|
+
],
|
|
361
442
|
});
|
|
362
443
|
}
|
|
363
444
|
}
|
|
@@ -375,7 +456,12 @@ try {
|
|
|
375
456
|
|
|
376
457
|
await this.tools.plot.createActivity({
|
|
377
458
|
type: ActivityType.Note,
|
|
378
|
-
|
|
459
|
+
title: "Operation failed",
|
|
460
|
+
notes: [
|
|
461
|
+
{
|
|
462
|
+
content: `Failed to complete operation: ${error.message}`,
|
|
463
|
+
},
|
|
464
|
+
],
|
|
379
465
|
});
|
|
380
466
|
}
|
|
381
467
|
```
|
|
@@ -384,7 +470,10 @@ try {
|
|
|
384
470
|
|
|
385
471
|
- **Don't use instance variables for state** - Anything stored in memory is lost after function execution. Always use the Store tool for data that needs to persist.
|
|
386
472
|
- **Processing self-created activities** - Other users may change an Activity created by the twist, resulting in an \`activity\` call. Be sure to check the \`changes === null\` and/or \`activity.author.id !== this.id\` to avoid re-processing.
|
|
387
|
-
-
|
|
473
|
+
- **Always create Activities with Notes** - See "Understanding Activities and Notes" section above for the thread/message pattern and decision tree.
|
|
474
|
+
- **Use correct Activity types** - Most should be `ActivityType.Note`. Only use `Action` for tasks with `doneAt`, and `Event` for items with `start`/`end`.
|
|
475
|
+
- **Use `source` field for deduplication** - Always include `source` when syncing external data to enable safe, idempotent operations.
|
|
476
|
+
- **Add Notes to existing Activities** - Check for existing Activities with `getActivityBySource()` before creating new ones. Think thread replies, not new threads.
|
|
388
477
|
- Tools are declared in the `build` method and accessed via `this.tools.toolName` in twist methods.
|
|
389
478
|
- **Don't forget runtime limits** - Each execution has ~10 seconds. Break long operations into batches with the Tasks tool. Process enough items per batch to be efficient, but few enough to stay under time limits.
|
|
390
479
|
- **Always use Callbacks tool for persistent references** - Direct function references don't survive worker restarts.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ActivityLink, NewActivityWithNotes } from "../index";
|
|
2
2
|
/**
|
|
3
3
|
* Represents successful calendar authorization.
|
|
4
4
|
*
|
|
@@ -85,7 +85,10 @@ export interface SyncOptions {
|
|
|
85
85
|
* }
|
|
86
86
|
* }
|
|
87
87
|
*
|
|
88
|
-
* async onCalendarEvent(
|
|
88
|
+
* async onCalendarEvent(
|
|
89
|
+
* activity: NewActivityWithNotes,
|
|
90
|
+
* syncMeta: { initialSync: boolean }
|
|
91
|
+
* ) {
|
|
89
92
|
* // Step 4: Process synced events
|
|
90
93
|
* await this.plot.createActivity(activity);
|
|
91
94
|
* }
|
|
@@ -120,14 +123,19 @@ export interface CalendarTool {
|
|
|
120
123
|
* event import and ongoing change notifications. The callback function
|
|
121
124
|
* will be invoked for each synced event.
|
|
122
125
|
*
|
|
126
|
+
* Tools implementing this should set activity.unread based on sync type:
|
|
127
|
+
* - Initial sync (historical data): Set activity.unread = false
|
|
128
|
+
* - Incremental updates (webhooks): Set activity.unread = true or leave undefined
|
|
129
|
+
*
|
|
123
130
|
* @param authToken - Authorization token for calendar access
|
|
124
131
|
* @param calendarId - ID of the calendar to sync
|
|
125
|
-
* @param callback - Function receiving (activity, ...extraArgs) for each synced event
|
|
132
|
+
* @param callback - Function receiving (activity, ...extraArgs) for each synced event.
|
|
133
|
+
* The activity.unread field indicates whether this is from initial sync.
|
|
126
134
|
* @param extraArgs - Additional arguments to pass to the callback (type-checked)
|
|
127
135
|
* @returns Promise that resolves when sync setup is complete
|
|
128
136
|
* @throws When auth token is invalid or calendar doesn't exist
|
|
129
137
|
*/
|
|
130
|
-
startSync<TCallback extends (activity:
|
|
138
|
+
startSync<TCallback extends (activity: NewActivityWithNotes, ...args: any[]) => any>(authToken: string, calendarId: string, callback: TCallback, ...extraArgs: TCallback extends (activity: any, ...rest: infer R) => any ? R : []): Promise<void>;
|
|
131
139
|
/**
|
|
132
140
|
* Stops synchronizing events from a specific calendar.
|
|
133
141
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"calendar.d.ts","sourceRoot":"","sources":["../../src/common/calendar.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"calendar.d.ts","sourceRoot":"","sources":["../../src/common/calendar.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAC;AAEnE;;;;;;GAMG;AACH,MAAM,MAAM,YAAY,GAAG;IACzB,2CAA2C;IAC3C,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF;;;;;;GAMG;AACH,MAAM,WAAW,QAAQ;IACvB,6DAA6D;IAC7D,EAAE,EAAE,MAAM,CAAC;IACX,0CAA0C;IAC1C,IAAI,EAAE,MAAM,CAAC;IACb,oEAAoE;IACpE,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,0DAA0D;IAC1D,OAAO,EAAE,OAAO,CAAC;CAClB;AAED;;;;;GAKG;AACH,MAAM,WAAW,WAAW;IAC1B,oDAAoD;IACpD,OAAO,CAAC,EAAE,IAAI,CAAC;IACf,gDAAgD;IAChD,OAAO,CAAC,EAAE,IAAI,CAAC;CAChB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuDG;AACH,MAAM,WAAW,YAAY;IAC3B;;;;;;OAMG;IACH,WAAW,CAAC,SAAS,SAAS,CAAC,IAAI,EAAE,YAAY,EAAE,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,EACvE,QAAQ,EAAE,SAAS,EACnB,GAAG,SAAS,EAAE,SAAS,SAAS,CAAC,IAAI,EAAE,GAAG,EAAE,GAAG,IAAI,EAAE,MAAM,CAAC,KAAK,GAAG,GAChE,CAAC,GACD,EAAE,GACL,OAAO,CAAC,YAAY,CAAC,CAAC;IAEzB;;;;;;;;;;OAUG;IACH,YAAY,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,QAAQ,EAAE,CAAC,CAAC;IAErD;;;;;;;;;;;;;;;;;;OAkBG;IACH,SAAS,CACP,SAAS,SAAS,CAChB,QAAQ,EAAE,oBAAoB,EAC9B,GAAG,IAAI,EAAE,GAAG,EAAE,KACX,GAAG,EAER,SAAS,EAAE,MAAM,EACjB,UAAU,EAAE,MAAM,EAClB,QAAQ,EAAE,SAAS,EACnB,GAAG,SAAS,EAAE,SAAS,SAAS,CAC9B,QAAQ,EAAE,GAAG,EACb,GAAG,IAAI,EAAE,MAAM,CAAC,KACb,GAAG,GACJ,CAAC,GACD,EAAE,GACL,OAAO,CAAC,IAAI,CAAC,CAAC;IAEjB;;;;;;;;;;OAUG;IACH,QAAQ,CAAC,SAAS,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CAChE"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ActivityLink, NewActivityWithNotes } from "../index";
|
|
2
2
|
/**
|
|
3
3
|
* Represents a successful messaging service authorization.
|
|
4
4
|
*
|
|
@@ -39,7 +39,8 @@ export interface MessageSyncOptions {
|
|
|
39
39
|
/**
|
|
40
40
|
* Base interface for email and chat integration tools.
|
|
41
41
|
*
|
|
42
|
-
* All synced messages/emails are converted to
|
|
42
|
+
* All synced messages/emails are converted to ActivityWithNotes objects.
|
|
43
|
+
* Each email thread or chat conversation becomes an Activity with Notes for each message.
|
|
43
44
|
*/
|
|
44
45
|
export interface MessagingTool {
|
|
45
46
|
/**
|
|
@@ -60,18 +61,18 @@ export interface MessagingTool {
|
|
|
60
61
|
/**
|
|
61
62
|
* Begins synchronizing messages from a specific channel.
|
|
62
63
|
*
|
|
63
|
-
*
|
|
64
|
-
*
|
|
65
|
-
* Activity
|
|
64
|
+
* Email threads and chat conversations are converted to ActivityWithNotes objects.
|
|
65
|
+
* Each object contains an Activity (with subject/title) and Notes array (one per message).
|
|
66
|
+
* The Activity.id can be used as a stable conversation identifier.
|
|
66
67
|
*
|
|
67
68
|
* @param authToken - Authorization token for access
|
|
68
69
|
* @param channelId - ID of the channel (e.g., channel, inbox) to sync
|
|
69
|
-
* @param callback - Function receiving (
|
|
70
|
+
* @param callback - Function receiving (thread, ...extraArgs) for each synced conversation
|
|
70
71
|
* @param options - Optional configuration for limiting the sync scope (e.g., time range)
|
|
71
72
|
* @param extraArgs - Additional arguments to pass to the callback (type-checked)
|
|
72
73
|
* @returns Promise that resolves when sync setup is complete
|
|
73
74
|
*/
|
|
74
|
-
startSync<TCallback extends (thread:
|
|
75
|
+
startSync<TCallback extends (thread: NewActivityWithNotes, ...args: any[]) => any>(authToken: string, channelId: string, callback: TCallback, options?: MessageSyncOptions, ...extraArgs: TCallback extends (thread: any, ...rest: infer R) => any ? R : []): Promise<void>;
|
|
75
76
|
/**
|
|
76
77
|
* Stops synchronizing messages from a specific channel.
|
|
77
78
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"messaging.d.ts","sourceRoot":"","sources":["../../src/common/messaging.ts"],"names":[],"mappings":"AA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,MAAM,EACjB,QAAQ,EAAE,SAAS,EACnB,OAAO,CAAC,EAAE,kBAAkB,EAC5B,GAAG,SAAS,EAAE,SAAS,SAAS,CAAC,MAAM,EAAE,GAAG,EAAE,GAAG,IAAI,EAAE,MAAM,CAAC,KAAK,GAAG,GAClE,CAAC,GACD,EAAE,GACL,OAAO,CAAC,IAAI,CAAC,CAAC;IAEjB;;;;;;OAMG;IACH,QAAQ,CAAC,SAAS,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CAC/D"}
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
import type { ActivityLink, ActivityUpdate, NewActivityWithNotes } from "../index";
|
|
2
|
+
/**
|
|
3
|
+
* Represents a successful project management service authorization.
|
|
4
|
+
*
|
|
5
|
+
* Returned by project management tools when authorization completes successfully.
|
|
6
|
+
* The auth token is an opaque identifier that can be used for subsequent
|
|
7
|
+
* project operations.
|
|
8
|
+
*/
|
|
9
|
+
export type ProjectAuth = {
|
|
10
|
+
/** Opaque token for project management operations */
|
|
11
|
+
authToken: string;
|
|
12
|
+
};
|
|
13
|
+
/**
|
|
14
|
+
* Represents a project from an external project management service.
|
|
15
|
+
*
|
|
16
|
+
* Contains metadata about a specific project/board/workspace that can be synced
|
|
17
|
+
* with Plot.
|
|
18
|
+
*/
|
|
19
|
+
export interface Project {
|
|
20
|
+
/** Unique identifier for the project within the provider */
|
|
21
|
+
id: string;
|
|
22
|
+
/** Human-readable name of the project (e.g., "Q1 Roadmap", "Engineering") */
|
|
23
|
+
name: string;
|
|
24
|
+
/** Optional description or additional details about the project */
|
|
25
|
+
description: string | null;
|
|
26
|
+
/** Optional project key/abbreviation (e.g., "PROJ" in Jira, "ENG" in Linear) */
|
|
27
|
+
key: string | null;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Configuration options for project synchronization.
|
|
31
|
+
*
|
|
32
|
+
* Controls the time range and other parameters for project sync operations.
|
|
33
|
+
* Used to limit sync scope and optimize performance.
|
|
34
|
+
*/
|
|
35
|
+
export interface ProjectSyncOptions {
|
|
36
|
+
/** Earliest date to sync issues from (inclusive) */
|
|
37
|
+
timeMin?: Date;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Base interface for project management integration tools.
|
|
41
|
+
*
|
|
42
|
+
* All synced issues/tasks are converted to ActivityWithNotes objects.
|
|
43
|
+
* Each issue becomes an Activity with Notes for the description and comments.
|
|
44
|
+
*/
|
|
45
|
+
export interface ProjectTool {
|
|
46
|
+
/**
|
|
47
|
+
* Initiates the authorization flow for the service.
|
|
48
|
+
*
|
|
49
|
+
* @param callback - Function receiving (auth, ...extraArgs) when auth completes
|
|
50
|
+
* @param extraArgs - Additional arguments to pass to the callback (type-checked)
|
|
51
|
+
* @returns Promise resolving to an ActivityLink to initiate the auth flow
|
|
52
|
+
*/
|
|
53
|
+
requestAuth<TCallback extends (auth: ProjectAuth, ...args: any[]) => any>(callback: TCallback, ...extraArgs: TCallback extends (auth: any, ...rest: infer R) => any ? R : []): Promise<ActivityLink>;
|
|
54
|
+
/**
|
|
55
|
+
* Retrieves the list of projects accessible to the user.
|
|
56
|
+
*
|
|
57
|
+
* @param authToken - Authorization token from successful auth flow
|
|
58
|
+
* @returns Promise resolving to array of available projects
|
|
59
|
+
*/
|
|
60
|
+
getProjects(authToken: string): Promise<Project[]>;
|
|
61
|
+
/**
|
|
62
|
+
* Begins synchronizing issues from a specific project.
|
|
63
|
+
*
|
|
64
|
+
* Issues and tasks are converted to ActivityWithNotes objects.
|
|
65
|
+
* Each object contains an Activity (with issue title and metadata) and Notes array
|
|
66
|
+
* (description as first note, followed by comments).
|
|
67
|
+
* The Activity.source should be set for deduplication.
|
|
68
|
+
*
|
|
69
|
+
* When an issue is updated, tools should check for existing Activity using
|
|
70
|
+
* getActivityBySource() and add a Note rather than creating a new Activity.
|
|
71
|
+
*
|
|
72
|
+
* Tools implementing this should set issue.unread based on sync type:
|
|
73
|
+
* - Initial sync (historical data): Set issue.unread = false
|
|
74
|
+
* - Incremental updates (webhooks): Set issue.unread = true or leave undefined
|
|
75
|
+
*
|
|
76
|
+
* @param authToken - Authorization token for access
|
|
77
|
+
* @param projectId - ID of the project to sync
|
|
78
|
+
* @param callback - Function receiving (issue, ...extraArgs) for each synced issue.
|
|
79
|
+
* The issue.unread field indicates whether this is from initial sync.
|
|
80
|
+
* @param options - Optional configuration for limiting the sync scope (e.g., time range)
|
|
81
|
+
* @param extraArgs - Additional arguments to pass to the callback (type-checked)
|
|
82
|
+
* @returns Promise that resolves when sync setup is complete
|
|
83
|
+
*/
|
|
84
|
+
startSync<TCallback extends (issue: NewActivityWithNotes, ...args: any[]) => any>(authToken: string, projectId: string, callback: TCallback, options?: ProjectSyncOptions, ...extraArgs: TCallback extends (issue: any, ...rest: infer R) => any ? R : []): Promise<void>;
|
|
85
|
+
/**
|
|
86
|
+
* Stops synchronizing issues from a specific project.
|
|
87
|
+
*
|
|
88
|
+
* @param authToken - Authorization token for access
|
|
89
|
+
* @param projectId - ID of the project to stop syncing
|
|
90
|
+
* @returns Promise that resolves when sync is stopped
|
|
91
|
+
*/
|
|
92
|
+
stopSync(authToken: string, projectId: string): Promise<void>;
|
|
93
|
+
/**
|
|
94
|
+
* Updates an issue/task with new values.
|
|
95
|
+
*
|
|
96
|
+
* Optional method for bidirectional sync. When implemented, allows Plot to
|
|
97
|
+
* sync activity updates back to the external service.
|
|
98
|
+
*
|
|
99
|
+
* The update object contains only the fields that changed, plus id and source.
|
|
100
|
+
* Uses the combination of start and doneAt to determine workflow state:
|
|
101
|
+
* - doneAt set → Completed/Done state
|
|
102
|
+
* - doneAt null + start set → In Progress/Active state
|
|
103
|
+
* - doneAt null + start null → Backlog/Todo state
|
|
104
|
+
*
|
|
105
|
+
* @param authToken - Authorization token for access
|
|
106
|
+
* @param update - ActivityUpdate with changed fields (includes id and source)
|
|
107
|
+
* @returns Promise that resolves when the update is synced
|
|
108
|
+
*/
|
|
109
|
+
updateIssue?(authToken: string, update: ActivityUpdate): Promise<void>;
|
|
110
|
+
/**
|
|
111
|
+
* Adds a comment to an issue/task.
|
|
112
|
+
*
|
|
113
|
+
* Optional method for bidirectional sync. When implemented, allows Plot to
|
|
114
|
+
* sync notes added to activities back as comments on the external service.
|
|
115
|
+
*
|
|
116
|
+
* @param authToken - Authorization token for access
|
|
117
|
+
* @param issueId - ID or key of the issue/task to comment on
|
|
118
|
+
* @param body - The comment text content
|
|
119
|
+
* @returns Promise that resolves when the comment is added
|
|
120
|
+
*/
|
|
121
|
+
addIssueComment?(authToken: string, issueId: string, body: string): Promise<void>;
|
|
122
|
+
}
|
|
123
|
+
//# sourceMappingURL=projects.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"projects.d.ts","sourceRoot":"","sources":["../../src/common/projects.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,YAAY,EACZ,cAAc,EACd,oBAAoB,EACrB,MAAM,UAAU,CAAC;AAElB;;;;;;GAMG;AACH,MAAM,MAAM,WAAW,GAAG;IACxB,qDAAqD;IACrD,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF;;;;;GAKG;AACH,MAAM,WAAW,OAAO;IACtB,4DAA4D;IAC5D,EAAE,EAAE,MAAM,CAAC;IACX,6EAA6E;IAC7E,IAAI,EAAE,MAAM,CAAC;IACb,mEAAmE;IACnE,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,gFAAgF;IAChF,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;CACpB;AAED;;;;;GAKG;AACH,MAAM,WAAW,kBAAkB;IACjC,oDAAoD;IACpD,OAAO,CAAC,EAAE,IAAI,CAAC;CAChB;AAED;;;;;GAKG;AACH,MAAM,WAAW,WAAW;IAC1B;;;;;;OAMG;IACH,WAAW,CAAC,SAAS,SAAS,CAAC,IAAI,EAAE,WAAW,EAAE,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,EACtE,Q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archyData = "
|
|
1
|
+
window.hierarchyData = "eJyNkrFuwyAQht/l5guVbTCNt6iTl6pSu1VRRW3aIBNTwVUZIr97hd1WZIKFAb7//w7pruCdowDdq6yOCF5/WD2QcXOA7gqyiueszho66F+cs4AwmXmErqrvEb69hQ4Gq0LQ4Y6cs2yl2InOEV1foAMK4y7GdtsFwnAydvR6jl6OTVNj09YouEAhK2xria2sUPIKpdgfFwTJk0mKBimYY0FomjotvphAIVcd3mjl2IYXSNpUcujzAmXYoc8XCy6S4gdl7bsapoIPDH8o+w8V2G7XYSb96dW2K1mhSWiWRvPatpaJ9lHTxfkpb5w3kP0GCjw333uyjvKSL+uIRTRfL3la/0zO63x/iBhb4QKD2Ke7rELJJlDE2ArnDMvyA843XGE="
|
|
@@ -23,14 +23,14 @@
|
|
|
23
23
|
--dark-hl-10: #6796E6;
|
|
24
24
|
--light-hl-11: #0451A5;
|
|
25
25
|
--dark-hl-11: #9CDCFE;
|
|
26
|
-
--light-hl-12: #
|
|
27
|
-
--dark-hl-12: #
|
|
26
|
+
--light-hl-12: #EE0000;
|
|
27
|
+
--dark-hl-12: #D7BA7D;
|
|
28
28
|
--light-hl-13: #000000FF;
|
|
29
29
|
--dark-hl-13: #D4D4D4;
|
|
30
|
-
--light-hl-14: #
|
|
31
|
-
--dark-hl-14: #
|
|
32
|
-
--light-hl-15: #
|
|
33
|
-
--dark-hl-15: #
|
|
30
|
+
--light-hl-14: #098658;
|
|
31
|
+
--dark-hl-14: #B5CEA8;
|
|
32
|
+
--light-hl-15: #000000;
|
|
33
|
+
--dark-hl-15: #C8C8C8;
|
|
34
34
|
--light-code-background: #FFFFFF;
|
|
35
35
|
--dark-code-background: #1E1E1E;
|
|
36
36
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
window.navigationData = "
|
|
1
|
+
window.navigationData = "eJytm99v2zYQx/+VwHvtlv5al/Yt89rVQJIFibs+FIXBSkxMWCI9kaqTDf3fB4qSTIpH3rn1a/jl547kmT7eOZ/+m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