@dotcraft/sdk 0.6.4 → 0.6.6
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/dotcraft.test.js +1 -3
- package/dist/dotcraft.test.js.map +1 -1
- package/dist/generated/appserver/client-requests.generated.d.ts +31 -47
- package/dist/generated/appserver/client-requests.generated.d.ts.map +1 -1
- package/dist/generated/appserver/method-groups.generated.d.ts +3 -3
- package/dist/generated/appserver/method-groups.generated.d.ts.map +1 -1
- package/dist/generated/appserver/method-groups.generated.js +14 -17
- package/dist/generated/appserver/method-groups.generated.js.map +1 -1
- package/dist/generated/appserver/models.generated.d.ts +124 -196
- package/dist/generated/appserver/models.generated.d.ts.map +1 -1
- package/dist/generated/appserver/protocol-info.generated.d.ts +2 -2
- package/dist/generated/appserver/protocol-info.generated.js +2 -2
- package/dist/generated/appserver/server-notifications.generated.d.ts +8 -4
- package/dist/generated/appserver/server-notifications.generated.d.ts.map +1 -1
- package/dist/hubClient.d.ts +0 -1
- package/dist/hubClient.d.ts.map +1 -1
- package/dist/hubClient.js +0 -1
- package/dist/hubClient.js.map +1 -1
- package/dist/hubClient.test.js +1 -2
- package/dist/hubClient.test.js.map +1 -1
- package/dist/models.d.ts +0 -1
- package/dist/models.d.ts.map +1 -1
- package/dist/models.js +0 -1
- package/dist/models.js.map +1 -1
- package/dist/publicApi.test.js +0 -5
- package/dist/publicApi.test.js.map +1 -1
- package/dist/wire.d.ts +1 -1
- package/dist/wire.d.ts.map +1 -1
- package/dist/wire.js +1 -1
- package/dist/wire.js.map +1 -1
- package/package.json +1 -1
|
@@ -612,171 +612,137 @@ export interface AuthOpenAiUsageWindow {
|
|
|
612
612
|
windowSeconds?: number;
|
|
613
613
|
[key: string]: unknown;
|
|
614
614
|
}
|
|
615
|
-
export interface
|
|
616
|
-
|
|
617
|
-
dailyHour?: number | null;
|
|
618
|
-
dailyMinute?: number | null;
|
|
619
|
-
everyMs?: number | null;
|
|
620
|
-
expr?: string | null;
|
|
621
|
-
initialDelayMs?: number | null;
|
|
622
|
-
kind?: string;
|
|
623
|
-
tz?: string | null;
|
|
615
|
+
export interface AutomationCreateParams {
|
|
616
|
+
automation: AutomationInput;
|
|
624
617
|
[key: string]: unknown;
|
|
625
618
|
}
|
|
626
|
-
export interface
|
|
619
|
+
export interface AutomationDefinition {
|
|
627
620
|
agentProfileId?: string | null;
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
621
|
+
approvalPolicy: string;
|
|
622
|
+
createdAt: string;
|
|
623
|
+
executionMode: string;
|
|
624
|
+
id: string;
|
|
625
|
+
name: string;
|
|
633
626
|
nextRunAt?: string | null;
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
}
|
|
644
|
-
export interface AutomationTaskCreateParams {
|
|
645
|
-
agentProfileId?: string | null;
|
|
646
|
-
approvalPolicy?: string | null;
|
|
647
|
-
description?: string | null;
|
|
648
|
-
schedule?: AutomationSchedule | null;
|
|
649
|
-
templateId?: string | null;
|
|
650
|
-
threadBinding?: AutomationThreadBinding | null;
|
|
651
|
-
title?: string;
|
|
652
|
-
workflowTemplate?: string | null;
|
|
653
|
-
workspaceMode?: string | null;
|
|
654
|
-
workspacePath?: string;
|
|
655
|
-
[key: string]: unknown;
|
|
656
|
-
}
|
|
657
|
-
export interface AutomationTaskCreateResult {
|
|
658
|
-
taskDirectory?: string;
|
|
659
|
-
taskId?: string;
|
|
660
|
-
[key: string]: unknown;
|
|
661
|
-
}
|
|
662
|
-
export interface AutomationTaskDeleteParams {
|
|
663
|
-
taskId?: string;
|
|
664
|
-
workspacePath?: string;
|
|
665
|
-
[key: string]: unknown;
|
|
666
|
-
}
|
|
667
|
-
export interface AutomationTaskDeleteResult {
|
|
668
|
-
ok?: boolean;
|
|
669
|
-
[key: string]: unknown;
|
|
670
|
-
}
|
|
671
|
-
export interface AutomationTaskDiscardWorktreeParams {
|
|
672
|
-
taskId?: string;
|
|
673
|
-
workspacePath?: string;
|
|
674
|
-
[key: string]: unknown;
|
|
675
|
-
}
|
|
676
|
-
export interface AutomationTaskDiscardWorktreeResult {
|
|
677
|
-
task?: AutomationTask;
|
|
627
|
+
notificationPolicy: string;
|
|
628
|
+
origin?: AutomationOrigin | null;
|
|
629
|
+
prompt: string;
|
|
630
|
+
schedule: AutomationSchedule;
|
|
631
|
+
status: string;
|
|
632
|
+
targetThreadId?: string | null;
|
|
633
|
+
updatedAt: string;
|
|
634
|
+
version: number;
|
|
635
|
+
workspaceMode: string;
|
|
678
636
|
[key: string]: unknown;
|
|
679
637
|
}
|
|
680
|
-
export interface
|
|
681
|
-
|
|
638
|
+
export interface AutomationDeleteResult {
|
|
639
|
+
ok: boolean;
|
|
682
640
|
[key: string]: unknown;
|
|
683
641
|
}
|
|
684
|
-
export interface
|
|
685
|
-
|
|
642
|
+
export interface AutomationIdParams {
|
|
643
|
+
automationId: string;
|
|
686
644
|
[key: string]: unknown;
|
|
687
645
|
}
|
|
688
|
-
export interface
|
|
689
|
-
|
|
690
|
-
|
|
646
|
+
export interface AutomationInput {
|
|
647
|
+
agentProfileId?: string | null;
|
|
648
|
+
approvalPolicy: string;
|
|
649
|
+
executionMode: string;
|
|
650
|
+
name: string;
|
|
651
|
+
notificationPolicy?: string | null;
|
|
652
|
+
prompt: string;
|
|
653
|
+
schedule: AutomationSchedule;
|
|
654
|
+
status: string;
|
|
655
|
+
targetThreadId?: string | null;
|
|
656
|
+
workspaceMode?: string | null;
|
|
691
657
|
[key: string]: unknown;
|
|
692
658
|
}
|
|
693
|
-
export interface
|
|
694
|
-
|
|
695
|
-
workspacePath?: string;
|
|
659
|
+
export interface AutomationListResult {
|
|
660
|
+
automations: AutomationDefinition[];
|
|
696
661
|
[key: string]: unknown;
|
|
697
662
|
}
|
|
698
|
-
export interface
|
|
699
|
-
|
|
663
|
+
export interface AutomationOrigin {
|
|
664
|
+
channel: string;
|
|
665
|
+
deliveryTarget?: string | null;
|
|
666
|
+
groupId?: string | null;
|
|
667
|
+
userId: string;
|
|
700
668
|
[key: string]: unknown;
|
|
701
669
|
}
|
|
702
|
-
export interface
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
670
|
+
export interface AutomationPreset {
|
|
671
|
+
id: string;
|
|
672
|
+
name: string;
|
|
673
|
+
prompt: string;
|
|
674
|
+
schedule?: AutomationSchedule | null;
|
|
706
675
|
[key: string]: unknown;
|
|
707
676
|
}
|
|
708
|
-
export interface
|
|
709
|
-
|
|
677
|
+
export interface AutomationPresetsParams {
|
|
678
|
+
locale?: string | null;
|
|
710
679
|
[key: string]: unknown;
|
|
711
680
|
}
|
|
712
|
-
export interface
|
|
713
|
-
|
|
714
|
-
workspacePath?: string;
|
|
681
|
+
export interface AutomationPresetsResult {
|
|
682
|
+
presets: AutomationPreset[];
|
|
715
683
|
[key: string]: unknown;
|
|
716
684
|
}
|
|
717
|
-
export interface
|
|
718
|
-
|
|
719
|
-
path?: string;
|
|
685
|
+
export interface AutomationReadResult {
|
|
686
|
+
automation: AutomationDefinition;
|
|
720
687
|
[key: string]: unknown;
|
|
721
688
|
}
|
|
722
|
-
export interface
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
689
|
+
export interface AutomationRun {
|
|
690
|
+
automationId: string;
|
|
691
|
+
completedAt?: string | null;
|
|
692
|
+
createdAt: string;
|
|
693
|
+
definitionVersion: number;
|
|
694
|
+
deliveryError?: string | null;
|
|
695
|
+
deliveryStatus: string;
|
|
696
|
+
error?: string | null;
|
|
697
|
+
id: string;
|
|
698
|
+
readAt?: string | null;
|
|
699
|
+
scheduledAt?: string | null;
|
|
700
|
+
startedAt?: string | null;
|
|
701
|
+
status: string;
|
|
702
|
+
summary?: string | null;
|
|
703
|
+
threadId?: string | null;
|
|
704
|
+
turnId?: string | null;
|
|
705
|
+
worktree?: ThreadWorktreeInfo | null;
|
|
739
706
|
[key: string]: unknown;
|
|
740
707
|
}
|
|
741
|
-
export interface
|
|
742
|
-
|
|
708
|
+
export interface AutomationRunReadParams {
|
|
709
|
+
automationId: string;
|
|
710
|
+
read: boolean;
|
|
711
|
+
runIds: string[];
|
|
743
712
|
[key: string]: unknown;
|
|
744
713
|
}
|
|
745
|
-
export interface
|
|
746
|
-
|
|
714
|
+
export interface AutomationRunResult {
|
|
715
|
+
run: AutomationRun;
|
|
747
716
|
[key: string]: unknown;
|
|
748
717
|
}
|
|
749
|
-
export interface
|
|
750
|
-
|
|
718
|
+
export interface AutomationRunUpdatedNotification {
|
|
719
|
+
run: AutomationRun;
|
|
751
720
|
[key: string]: unknown;
|
|
752
721
|
}
|
|
753
|
-
export interface
|
|
754
|
-
|
|
722
|
+
export interface AutomationRunsResult {
|
|
723
|
+
runs: AutomationRun[];
|
|
755
724
|
[key: string]: unknown;
|
|
756
725
|
}
|
|
757
|
-
export interface
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
description?: string | null;
|
|
766
|
-
icon?: string | null;
|
|
767
|
-
id?: string | null;
|
|
768
|
-
needsThreadBinding?: boolean;
|
|
769
|
-
title?: string;
|
|
770
|
-
workflowMarkdown?: string;
|
|
726
|
+
export interface AutomationSchedule {
|
|
727
|
+
at?: string | null;
|
|
728
|
+
days?: number[] | null;
|
|
729
|
+
everyMs?: number | null;
|
|
730
|
+
hour?: number | null;
|
|
731
|
+
kind: string;
|
|
732
|
+
minute?: number | null;
|
|
733
|
+
timeZone?: string | null;
|
|
771
734
|
[key: string]: unknown;
|
|
772
735
|
}
|
|
773
|
-
export interface
|
|
774
|
-
|
|
736
|
+
export interface AutomationUpdateParams {
|
|
737
|
+
automation: AutomationInput;
|
|
738
|
+
automationId: string;
|
|
739
|
+
expectedVersion: number;
|
|
775
740
|
[key: string]: unknown;
|
|
776
741
|
}
|
|
777
|
-
export interface
|
|
778
|
-
|
|
779
|
-
|
|
742
|
+
export interface AutomationUpdatedNotification {
|
|
743
|
+
automation?: AutomationDefinition | null;
|
|
744
|
+
automationId: string;
|
|
745
|
+
removed: boolean;
|
|
780
746
|
[key: string]: unknown;
|
|
781
747
|
}
|
|
782
748
|
export interface BackgroundTerminalSnapshot {
|
|
@@ -1019,74 +985,6 @@ export interface ContextUsageSnapshot {
|
|
|
1019
985
|
warningThreshold?: number;
|
|
1020
986
|
[key: string]: unknown;
|
|
1021
987
|
}
|
|
1022
|
-
export interface CronEnableParams {
|
|
1023
|
-
enabled?: boolean;
|
|
1024
|
-
jobId?: string;
|
|
1025
|
-
[key: string]: unknown;
|
|
1026
|
-
}
|
|
1027
|
-
export interface CronEnableResult {
|
|
1028
|
-
job?: CronJobWireInfo;
|
|
1029
|
-
[key: string]: unknown;
|
|
1030
|
-
}
|
|
1031
|
-
export interface CronJobStateWireInfo {
|
|
1032
|
-
lastError?: string | null;
|
|
1033
|
-
lastResult?: string | null;
|
|
1034
|
-
lastRunAtMs?: number | null;
|
|
1035
|
-
lastStatus?: string | null;
|
|
1036
|
-
lastThreadId?: string | null;
|
|
1037
|
-
nextRunAtMs?: number | null;
|
|
1038
|
-
[key: string]: unknown;
|
|
1039
|
-
}
|
|
1040
|
-
export interface CronJobWireInfo {
|
|
1041
|
-
createdAtMs?: number;
|
|
1042
|
-
deleteAfterRun?: boolean;
|
|
1043
|
-
enabled?: boolean;
|
|
1044
|
-
id?: string;
|
|
1045
|
-
name?: string;
|
|
1046
|
-
schedule?: CronScheduleWireInfo;
|
|
1047
|
-
state?: CronJobStateWireInfo;
|
|
1048
|
-
[key: string]: unknown;
|
|
1049
|
-
}
|
|
1050
|
-
export interface CronListParams {
|
|
1051
|
-
includeDisabled?: boolean;
|
|
1052
|
-
[key: string]: unknown;
|
|
1053
|
-
}
|
|
1054
|
-
export interface CronListResult {
|
|
1055
|
-
jobs?: CronJobWireInfo[];
|
|
1056
|
-
[key: string]: unknown;
|
|
1057
|
-
}
|
|
1058
|
-
export interface CronRemoveParams {
|
|
1059
|
-
jobId?: string;
|
|
1060
|
-
[key: string]: unknown;
|
|
1061
|
-
}
|
|
1062
|
-
export interface CronRemoveResult {
|
|
1063
|
-
removed?: boolean;
|
|
1064
|
-
[key: string]: unknown;
|
|
1065
|
-
}
|
|
1066
|
-
export interface CronRunParams {
|
|
1067
|
-
jobId?: string;
|
|
1068
|
-
[key: string]: unknown;
|
|
1069
|
-
}
|
|
1070
|
-
export interface CronRunResult {
|
|
1071
|
-
job?: CronJobWireInfo | null;
|
|
1072
|
-
queued?: boolean;
|
|
1073
|
-
[key: string]: unknown;
|
|
1074
|
-
}
|
|
1075
|
-
export interface CronScheduleWireInfo {
|
|
1076
|
-
atMs?: number | null;
|
|
1077
|
-
dailyHour?: number | null;
|
|
1078
|
-
dailyMinute?: number | null;
|
|
1079
|
-
everyMs?: number | null;
|
|
1080
|
-
initialDelayMs?: number | null;
|
|
1081
|
-
kind?: string;
|
|
1082
|
-
tz?: string | null;
|
|
1083
|
-
[key: string]: unknown;
|
|
1084
|
-
}
|
|
1085
|
-
export interface CronStateChangedNotification {
|
|
1086
|
-
job?: CronJobWireInfo;
|
|
1087
|
-
removed?: boolean;
|
|
1088
|
-
[key: string]: unknown;
|
|
1089
|
-
}
|
|
1090
988
|
export interface DreamsCreateParams {
|
|
1091
989
|
instructions?: string | null;
|
|
1092
990
|
model?: string | null;
|
|
@@ -2071,6 +1969,8 @@ export interface PluginDiagnostic {
|
|
|
2071
1969
|
[key: string]: unknown;
|
|
2072
1970
|
}
|
|
2073
1971
|
export interface PluginDotnetInfo {
|
|
1972
|
+
description?: string;
|
|
1973
|
+
displayName?: string;
|
|
2074
1974
|
entryAssembly?: string;
|
|
2075
1975
|
entryType?: string;
|
|
2076
1976
|
exportedApiAssemblies?: string[];
|
|
@@ -2216,10 +2116,23 @@ export interface PluginSkillInfo {
|
|
|
2216
2116
|
description?: string;
|
|
2217
2117
|
displayName?: string | null;
|
|
2218
2118
|
enabled?: boolean;
|
|
2119
|
+
iconLargeDataUrl?: string | null;
|
|
2120
|
+
iconSmallDataUrl?: string | null;
|
|
2219
2121
|
name?: string;
|
|
2220
2122
|
shortDescription?: string | null;
|
|
2221
2123
|
[key: string]: unknown;
|
|
2222
2124
|
}
|
|
2125
|
+
export interface PluginSkillReadParams {
|
|
2126
|
+
id: string;
|
|
2127
|
+
name: string;
|
|
2128
|
+
[key: string]: unknown;
|
|
2129
|
+
}
|
|
2130
|
+
export interface PluginSkillReadResult {
|
|
2131
|
+
content: string;
|
|
2132
|
+
id: string;
|
|
2133
|
+
name: string;
|
|
2134
|
+
[key: string]: unknown;
|
|
2135
|
+
}
|
|
2223
2136
|
export interface PluginSnapshotUpdatedNotification {
|
|
2224
2137
|
pluginIds?: string[];
|
|
2225
2138
|
snapshotRevision?: number;
|
|
@@ -2434,6 +2347,7 @@ export interface RemoteToolHostListResult {
|
|
|
2434
2347
|
[key: string]: unknown;
|
|
2435
2348
|
}
|
|
2436
2349
|
export interface RemoteToolHostRouteChangedNotification {
|
|
2350
|
+
initiator?: string;
|
|
2437
2351
|
reason: string;
|
|
2438
2352
|
route?: RemoteToolRouteInfo | null;
|
|
2439
2353
|
threadId: string;
|
|
@@ -2510,7 +2424,6 @@ export interface ServerCapabilities {
|
|
|
2510
2424
|
channelStatus?: boolean;
|
|
2511
2425
|
commandManagement?: boolean;
|
|
2512
2426
|
configOverride?: boolean;
|
|
2513
|
-
cronManagement?: boolean;
|
|
2514
2427
|
dreams?: boolean;
|
|
2515
2428
|
dynamicToolRebind?: boolean;
|
|
2516
2429
|
extensions?: ServerCapabilityExtensions | null;
|
|
@@ -3131,13 +3044,19 @@ export interface SystemJobTokenUsage {
|
|
|
3131
3044
|
}
|
|
3132
3045
|
export interface SystemNoticePayload {
|
|
3133
3046
|
clearedToolResults: number;
|
|
3047
|
+
hostId?: string | null;
|
|
3048
|
+
hostName?: string | null;
|
|
3049
|
+
initiator?: string | null;
|
|
3134
3050
|
kind: string;
|
|
3135
3051
|
mode: string;
|
|
3136
3052
|
percentLeftAfter: number;
|
|
3053
|
+
reason?: string | null;
|
|
3137
3054
|
sourceThreadId?: string | null;
|
|
3138
3055
|
tokensAfter: number;
|
|
3139
3056
|
tokensBefore: number;
|
|
3140
3057
|
trigger: string;
|
|
3058
|
+
workspaceId?: string | null;
|
|
3059
|
+
workspaceName?: string | null;
|
|
3141
3060
|
[key: string]: unknown;
|
|
3142
3061
|
}
|
|
3143
3062
|
export interface TerminalCleanParams {
|
|
@@ -3816,6 +3735,15 @@ export interface ToolExecutionPayload {
|
|
|
3816
3735
|
toolName: string;
|
|
3817
3736
|
[key: string]: unknown;
|
|
3818
3737
|
}
|
|
3738
|
+
export interface ToolExecutionProgressNotification {
|
|
3739
|
+
callId: string;
|
|
3740
|
+
itemId: string;
|
|
3741
|
+
progress: JsonValue;
|
|
3742
|
+
threadId: string;
|
|
3743
|
+
toolName: string;
|
|
3744
|
+
turnId: string;
|
|
3745
|
+
[key: string]: unknown;
|
|
3746
|
+
}
|
|
3819
3747
|
export interface ToolInfo {
|
|
3820
3748
|
description?: string;
|
|
3821
3749
|
icon?: string;
|