@nikcli-ai/sdk 1.286.0 → 1.288.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/server.d.ts CHANGED
@@ -614,7 +614,7 @@ export declare function createNikcli(options?: ServerOptions): Promise<{
614
614
  create: (input: import("./httpapi/client.js").MobileRoutineCreateInput & {
615
615
  readonly directory?: string;
616
616
  readonly workspace?: string;
617
- }, options?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<import("./httpapi/client.js").Routine>>;
617
+ }, options?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<import("./httpapi/generated/types.js").MobileRoutine>>;
618
618
  delete: (input: import("./httpapi/client.js").MobileRoutineDeleteInput & {
619
619
  readonly directory?: string;
620
620
  readonly workspace?: string;
@@ -622,28 +622,28 @@ export declare function createNikcli(options?: ServerOptions): Promise<{
622
622
  get: (input: import("./httpapi/client.js").MobileRoutineGetInput & {
623
623
  readonly directory?: string;
624
624
  readonly workspace?: string;
625
- }, options?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<import("./httpapi/client.js").Routine>>;
625
+ }, options?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<import("./httpapi/generated/types.js").MobileRoutine>>;
626
626
  list: (options?: import("./httpapi/compat.js").CallOptions, overrides?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<import("./httpapi/client.js").MobileRoutineListOutput>>;
627
627
  pause: (input: import("./httpapi/client.js").MobileRoutinePauseInput & {
628
628
  readonly directory?: string;
629
629
  readonly workspace?: string;
630
- }, options?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<import("./httpapi/client.js").Routine>>;
630
+ }, options?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<import("./httpapi/generated/types.js").MobileRoutine>>;
631
631
  resume: (input: import("./httpapi/client.js").MobileRoutineResumeInput & {
632
632
  readonly directory?: string;
633
633
  readonly workspace?: string;
634
- }, options?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<import("./httpapi/client.js").Routine>>;
634
+ }, options?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<import("./httpapi/generated/types.js").MobileRoutine>>;
635
635
  run: (input: import("./httpapi/client.js").MobileRoutineRunInput & {
636
636
  readonly directory?: string;
637
637
  readonly workspace?: string;
638
- }, options?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<import("./httpapi/client.js").Session>>;
638
+ }, options?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<import("./httpapi/client.js").Session2>>;
639
639
  trigger: (input: import("./httpapi/client.js").MobileRoutineTriggerInput & {
640
640
  readonly directory?: string;
641
641
  readonly workspace?: string;
642
- }, options?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<import("./httpapi/client.js").Session>>;
642
+ }, options?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<import("./httpapi/client.js").Session2>>;
643
643
  update: (input: import("./httpapi/client.js").MobileRoutineUpdateInput & {
644
644
  readonly directory?: string;
645
645
  readonly workspace?: string;
646
- }, options?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<import("./httpapi/client.js").Routine>>;
646
+ }, options?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<import("./httpapi/generated/types.js").MobileRoutine>>;
647
647
  };
648
648
  session: {
649
649
  abort: (input: import("./httpapi/client.js").MobileSessionAbortInput & {
@@ -663,7 +663,7 @@ export declare function createNikcli(options?: ServerOptions): Promise<{
663
663
  create: (input?: (import("./httpapi/client.js").MobileSessionCreateInput & {
664
664
  readonly directory?: string;
665
665
  readonly workspace?: string;
666
- }) | undefined, options?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<import("./httpapi/client.js").Session>>;
666
+ }) | undefined, options?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<import("./httpapi/client.js").Session2>>;
667
667
  delete: (input: import("./httpapi/client.js").MobileSessionDeleteInput & {
668
668
  readonly directory?: string;
669
669
  readonly workspace?: string;
@@ -713,10 +713,10 @@ export declare function createNikcli(options?: ServerOptions): Promise<{
713
713
  };
714
714
  };
715
715
  worktree: {
716
- create: (input: import("./httpapi/client.js").MobileWorktreeCreateInput & {
716
+ create: (input?: (import("./httpapi/client.js").MobileWorktreeCreateInput & {
717
717
  readonly directory?: string;
718
718
  readonly workspace?: string;
719
- }, options?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<import("./httpapi/client.js").ManagedWorktreeInfo>>;
719
+ }) | undefined, options?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<import("./httpapi/client.js").ManagedWorktreeInfo>>;
720
720
  remove: (input: import("./httpapi/client.js").MobileWorktreeRemoveInput & {
721
721
  readonly directory?: string;
722
722
  readonly workspace?: string;
@@ -735,7 +735,7 @@ export declare function createNikcli(options?: ServerOptions): Promise<{
735
735
  update: (input: import("./httpapi/client.js").SessionPartUpdateInput & {
736
736
  readonly directory?: string;
737
737
  readonly workspace?: string;
738
- }, options?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<import("./httpapi/client.js").Part>>;
738
+ }, options?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<import("./httpapi/client.js").Part1>>;
739
739
  };
740
740
  patchConfigMcpName: (input: import("./httpapi/client.js").ConfigManagementMcpUpdateInput & {
741
741
  readonly directory?: string;
@@ -790,10 +790,10 @@ export declare function createNikcli(options?: ServerOptions): Promise<{
790
790
  readonly directory?: string;
791
791
  readonly workspace?: string;
792
792
  }) | undefined, options?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<import("./httpapi/client.js").ProfileHabits>>;
793
- patch: (input: import("./httpapi/client.js").ProfilePatchInput & {
793
+ patch: (input?: (import("./httpapi/client.js").ProfilePatchInput & {
794
794
  readonly directory?: string;
795
795
  readonly workspace?: string;
796
- }, options?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<import("./httpapi/client.js").ProfileInfo>>;
796
+ }) | undefined, options?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<import("./httpapi/client.js").ProfileInfo>>;
797
797
  preview: (input?: (import("./httpapi/client.js").ProfilePreviewInput & {
798
798
  readonly directory?: string;
799
799
  readonly workspace?: string;
@@ -905,7 +905,7 @@ export declare function createNikcli(options?: ServerOptions): Promise<{
905
905
  create: (input?: (import("./httpapi/client.js").SessionCreateInput & {
906
906
  readonly directory?: string;
907
907
  readonly workspace?: string;
908
- }) | undefined, options?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<import("./httpapi/client.js").Session>>;
908
+ }) | undefined, options?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<import("./httpapi/client.js").Session2>>;
909
909
  delete: (input: import("./httpapi/client.js").SessionRemoveInput & {
910
910
  readonly directory?: string;
911
911
  readonly workspace?: string;
@@ -917,11 +917,11 @@ export declare function createNikcli(options?: ServerOptions): Promise<{
917
917
  fork: (input: import("./httpapi/client.js").SessionForkInput & {
918
918
  readonly directory?: string;
919
919
  readonly workspace?: string;
920
- }, options?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<import("./httpapi/client.js").Session>>;
920
+ }, options?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<import("./httpapi/client.js").Session2>>;
921
921
  get: (input: import("./httpapi/client.js").SessionGetInput & {
922
922
  readonly directory?: string;
923
923
  readonly workspace?: string;
924
- }, options?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<import("./httpapi/client.js").Session>>;
924
+ }, options?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<import("./httpapi/client.js").Session2>>;
925
925
  goal: (input: import("./httpapi/client.js").SessionGoalInput & {
926
926
  readonly directory?: string;
927
927
  readonly workspace?: string;
@@ -970,11 +970,11 @@ export declare function createNikcli(options?: ServerOptions): Promise<{
970
970
  revert: (input: import("./httpapi/client.js").SessionRevertInput & {
971
971
  readonly directory?: string;
972
972
  readonly workspace?: string;
973
- }, options?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<import("./httpapi/client.js").Session>>;
973
+ }, options?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<import("./httpapi/client.js").Session2>>;
974
974
  share: (input: import("./httpapi/client.js").SessionShareInput & {
975
975
  readonly directory?: string;
976
976
  readonly workspace?: string;
977
- }, options?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<import("./httpapi/client.js").Session>>;
977
+ }, options?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<import("./httpapi/client.js").Session2>>;
978
978
  shell: (input: import("./httpapi/client.js").SessionShellInput & {
979
979
  readonly directory?: string;
980
980
  readonly workspace?: string;
@@ -991,15 +991,15 @@ export declare function createNikcli(options?: ServerOptions): Promise<{
991
991
  unrevert: (input: import("./httpapi/client.js").SessionUnrevertInput & {
992
992
  readonly directory?: string;
993
993
  readonly workspace?: string;
994
- }, options?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<import("./httpapi/client.js").Session>>;
994
+ }, options?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<import("./httpapi/client.js").Session2>>;
995
995
  unshare: (input: import("./httpapi/client.js").SessionUnshareInput & {
996
996
  readonly directory?: string;
997
997
  readonly workspace?: string;
998
- }, options?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<import("./httpapi/client.js").Session>>;
998
+ }, options?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<import("./httpapi/client.js").Session2>>;
999
999
  update: (input: import("./httpapi/client.js").SessionUpdateInput & {
1000
1000
  readonly directory?: string;
1001
1001
  readonly workspace?: string;
1002
- }, options?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<import("./httpapi/client.js").Session>>;
1002
+ }, options?: import("./httpapi/compat.js").CallOptions) => Promise<import("./httpapi/compat.js").Result<import("./httpapi/client.js").Session2>>;
1003
1003
  v2: {
1004
1004
  entries: (input: import("./httpapi/client.js").SessionV2EntriesInput & {
1005
1005
  readonly directory?: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "@nikcli-ai/sdk",
4
- "version": "1.286.0",
4
+ "version": "1.288.0",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "scripts": {