@@ -171,7 +171,7 @@ export default class MessageTasksTwist extends Twist<MessageTasksTwist> {
171171 start : new Date ( ) ,
172172 notes : [
173173 {
174- note : "I'll analyze your message threads and create tasks when action is needed." ,
174+ content : "I'll analyze your message threads and create tasks when action is needed." ,
175175 links : [ slackAuthLink ] ,
176176 } ,
177177 ] ,
@@ -207,7 +207,7 @@ export default class MessageTasksTwist extends Twist<MessageTasksTwist> {
207207 if ( activity ) {
208208 await this . tools . plot . createNote ( {
209209 activity,
210- note : `No channels found for ${ provider } .` ,
210+ content : `No channels found for ${ provider } .` ,
211211 } ) ;
212212 }
213213 return ;
@@ -225,7 +225,7 @@ export default class MessageTasksTwist extends Twist<MessageTasksTwist> {
225225 if ( activity ) {
226226 await this . tools . plot . createNote ( {
227227 activity,
228- note : `Failed to connect to ${ provider } . Please try again.` ,
228+ content : `Failed to connect to ${ provider } . Please try again.` ,
229229 } ) ;
230230 }
231231 }
@@ -268,7 +268,7 @@ export default class MessageTasksTwist extends Twist<MessageTasksTwist> {
268268 if ( activity ) {
269269 await this . tools . plot . createNote ( {
270270 activity,
271- note : `Which ${ provider } channels should I monitor?` ,
271+ content : `Which ${ provider } channels should I monitor?` ,
272272 links,
273273 } ) ;
274274 }
@@ -313,7 +313,7 @@ export default class MessageTasksTwist extends Twist<MessageTasksTwist> {
313313 if ( activity ) {
314314 await this . tools . plot . createNote ( {
315315 activity,
316- note : `Now monitoring #${ channelName } for actionable threads` ,
316+ content : `Now monitoring #${ channelName } for actionable threads` ,
317317 } ) ;
318318 }
319319 } catch ( error ) {
@@ -325,7 +325,7 @@ export default class MessageTasksTwist extends Twist<MessageTasksTwist> {
325325 if ( activity ) {
326326 await this . tools . plot . createNote ( {
327327 activity,
328- note : `Failed to monitor #${ channelName } . Please try again.` ,
328+ content : `Failed to monitor #${ channelName } . Please try again.` ,
329329 } ) ;
330330 }
331331 }
@@ -412,7 +412,7 @@ If a task is needed, create a clear, actionable title that describes what the us
412412 } ,
413413 ...thread . notes . map ( ( note , idx ) => ( {
414414 role : "user" as const ,
415- content : `[Message ${ idx + 1 } ] User: ${ note . note || "(empty message)" } ` ,
415+ content : `[Message ${ idx + 1 } ] User: ${ note . content || "(empty message)" } ` ,
416416 } ) ) ,
417417 ] ;
418418
@@ -517,12 +517,12 @@ If a task is needed, create a clear, actionable title that describes what the us
517517 notes : analysis . taskNote
518518 ? [
519519 {
520- note : `${ analysis . taskNote } \n\n---\nFrom #${ channelName } ` ,
520+ content : `${ analysis . taskNote } \n\n---\nFrom #${ channelName } ` ,
521521 } ,
522522 ]
523523 : [
524524 {
525- note : `From #${ channelName } ` ,
525+ content : `From #${ channelName } ` ,
526526 } ,
527527 ] ,
528528 meta : {
@@ -566,7 +566,7 @@ Return true only if there's clear evidence the task is done.`,
566566 } ,
567567 ...recentMessages . map ( ( note ) => ( {
568568 role : "user" as const ,
569- content : `User: ${ note . note || "" } ` ,
569+ content : `User: ${ note . content || "" } ` ,
570570 } ) ) ,
571571 ] ;
572572
0 commit comments