@nikcli-ai/sdk 1.85.0 → 1.87.0
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/v2/gen/types.gen.d.ts +47 -47
- package/package.json +1 -1
|
@@ -614,12 +614,6 @@ export type EventSessionError = {
|
|
|
614
614
|
error?: ProviderAuthError | UnknownError | MessageOutputLengthError | MessageContextOverflowError | MessageAbortedError | StructuredOutputError | ApiError;
|
|
615
615
|
};
|
|
616
616
|
};
|
|
617
|
-
export type EventFileEdited = {
|
|
618
|
-
type: "file.edited";
|
|
619
|
-
properties: {
|
|
620
|
-
file: string;
|
|
621
|
-
};
|
|
622
|
-
};
|
|
623
617
|
export type EventFileWatcherUpdated = {
|
|
624
618
|
type: "file.watcher.updated";
|
|
625
619
|
properties: {
|
|
@@ -898,6 +892,52 @@ export type EventMonitorCompleted = {
|
|
|
898
892
|
wake: boolean;
|
|
899
893
|
};
|
|
900
894
|
};
|
|
895
|
+
export type EventSessionV2Updated = {
|
|
896
|
+
type: "session.v2.updated";
|
|
897
|
+
properties: {
|
|
898
|
+
sessionID: string;
|
|
899
|
+
};
|
|
900
|
+
};
|
|
901
|
+
export type Pty = {
|
|
902
|
+
id: string;
|
|
903
|
+
title: string;
|
|
904
|
+
command: string;
|
|
905
|
+
args: Array<string>;
|
|
906
|
+
cwd: string;
|
|
907
|
+
status: "running" | "exited";
|
|
908
|
+
pid: number;
|
|
909
|
+
};
|
|
910
|
+
export type EventPtyCreated = {
|
|
911
|
+
type: "pty.created";
|
|
912
|
+
properties: {
|
|
913
|
+
info: Pty;
|
|
914
|
+
};
|
|
915
|
+
};
|
|
916
|
+
export type EventPtyUpdated = {
|
|
917
|
+
type: "pty.updated";
|
|
918
|
+
properties: {
|
|
919
|
+
info: Pty;
|
|
920
|
+
};
|
|
921
|
+
};
|
|
922
|
+
export type EventPtyExited = {
|
|
923
|
+
type: "pty.exited";
|
|
924
|
+
properties: {
|
|
925
|
+
id: string;
|
|
926
|
+
exitCode: number;
|
|
927
|
+
};
|
|
928
|
+
};
|
|
929
|
+
export type EventPtyDeleted = {
|
|
930
|
+
type: "pty.deleted";
|
|
931
|
+
properties: {
|
|
932
|
+
id: string;
|
|
933
|
+
};
|
|
934
|
+
};
|
|
935
|
+
export type EventFileEdited = {
|
|
936
|
+
type: "file.edited";
|
|
937
|
+
properties: {
|
|
938
|
+
file: string;
|
|
939
|
+
};
|
|
940
|
+
};
|
|
901
941
|
export type EventWorkspaceReady = {
|
|
902
942
|
type: "workspace.ready";
|
|
903
943
|
properties: {
|
|
@@ -1033,47 +1073,7 @@ export type EventMissionAborted = {
|
|
|
1033
1073
|
reason: string;
|
|
1034
1074
|
};
|
|
1035
1075
|
};
|
|
1036
|
-
export type
|
|
1037
|
-
type: "session.v2.updated";
|
|
1038
|
-
properties: {
|
|
1039
|
-
sessionID: string;
|
|
1040
|
-
};
|
|
1041
|
-
};
|
|
1042
|
-
export type Pty = {
|
|
1043
|
-
id: string;
|
|
1044
|
-
title: string;
|
|
1045
|
-
command: string;
|
|
1046
|
-
args: Array<string>;
|
|
1047
|
-
cwd: string;
|
|
1048
|
-
status: "running" | "exited";
|
|
1049
|
-
pid: number;
|
|
1050
|
-
};
|
|
1051
|
-
export type EventPtyCreated = {
|
|
1052
|
-
type: "pty.created";
|
|
1053
|
-
properties: {
|
|
1054
|
-
info: Pty;
|
|
1055
|
-
};
|
|
1056
|
-
};
|
|
1057
|
-
export type EventPtyUpdated = {
|
|
1058
|
-
type: "pty.updated";
|
|
1059
|
-
properties: {
|
|
1060
|
-
info: Pty;
|
|
1061
|
-
};
|
|
1062
|
-
};
|
|
1063
|
-
export type EventPtyExited = {
|
|
1064
|
-
type: "pty.exited";
|
|
1065
|
-
properties: {
|
|
1066
|
-
id: string;
|
|
1067
|
-
exitCode: number;
|
|
1068
|
-
};
|
|
1069
|
-
};
|
|
1070
|
-
export type EventPtyDeleted = {
|
|
1071
|
-
type: "pty.deleted";
|
|
1072
|
-
properties: {
|
|
1073
|
-
id: string;
|
|
1074
|
-
};
|
|
1075
|
-
};
|
|
1076
|
-
export type Event = EventProjectUpdated | EventTelemetryRecord | EventServerInstanceDisposed | EventInstallationUpdated | EventInstallationUpdateAvailable | EventServerConnected | EventGlobalDisposed | EventLspClientDiagnostics | EventLspUpdated | EventMessageUpdated | EventMessageRemoved | EventMessagePartUpdated | EventMessagePartRemoved | EventPermissionAsked | EventPermissionReplied | EventSessionCreated | EventSessionUpdated | EventSessionDeleted | EventSessionDiff | EventSessionError | EventFileEdited | EventFileWatcherUpdated | EventTuiPromptAppend | EventTuiCommandExecute | EventTuiToastShow | EventTuiSessionSelect | EventMcpToolsChanged | EventMcpBrowserOpenFailed | EventCommandExecuted | EventVcsBranchUpdated | EventTodoUpdated | EventSessionStatus | EventSessionIdle | EventQuestionAsked | EventQuestionReplied | EventQuestionRejected | EventSessionCompacted | EventMonitorCreated | EventMonitorUpdated | EventMonitorOutput | EventMonitorCompleted | EventWorkspaceReady | EventWorkspaceFailed | EventWorkspaceStatus | EventDelegationCompleted | EventLoopUpserted | EventLoopRemoved | EventLoopRunStarted | EventLoopRunFinished | EventLoopRuntimeChanged | EventLoopAborted | EventMissionUpserted | EventMissionRemoved | EventMissionStarted | EventMissionFinished | EventMissionExecStarted | EventMissionExecFinished | EventMissionRuntimeChanged | EventMissionAborted | EventSessionV2Updated | EventPtyCreated | EventPtyUpdated | EventPtyExited | EventPtyDeleted;
|
|
1076
|
+
export type Event = EventProjectUpdated | EventTelemetryRecord | EventServerInstanceDisposed | EventInstallationUpdated | EventInstallationUpdateAvailable | EventServerConnected | EventGlobalDisposed | EventLspClientDiagnostics | EventLspUpdated | EventMessageUpdated | EventMessageRemoved | EventMessagePartUpdated | EventMessagePartRemoved | EventPermissionAsked | EventPermissionReplied | EventSessionCreated | EventSessionUpdated | EventSessionDeleted | EventSessionDiff | EventSessionError | EventFileWatcherUpdated | EventTuiPromptAppend | EventTuiCommandExecute | EventTuiToastShow | EventTuiSessionSelect | EventMcpToolsChanged | EventMcpBrowserOpenFailed | EventCommandExecuted | EventVcsBranchUpdated | EventTodoUpdated | EventSessionStatus | EventSessionIdle | EventQuestionAsked | EventQuestionReplied | EventQuestionRejected | EventSessionCompacted | EventMonitorCreated | EventMonitorUpdated | EventMonitorOutput | EventMonitorCompleted | EventSessionV2Updated | EventPtyCreated | EventPtyUpdated | EventPtyExited | EventPtyDeleted | EventFileEdited | EventWorkspaceReady | EventWorkspaceFailed | EventWorkspaceStatus | EventDelegationCompleted | EventLoopUpserted | EventLoopRemoved | EventLoopRunStarted | EventLoopRunFinished | EventLoopRuntimeChanged | EventLoopAborted | EventMissionUpserted | EventMissionRemoved | EventMissionStarted | EventMissionFinished | EventMissionExecStarted | EventMissionExecFinished | EventMissionRuntimeChanged | EventMissionAborted;
|
|
1077
1077
|
export type GlobalEvent = {
|
|
1078
1078
|
directory: string;
|
|
1079
1079
|
payload: Event;
|