@questionbase/deskfree 0.3.0-alpha.36 → 0.3.0-alpha.38
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/index.d.ts +16 -20
- package/dist/index.js +614 -599
- package/dist/index.js.map +1 -1
- package/package.json +6 -6
- package/skills/deskfree/SKILL.md +12 -13
- package/skills/deskfree/references/tools.md +65 -51
package/dist/index.d.ts
CHANGED
|
@@ -418,7 +418,7 @@ interface WsNotification {
|
|
|
418
418
|
interface Task {
|
|
419
419
|
taskId: string;
|
|
420
420
|
title: string;
|
|
421
|
-
status: '
|
|
421
|
+
status: 'open' | 'done';
|
|
422
422
|
instructions?: string;
|
|
423
423
|
createdAt: string;
|
|
424
424
|
updatedAt: string;
|
|
@@ -431,7 +431,7 @@ interface Task {
|
|
|
431
431
|
interface TaskSummary {
|
|
432
432
|
taskId: string;
|
|
433
433
|
title: string;
|
|
434
|
-
status: '
|
|
434
|
+
status: 'open' | 'done';
|
|
435
435
|
instructions: string | null;
|
|
436
436
|
fileId: string | null;
|
|
437
437
|
fileName: string | null;
|
|
@@ -468,13 +468,20 @@ interface TaskWithContext extends Task {
|
|
|
468
468
|
}
|
|
469
469
|
interface CompleteTaskInput {
|
|
470
470
|
taskId: string;
|
|
471
|
-
|
|
472
|
-
|
|
471
|
+
learnings?: {
|
|
472
|
+
reasoning: string;
|
|
473
|
+
globalWoW?: string;
|
|
474
|
+
initiativeContent?: string;
|
|
475
|
+
};
|
|
476
|
+
followUps?: Array<{
|
|
477
|
+
title: string;
|
|
478
|
+
instructions?: string;
|
|
479
|
+
}>;
|
|
473
480
|
}
|
|
474
481
|
interface WorkspaceStateTask {
|
|
475
482
|
taskId: string;
|
|
476
483
|
title: string;
|
|
477
|
-
status: '
|
|
484
|
+
status: 'open' | 'done';
|
|
478
485
|
instructions?: string | null;
|
|
479
486
|
fileId?: string | null;
|
|
480
487
|
fileName?: string | null;
|
|
@@ -564,6 +571,7 @@ declare class DeskFreeClient {
|
|
|
564
571
|
userId?: string;
|
|
565
572
|
content: string;
|
|
566
573
|
taskId?: string;
|
|
574
|
+
messageType?: 'ask' | 'notify';
|
|
567
575
|
attachments?: Array<{
|
|
568
576
|
s3Key: string;
|
|
569
577
|
name: string;
|
|
@@ -659,10 +667,8 @@ declare class DeskFreeClient {
|
|
|
659
667
|
}): Promise<{
|
|
660
668
|
success: boolean;
|
|
661
669
|
}>;
|
|
662
|
-
/** Complete a task
|
|
663
|
-
completeTask(input: CompleteTaskInput): Promise<Task
|
|
664
|
-
outcome: 'done' | 'blocked';
|
|
665
|
-
}>;
|
|
670
|
+
/** Complete a task. Marks it as done. */
|
|
671
|
+
completeTask(input: CompleteTaskInput): Promise<Task>;
|
|
666
672
|
/** Reopen a completed/human task back to bot status for further work. */
|
|
667
673
|
reopenTask(input: {
|
|
668
674
|
taskId: string;
|
|
@@ -701,20 +707,10 @@ declare class DeskFreeClient {
|
|
|
701
707
|
content: string;
|
|
702
708
|
};
|
|
703
709
|
context?: string;
|
|
710
|
+
taskId?: string;
|
|
704
711
|
}): Promise<{
|
|
705
712
|
messageId: string;
|
|
706
713
|
}>;
|
|
707
|
-
/** Update ways of working and/or initiative content based on learnings. */
|
|
708
|
-
updateKnowledge(input: {
|
|
709
|
-
globalWoW?: string;
|
|
710
|
-
initiativeId?: string;
|
|
711
|
-
initiativeContent?: string;
|
|
712
|
-
reasoning: string;
|
|
713
|
-
}): Promise<{
|
|
714
|
-
success: boolean;
|
|
715
|
-
globalVersion?: number;
|
|
716
|
-
initiativeVersion?: number;
|
|
717
|
-
}>;
|
|
718
714
|
/**
|
|
719
715
|
* Lightweight health check that verifies connectivity and authentication.
|
|
720
716
|
*
|