@dotcraft/sdk 0.9.2 → 0.9.3
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 +66 -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;
|
|
@@ -4194,6 +4213,7 @@ export interface ThreadWorktreeInfo {
|
|
|
4194
4213
|
branchName?: string;
|
|
4195
4214
|
createdAt?: string;
|
|
4196
4215
|
dirtyHandoff?: ThreadWorktreeDirtyHandoffInfo | null;
|
|
4216
|
+
environmentPath?: string | null;
|
|
4197
4217
|
head?: string;
|
|
4198
4218
|
id?: string;
|
|
4199
4219
|
ownerId?: string | null;
|
|
@@ -4860,6 +4880,10 @@ export interface WorkspaceCommitMessageSuggestResult {
|
|
|
4860
4880
|
message?: string;
|
|
4861
4881
|
[key: string]: unknown;
|
|
4862
4882
|
}
|
|
4883
|
+
export interface WorktreeCancelCreateParams {
|
|
4884
|
+
operationId: string;
|
|
4885
|
+
[key: string]: unknown;
|
|
4886
|
+
}
|
|
4863
4887
|
export interface WorktreeCreateAndForkParams {
|
|
4864
4888
|
additionalContext?: Record<string, RuntimeAdditionalContextEntry> | null;
|
|
4865
4889
|
baseRef?: string | null;
|
|
@@ -4868,13 +4892,16 @@ export interface WorktreeCreateAndForkParams {
|
|
|
4868
4892
|
copyDirtyChanges?: boolean | null;
|
|
4869
4893
|
displayName?: string | null;
|
|
4870
4894
|
dynamicTools?: JsonValue[] | null;
|
|
4895
|
+
environmentPath?: string | null;
|
|
4871
4896
|
forkPoint?: ThreadForkPoint | null;
|
|
4872
4897
|
identity?: SessionIdentity | null;
|
|
4898
|
+
operationId?: string | null;
|
|
4873
4899
|
path?: string | null;
|
|
4874
4900
|
sourceThreadId?: string;
|
|
4875
4901
|
[key: string]: unknown;
|
|
4876
4902
|
}
|
|
4877
4903
|
export interface WorktreeCreateAndForkResult {
|
|
4904
|
+
setup?: WorktreeSetupResult;
|
|
4878
4905
|
thread?: SessionThread;
|
|
4879
4906
|
worktree?: ThreadWorktreeInfo;
|
|
4880
4907
|
[key: string]: unknown;
|
|
@@ -4887,16 +4914,25 @@ export interface WorktreeCreateAndStartParams {
|
|
|
4887
4914
|
copyDirtyChanges?: boolean | null;
|
|
4888
4915
|
displayName?: string | null;
|
|
4889
4916
|
dynamicTools?: JsonValue[] | null;
|
|
4917
|
+
environmentPath?: string | null;
|
|
4890
4918
|
historyMode?: string | null;
|
|
4891
4919
|
identity?: SessionIdentity;
|
|
4920
|
+
operationId?: string | null;
|
|
4892
4921
|
path?: string | null;
|
|
4893
4922
|
[key: string]: unknown;
|
|
4894
4923
|
}
|
|
4895
4924
|
export interface WorktreeCreateAndStartResult {
|
|
4925
|
+
setup?: WorktreeSetupResult;
|
|
4896
4926
|
thread?: SessionThread;
|
|
4897
4927
|
worktree?: ThreadWorktreeInfo;
|
|
4898
4928
|
[key: string]: unknown;
|
|
4899
4929
|
}
|
|
4930
|
+
export interface WorktreeCreateProgressNotification {
|
|
4931
|
+
operationId: string;
|
|
4932
|
+
status: string;
|
|
4933
|
+
step: string;
|
|
4934
|
+
[key: string]: unknown;
|
|
4935
|
+
}
|
|
4900
4936
|
export interface WorktreeListParams {
|
|
4901
4937
|
[key: string]: unknown;
|
|
4902
4938
|
}
|
|
@@ -4907,11 +4943,41 @@ export interface WorktreeListResult {
|
|
|
4907
4943
|
export interface WorktreeRemoveParams {
|
|
4908
4944
|
discardChanges?: boolean;
|
|
4909
4945
|
path?: string;
|
|
4946
|
+
skipCleanup?: boolean;
|
|
4910
4947
|
[key: string]: unknown;
|
|
4911
4948
|
}
|
|
4912
4949
|
export interface WorktreeRemoveResult {
|
|
4913
4950
|
[key: string]: unknown;
|
|
4914
4951
|
}
|
|
4952
|
+
export interface WorktreeRunSetupParams {
|
|
4953
|
+
operationId?: string;
|
|
4954
|
+
threadId: string;
|
|
4955
|
+
[key: string]: unknown;
|
|
4956
|
+
}
|
|
4957
|
+
export interface WorktreeRunSetupResult {
|
|
4958
|
+
setup: WorktreeSetupResult;
|
|
4959
|
+
[key: string]: unknown;
|
|
4960
|
+
}
|
|
4961
|
+
export interface WorktreeSetEnvironmentParams {
|
|
4962
|
+
environmentPath: string | null;
|
|
4963
|
+
path: string;
|
|
4964
|
+
[key: string]: unknown;
|
|
4965
|
+
}
|
|
4966
|
+
export interface WorktreeSetEnvironmentResult {
|
|
4967
|
+
worktree: ThreadWorktreeInfo;
|
|
4968
|
+
[key: string]: unknown;
|
|
4969
|
+
}
|
|
4970
|
+
export interface WorktreeSetupOutputNotification {
|
|
4971
|
+
delta: string;
|
|
4972
|
+
operationId: string;
|
|
4973
|
+
[key: string]: unknown;
|
|
4974
|
+
}
|
|
4975
|
+
export interface WorktreeSetupResult {
|
|
4976
|
+
exitCode?: number;
|
|
4977
|
+
outputTail: string;
|
|
4978
|
+
status: string;
|
|
4979
|
+
[key: string]: unknown;
|
|
4980
|
+
}
|
|
4915
4981
|
export interface WorktreeStatusParams {
|
|
4916
4982
|
threadId?: string;
|
|
4917
4983
|
[key: string]: unknown;
|