@dotcraft/sdk 0.9.2 → 0.9.4
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/client.test.js +7 -49
- package/dist/client.test.js.map +1 -1
- package/dist/dotcraft.test.js +6 -73
- package/dist/dotcraft.test.js.map +1 -1
- package/dist/generated/appserver/client-requests.generated.d.ts +16 -0
- package/dist/generated/appserver/client-requests.generated.d.ts.map +1 -1
- package/dist/generated/appserver/method-groups.generated.d.ts +4 -4
- package/dist/generated/appserver/method-groups.generated.d.ts.map +1 -1
- package/dist/generated/appserver/method-groups.generated.js +8 -1
- package/dist/generated/appserver/method-groups.generated.js.map +1 -1
- package/dist/generated/appserver/models.generated.d.ts +67 -0
- 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 -0
- package/dist/generated/appserver/server-notifications.generated.d.ts.map +1 -1
- package/dist/generated/appserver/server-requests.generated.d.ts +4 -0
- package/dist/generated/appserver/server-requests.generated.d.ts.map +1 -1
- package/dist/generatedAppServer.test.js +0 -29
- package/dist/generatedAppServer.test.js.map +1 -1
- package/dist/hubClient.test.js +1 -141
- package/dist/hubClient.test.js.map +1 -1
- package/dist/protocolBaseline.test.js +0 -27
- package/dist/protocolBaseline.test.js.map +1 -1
- package/dist/transport.test.js +2 -13
- package/dist/transport.test.js.map +1 -1
- package/dist/turnReply.test.js +17 -23
- package/dist/turnReply.test.js.map +1 -1
- package/package.json +1 -1
|
@@ -1339,6 +1339,14 @@ export interface ErrorPayload {
|
|
|
1339
1339
|
message: string;
|
|
1340
1340
|
[key: string]: unknown;
|
|
1341
1341
|
}
|
|
1342
|
+
export interface ExtChannelConfigOptionAvailabilityParams {
|
|
1343
|
+
key?: string;
|
|
1344
|
+
[key: string]: unknown;
|
|
1345
|
+
}
|
|
1346
|
+
export interface ExtChannelConfigOptionAvailabilityResult {
|
|
1347
|
+
available: string[] | null;
|
|
1348
|
+
[key: string]: unknown;
|
|
1349
|
+
}
|
|
1342
1350
|
export interface ExtChannelSendParams {
|
|
1343
1351
|
deliveryId?: string;
|
|
1344
1352
|
message?: ChannelOutboundMessage;
|
|
@@ -1397,6 +1405,17 @@ export interface ExternalChannelConfig {
|
|
|
1397
1405
|
workingDirectory?: string | null;
|
|
1398
1406
|
[key: string]: unknown;
|
|
1399
1407
|
}
|
|
1408
|
+
export interface ExternalChannelConfigOptionAvailabilityParams {
|
|
1409
|
+
key?: string;
|
|
1410
|
+
name?: string;
|
|
1411
|
+
[key: string]: unknown;
|
|
1412
|
+
}
|
|
1413
|
+
export interface ExternalChannelConfigOptionAvailabilityResult {
|
|
1414
|
+
available: string[] | null;
|
|
1415
|
+
key: string;
|
|
1416
|
+
name: string;
|
|
1417
|
+
[key: string]: unknown;
|
|
1418
|
+
}
|
|
1400
1419
|
export interface ExternalChannelGetParams {
|
|
1401
1420
|
name?: string;
|
|
1402
1421
|
[key: string]: unknown;
|
|
@@ -2189,6 +2208,7 @@ export interface MemoryResetResult {
|
|
|
2189
2208
|
export interface ModelCatalogItem {
|
|
2190
2209
|
contextWindow?: number;
|
|
2191
2210
|
createdAt?: string;
|
|
2211
|
+
displayName?: string;
|
|
2192
2212
|
id?: string;
|
|
2193
2213
|
isDefault?: boolean;
|
|
2194
2214
|
ownedBy?: string;
|
|
@@ -4194,6 +4214,7 @@ export interface ThreadWorktreeInfo {
|
|
|
4194
4214
|
branchName?: string;
|
|
4195
4215
|
createdAt?: string;
|
|
4196
4216
|
dirtyHandoff?: ThreadWorktreeDirtyHandoffInfo | null;
|
|
4217
|
+
environmentPath?: string | null;
|
|
4197
4218
|
head?: string;
|
|
4198
4219
|
id?: string;
|
|
4199
4220
|
ownerId?: string | null;
|
|
@@ -4860,6 +4881,10 @@ export interface WorkspaceCommitMessageSuggestResult {
|
|
|
4860
4881
|
message?: string;
|
|
4861
4882
|
[key: string]: unknown;
|
|
4862
4883
|
}
|
|
4884
|
+
export interface WorktreeCancelCreateParams {
|
|
4885
|
+
operationId: string;
|
|
4886
|
+
[key: string]: unknown;
|
|
4887
|
+
}
|
|
4863
4888
|
export interface WorktreeCreateAndForkParams {
|
|
4864
4889
|
additionalContext?: Record<string, RuntimeAdditionalContextEntry> | null;
|
|
4865
4890
|
baseRef?: string | null;
|
|
@@ -4868,13 +4893,16 @@ export interface WorktreeCreateAndForkParams {
|
|
|
4868
4893
|
copyDirtyChanges?: boolean | null;
|
|
4869
4894
|
displayName?: string | null;
|
|
4870
4895
|
dynamicTools?: JsonValue[] | null;
|
|
4896
|
+
environmentPath?: string | null;
|
|
4871
4897
|
forkPoint?: ThreadForkPoint | null;
|
|
4872
4898
|
identity?: SessionIdentity | null;
|
|
4899
|
+
operationId?: string | null;
|
|
4873
4900
|
path?: string | null;
|
|
4874
4901
|
sourceThreadId?: string;
|
|
4875
4902
|
[key: string]: unknown;
|
|
4876
4903
|
}
|
|
4877
4904
|
export interface WorktreeCreateAndForkResult {
|
|
4905
|
+
setup?: WorktreeSetupResult;
|
|
4878
4906
|
thread?: SessionThread;
|
|
4879
4907
|
worktree?: ThreadWorktreeInfo;
|
|
4880
4908
|
[key: string]: unknown;
|
|
@@ -4887,16 +4915,25 @@ export interface WorktreeCreateAndStartParams {
|
|
|
4887
4915
|
copyDirtyChanges?: boolean | null;
|
|
4888
4916
|
displayName?: string | null;
|
|
4889
4917
|
dynamicTools?: JsonValue[] | null;
|
|
4918
|
+
environmentPath?: string | null;
|
|
4890
4919
|
historyMode?: string | null;
|
|
4891
4920
|
identity?: SessionIdentity;
|
|
4921
|
+
operationId?: string | null;
|
|
4892
4922
|
path?: string | null;
|
|
4893
4923
|
[key: string]: unknown;
|
|
4894
4924
|
}
|
|
4895
4925
|
export interface WorktreeCreateAndStartResult {
|
|
4926
|
+
setup?: WorktreeSetupResult;
|
|
4896
4927
|
thread?: SessionThread;
|
|
4897
4928
|
worktree?: ThreadWorktreeInfo;
|
|
4898
4929
|
[key: string]: unknown;
|
|
4899
4930
|
}
|
|
4931
|
+
export interface WorktreeCreateProgressNotification {
|
|
4932
|
+
operationId: string;
|
|
4933
|
+
status: string;
|
|
4934
|
+
step: string;
|
|
4935
|
+
[key: string]: unknown;
|
|
4936
|
+
}
|
|
4900
4937
|
export interface WorktreeListParams {
|
|
4901
4938
|
[key: string]: unknown;
|
|
4902
4939
|
}
|
|
@@ -4907,11 +4944,41 @@ export interface WorktreeListResult {
|
|
|
4907
4944
|
export interface WorktreeRemoveParams {
|
|
4908
4945
|
discardChanges?: boolean;
|
|
4909
4946
|
path?: string;
|
|
4947
|
+
skipCleanup?: boolean;
|
|
4910
4948
|
[key: string]: unknown;
|
|
4911
4949
|
}
|
|
4912
4950
|
export interface WorktreeRemoveResult {
|
|
4913
4951
|
[key: string]: unknown;
|
|
4914
4952
|
}
|
|
4953
|
+
export interface WorktreeRunSetupParams {
|
|
4954
|
+
operationId?: string;
|
|
4955
|
+
threadId: string;
|
|
4956
|
+
[key: string]: unknown;
|
|
4957
|
+
}
|
|
4958
|
+
export interface WorktreeRunSetupResult {
|
|
4959
|
+
setup: WorktreeSetupResult;
|
|
4960
|
+
[key: string]: unknown;
|
|
4961
|
+
}
|
|
4962
|
+
export interface WorktreeSetEnvironmentParams {
|
|
4963
|
+
environmentPath: string | null;
|
|
4964
|
+
path: string;
|
|
4965
|
+
[key: string]: unknown;
|
|
4966
|
+
}
|
|
4967
|
+
export interface WorktreeSetEnvironmentResult {
|
|
4968
|
+
worktree: ThreadWorktreeInfo;
|
|
4969
|
+
[key: string]: unknown;
|
|
4970
|
+
}
|
|
4971
|
+
export interface WorktreeSetupOutputNotification {
|
|
4972
|
+
delta: string;
|
|
4973
|
+
operationId: string;
|
|
4974
|
+
[key: string]: unknown;
|
|
4975
|
+
}
|
|
4976
|
+
export interface WorktreeSetupResult {
|
|
4977
|
+
exitCode?: number;
|
|
4978
|
+
outputTail: string;
|
|
4979
|
+
status: string;
|
|
4980
|
+
[key: string]: unknown;
|
|
4981
|
+
}
|
|
4915
4982
|
export interface WorktreeStatusParams {
|
|
4916
4983
|
threadId?: string;
|
|
4917
4984
|
[key: string]: unknown;
|