@nextclaw/server 0.15.24 → 0.15.26

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/index.d.ts CHANGED
@@ -1,7 +1,8 @@
1
1
  import * as _$hono from "hono";
2
2
  import { Context, Hono } from "hono";
3
3
  import * as _$_nextclaw_kernel0 from "@nextclaw/kernel";
4
- import { AccessManager, InboxDeliveryManager, NextclawKernel, PanelAppAgentCapability, PanelAppAgentGenerateObjectRequest, PanelAppAgentGenerateObjectResult, PanelAppAgentSendRequest, PanelAppAgentSendResult, PanelAppBridgeSession, PanelAppCapabilityGrant, PanelAppClientGrant, PanelAppEntry, PanelAppList, PanelAppManager, PanelAppPreferencesUpdate, PreferenceJsonValue, PreferenceManager, ProjectRecord, ProjectTemplate, ProjectTemplateId, ServiceAction, ServiceActionGrant, ServiceActionInvokeResult, ServiceAppDeleteResult, ServiceAppList, ServiceAppManager, ServiceAppRecord } from "@nextclaw/kernel";
4
+ import { AccessManager, AppPackageList, AppPackageManager, AppPackageOperationInput, AppPackageOperationList, AppPackageOperationStatus, AppPackageOperationView, AppPackageView, InboxDeliveryManager, NextclawKernel, PanelAppAgentCapability, PanelAppAgentGenerateObjectRequest, PanelAppAgentGenerateObjectResult, PanelAppAgentSendRequest, PanelAppAgentSendResult, PanelAppBridgeSession, PanelAppCapabilityGrant, PanelAppClientGrant, PanelAppEntry, PanelAppList, PanelAppManager, PanelAppPreferencesUpdate, PreferenceJsonValue, PreferenceManager, ProjectRecord, ProjectTemplate, ProjectTemplateId, ServiceAction, ServiceActionGrant, ServiceActionInvokeResult, ServiceAppDeleteResult, ServiceAppList, ServiceAppManager, ServiceAppRecord } from "@nextclaw/kernel";
5
+ import { FSWatcher } from "node:fs";
5
6
  import * as NextclawCore from "@nextclaw/core";
6
7
  import { Config, ConfigActionExecuteRequest as ConfigActionExecuteRequest$1, ConfigActionExecuteResult as ConfigActionExecuteResult$1, ExtensionChannelBinding, ExtensionUiMetadata, ModelThinkingCapability, ThinkingLevel } from "@nextclaw/core";
7
8
  import { NcpMessage, NcpSessionApi, NcpSessionMessagePageInfo, NcpSessionStatus, NcpSessionSummary } from "@nextclaw/ncp";
@@ -488,6 +489,9 @@ declare class PanelAppsRoutesController {
488
489
  clientGranted: boolean;
489
490
  lastOpenedAt?: string | undefined;
490
491
  openCount: number;
492
+ sourceKind: "workspace" | "package";
493
+ packageId?: string | undefined;
494
+ packageVersion?: string | undefined;
491
495
  }[];
492
496
  };
493
497
  }, _$hono_utils_http_status0.ContentfulStatusCode, "json">>;
@@ -510,6 +514,9 @@ declare class PanelAppsRoutesController {
510
514
  clientGranted: boolean;
511
515
  lastOpenedAt?: string | undefined;
512
516
  openCount: number;
517
+ sourceKind: "workspace" | "package";
518
+ packageId?: string | undefined;
519
+ packageVersion?: string | undefined;
513
520
  };
514
521
  }, _$hono_utils_http_status0.ContentfulStatusCode, "json">) | (Response & _$hono.TypedResponse<{
515
522
  ok: boolean;
@@ -540,6 +547,9 @@ declare class PanelAppsRoutesController {
540
547
  clientGranted: boolean;
541
548
  lastOpenedAt?: string | undefined;
542
549
  openCount: number;
550
+ sourceKind: "workspace" | "package";
551
+ packageId?: string | undefined;
552
+ packageVersion?: string | undefined;
543
553
  };
544
554
  }, _$hono_utils_http_status0.ContentfulStatusCode, "json">) | (Response & _$hono.TypedResponse<{
545
555
  ok: boolean;
@@ -807,6 +817,11 @@ declare class ServiceAppsRoutesController {
807
817
  lastStartedAt?: string | undefined;
808
818
  lastReadyAt?: string | undefined;
809
819
  lastFailedAt?: string | undefined;
820
+ sourceKind?: "workspace" | "package" | undefined;
821
+ packageId?: string | undefined;
822
+ packageVersion?: string | undefined;
823
+ packageDirectory?: string | undefined;
824
+ dataDirectory?: string | undefined;
810
825
  }[];
811
826
  };
812
827
  }, _$hono_utils_http_status0.ContentfulStatusCode, "json">>;
@@ -828,6 +843,11 @@ declare class ServiceAppsRoutesController {
828
843
  lastStartedAt?: string | undefined;
829
844
  lastReadyAt?: string | undefined;
830
845
  lastFailedAt?: string | undefined;
846
+ sourceKind?: "workspace" | "package" | undefined;
847
+ packageId?: string | undefined;
848
+ packageVersion?: string | undefined;
849
+ packageDirectory?: string | undefined;
850
+ dataDirectory?: string | undefined;
831
851
  };
832
852
  }, _$hono_utils_http_status0.ContentfulStatusCode, "json">) | (Response & _$hono.TypedResponse<{
833
853
  ok: boolean;
@@ -1015,6 +1035,11 @@ declare class ServiceAppsRoutesController {
1015
1035
  lastStartedAt?: string | undefined;
1016
1036
  lastReadyAt?: string | undefined;
1017
1037
  lastFailedAt?: string | undefined;
1038
+ sourceKind?: "workspace" | "package" | undefined;
1039
+ packageId?: string | undefined;
1040
+ packageVersion?: string | undefined;
1041
+ packageDirectory?: string | undefined;
1042
+ dataDirectory?: string | undefined;
1018
1043
  };
1019
1044
  }, _$hono_utils_http_status0.ContentfulStatusCode, "json">) | (Response & _$hono.TypedResponse<{
1020
1045
  ok: boolean;
@@ -1704,6 +1729,14 @@ type ServerPathBrowseView = {
1704
1729
  entries: ServerPathEntryView[];
1705
1730
  locations: ServerPathLocationView[];
1706
1731
  };
1732
+ type ServerPathWatchRequest = {
1733
+ subscriptionId?: string | null;
1734
+ directories: string[];
1735
+ };
1736
+ type ServerPathWatchView = {
1737
+ subscriptionId: string;
1738
+ watchedDirectories: string[];
1739
+ };
1707
1740
  type ServerPathSearchEntryView = {
1708
1741
  name: string;
1709
1742
  path: string;
@@ -2258,7 +2291,7 @@ type UiExtensionHost = {
2258
2291
  getRuntimeStatus?: () => ReturnType<NextclawKernel["extensions"]["getRuntimeStatus"]>;
2259
2292
  getUiMetadata: () => ExtensionUiMetadata[];
2260
2293
  };
2261
- type UiKernelHost = Pick<NextclawKernel, "assetStore" | "eventBus" | "ingress" | "inboxDeliveryManager" | "isSessionRunning" | "listSessionTypes" | "agentRunRequestManager" | "agentContextWindowManager" | "llmProviders" | "providerModelCatalog" | "sessionManager" | "sessionRunManager" | "panelAppManager" | "preferenceManager" | "projectManager" | "serviceAppManager" | "sessionContextCompactionManager"> & {
2294
+ type UiKernelHost = Pick<NextclawKernel, "assetStore" | "eventBus" | "ingress" | "inboxDeliveryManager" | "systemObjectReferenceManager" | "isSessionRunning" | "listSessionTypes" | "agentRunRequestManager" | "agentContextWindowManager" | "appPackageManager" | "llmProviders" | "providerModelCatalog" | "sessionManager" | "sessionRunManager" | "panelAppManager" | "preferenceManager" | "projectManager" | "serviceAppManager" | "sessionContextCompactionManager"> & {
2262
2295
  accessManager?: NextclawKernel["accessManager"];
2263
2296
  };
2264
2297
  type UiCronHost = {
@@ -2355,8 +2388,38 @@ type UiServerHandle = {
2355
2388
  };
2356
2389
  declare function startUiServer(gateway: UiRouterOptions): Promise<UiServerHandle>;
2357
2390
  //#endregion
2391
+ //#region src/features/server-path/services/server-path-watch.service.d.ts
2392
+ type WatchFactory = (path: string, listener: () => void) => FSWatcher;
2393
+ declare class ServerPathWatchService {
2394
+ private readonly eventBus;
2395
+ private readonly options;
2396
+ private readonly watchers;
2397
+ private readonly subscriptions;
2398
+ constructor(eventBus: Pick<EventBus, 'emit'>, options?: {
2399
+ debounceMs?: number;
2400
+ leaseMs?: number;
2401
+ watchFactory?: WatchFactory;
2402
+ });
2403
+ readonly subscribe: (params: {
2404
+ subscriptionId?: string | null;
2405
+ directories: readonly string[];
2406
+ }) => Promise<{
2407
+ subscriptionId: string;
2408
+ watchedDirectories: string[];
2409
+ }>;
2410
+ readonly unsubscribe: (subscriptionId: string) => void;
2411
+ readonly close: () => void;
2412
+ private readonly resolveDirectory;
2413
+ private readonly retainDirectory;
2414
+ private readonly releaseDirectory;
2415
+ private readonly closeDirectory;
2416
+ private readonly scheduleDirectoryChanged;
2417
+ }
2418
+ //#endregion
2358
2419
  //#region src/app/router.d.ts
2359
- declare function createUiRouter(options: UiRouterOptions, authServiceOverride?: UiAuthService): Hono;
2420
+ declare function createUiRouter(options: UiRouterOptions, authServiceOverride?: UiAuthService, internal?: {
2421
+ serverPathWatchService?: ServerPathWatchService;
2422
+ }): Hono;
2360
2423
  //#endregion
2361
2424
  //#region src/features/config/controllers/config.controller.d.ts
2362
2425
  declare class ConfigRoutesController {
@@ -3470,6 +3533,585 @@ declare function updateChannel(configPath: string, channelName: string, patch: R
3470
3533
  declare function updateRuntime(configPath: string, patch: RuntimeConfigUpdate): Pick<ConfigView, "companion" | "agents" | "bindings" | "session">;
3471
3534
  declare function updateSecrets(configPath: string, patch: SecretsConfigUpdate): SecretsView;
3472
3535
  //#endregion
3536
+ //#region ../nextclaw-app-runtime/dist/types/app-manifest.types.d.ts
3537
+ //#region src/types/app-manifest.types.d.ts
3538
+ type AppDocumentAccessMode = "read" | "read-write";
3539
+ type AppComponentKind = "panel" | "service";
3540
+ //#endregion
3541
+ //#region ../nextclaw-app-runtime/dist/types/app-bundle.types.d.ts
3542
+ //#region src/types/app-bundle.types.d.ts
3543
+ type AppDistributionMode = "bundle" | "source";
3544
+ //#endregion
3545
+ //#region ../nextclaw-app-runtime/dist/types/app-registry.types.d.ts
3546
+ //#region src/types/app-registry.types.d.ts
3547
+ type AppInstallSourceKind = "bundle" | "directory" | "registry";
3548
+ //#endregion
3549
+ //#region src/features/app-packages/controllers/app-packages.controller.d.ts
3550
+ declare class AppPackagesRoutesController {
3551
+ private readonly manager;
3552
+ constructor(manager: AppPackageManager);
3553
+ readonly list: (c: Context) => Promise<Response & _$hono.TypedResponse<{
3554
+ ok: boolean;
3555
+ data: {
3556
+ entries: {
3557
+ id: string;
3558
+ name: string;
3559
+ description?: string | undefined;
3560
+ icon?: string | undefined;
3561
+ nameI18n?: {
3562
+ [x: string]: string;
3563
+ } | undefined;
3564
+ descriptionI18n?: {
3565
+ [x: string]: string;
3566
+ } | undefined;
3567
+ activeVersion: string;
3568
+ installedVersions: string[];
3569
+ enabled: boolean;
3570
+ builtIn: boolean;
3571
+ primaryPanelId?: string | undefined;
3572
+ components: {
3573
+ kind: _$_nextclaw_kernel0.AppPackageComponentKind;
3574
+ id: string;
3575
+ packageId: string;
3576
+ packageVersion: string;
3577
+ sourcePath: string;
3578
+ manifestPath: string;
3579
+ dataDirectory: string;
3580
+ title?: string | undefined;
3581
+ description?: string | undefined;
3582
+ icon?: string | undefined;
3583
+ titleI18n?: {
3584
+ [x: string]: string;
3585
+ } | undefined;
3586
+ descriptionI18n?: {
3587
+ [x: string]: string;
3588
+ } | undefined;
3589
+ }[];
3590
+ dataDirectory: string;
3591
+ }[];
3592
+ };
3593
+ }, _$hono_utils_http_status0.ContentfulStatusCode, "json">>;
3594
+ readonly listOperations: (c: Context) => Promise<Response & _$hono.TypedResponse<{
3595
+ ok: boolean;
3596
+ data: {
3597
+ entries: {
3598
+ id: string;
3599
+ action: _$_nextclaw_kernel0.AppPackageOperationAction;
3600
+ appId?: string | undefined;
3601
+ source?: string | undefined;
3602
+ targetVersion?: string | undefined;
3603
+ status: _$_nextclaw_kernel0.AppPackageOperationStatus;
3604
+ completedSteps: number;
3605
+ totalSteps: number;
3606
+ createdAt: string;
3607
+ updatedAt: string;
3608
+ completedAt?: string | undefined;
3609
+ error?: string | undefined;
3610
+ result?: {
3611
+ appId: string;
3612
+ activeVersion?: string | undefined;
3613
+ changed?: boolean | undefined;
3614
+ removedVersions?: string[] | undefined;
3615
+ dataRemoved?: boolean | undefined;
3616
+ } | undefined;
3617
+ }[];
3618
+ };
3619
+ }, _$hono_utils_http_status0.ContentfulStatusCode, "json">>;
3620
+ readonly startInstallOperation: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
3621
+ ok: boolean;
3622
+ data: {
3623
+ id: string;
3624
+ action: _$_nextclaw_kernel0.AppPackageOperationAction;
3625
+ appId?: string | undefined;
3626
+ source?: string | undefined;
3627
+ targetVersion?: string | undefined;
3628
+ status: _$_nextclaw_kernel0.AppPackageOperationStatus;
3629
+ completedSteps: number;
3630
+ totalSteps: number;
3631
+ createdAt: string;
3632
+ updatedAt: string;
3633
+ completedAt?: string | undefined;
3634
+ error?: string | undefined;
3635
+ result?: {
3636
+ appId: string;
3637
+ activeVersion?: string | undefined;
3638
+ changed?: boolean | undefined;
3639
+ removedVersions?: string[] | undefined;
3640
+ dataRemoved?: boolean | undefined;
3641
+ } | undefined;
3642
+ };
3643
+ }, 202, "json">) | (Response & _$hono.TypedResponse<{
3644
+ ok: boolean;
3645
+ error: {
3646
+ code: string;
3647
+ message: string;
3648
+ details: {
3649
+ [x: string]: _$hono_utils_types0.JSONValue;
3650
+ } | undefined;
3651
+ };
3652
+ }, 400 | 404 | 409, "json">)>;
3653
+ readonly startUpdateOperation: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
3654
+ ok: boolean;
3655
+ data: {
3656
+ id: string;
3657
+ action: _$_nextclaw_kernel0.AppPackageOperationAction;
3658
+ appId?: string | undefined;
3659
+ source?: string | undefined;
3660
+ targetVersion?: string | undefined;
3661
+ status: _$_nextclaw_kernel0.AppPackageOperationStatus;
3662
+ completedSteps: number;
3663
+ totalSteps: number;
3664
+ createdAt: string;
3665
+ updatedAt: string;
3666
+ completedAt?: string | undefined;
3667
+ error?: string | undefined;
3668
+ result?: {
3669
+ appId: string;
3670
+ activeVersion?: string | undefined;
3671
+ changed?: boolean | undefined;
3672
+ removedVersions?: string[] | undefined;
3673
+ dataRemoved?: boolean | undefined;
3674
+ } | undefined;
3675
+ };
3676
+ }, 202, "json">) | (Response & _$hono.TypedResponse<{
3677
+ ok: boolean;
3678
+ error: {
3679
+ code: string;
3680
+ message: string;
3681
+ details: {
3682
+ [x: string]: _$hono_utils_types0.JSONValue;
3683
+ } | undefined;
3684
+ };
3685
+ }, 400 | 404 | 409, "json">)>;
3686
+ readonly startRollbackOperation: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
3687
+ ok: boolean;
3688
+ data: {
3689
+ id: string;
3690
+ action: _$_nextclaw_kernel0.AppPackageOperationAction;
3691
+ appId?: string | undefined;
3692
+ source?: string | undefined;
3693
+ targetVersion?: string | undefined;
3694
+ status: _$_nextclaw_kernel0.AppPackageOperationStatus;
3695
+ completedSteps: number;
3696
+ totalSteps: number;
3697
+ createdAt: string;
3698
+ updatedAt: string;
3699
+ completedAt?: string | undefined;
3700
+ error?: string | undefined;
3701
+ result?: {
3702
+ appId: string;
3703
+ activeVersion?: string | undefined;
3704
+ changed?: boolean | undefined;
3705
+ removedVersions?: string[] | undefined;
3706
+ dataRemoved?: boolean | undefined;
3707
+ } | undefined;
3708
+ };
3709
+ }, 202, "json">) | (Response & _$hono.TypedResponse<{
3710
+ ok: boolean;
3711
+ error: {
3712
+ code: string;
3713
+ message: string;
3714
+ details: {
3715
+ [x: string]: _$hono_utils_types0.JSONValue;
3716
+ } | undefined;
3717
+ };
3718
+ }, 400 | 404 | 409, "json">)>;
3719
+ readonly startUninstallOperation: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
3720
+ ok: boolean;
3721
+ data: {
3722
+ id: string;
3723
+ action: _$_nextclaw_kernel0.AppPackageOperationAction;
3724
+ appId?: string | undefined;
3725
+ source?: string | undefined;
3726
+ targetVersion?: string | undefined;
3727
+ status: _$_nextclaw_kernel0.AppPackageOperationStatus;
3728
+ completedSteps: number;
3729
+ totalSteps: number;
3730
+ createdAt: string;
3731
+ updatedAt: string;
3732
+ completedAt?: string | undefined;
3733
+ error?: string | undefined;
3734
+ result?: {
3735
+ appId: string;
3736
+ activeVersion?: string | undefined;
3737
+ changed?: boolean | undefined;
3738
+ removedVersions?: string[] | undefined;
3739
+ dataRemoved?: boolean | undefined;
3740
+ } | undefined;
3741
+ };
3742
+ }, 202, "json">) | (Response & _$hono.TypedResponse<{
3743
+ ok: boolean;
3744
+ error: {
3745
+ code: string;
3746
+ message: string;
3747
+ details: {
3748
+ [x: string]: _$hono_utils_types0.JSONValue;
3749
+ } | undefined;
3750
+ };
3751
+ }, 400 | 404 | 409, "json">)>;
3752
+ readonly get: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
3753
+ ok: boolean;
3754
+ error: {
3755
+ code: string;
3756
+ message: string;
3757
+ details: {
3758
+ [x: string]: _$hono_utils_types0.JSONValue;
3759
+ } | undefined;
3760
+ };
3761
+ }, 400 | 404 | 409, "json">) | (Response & _$hono.TypedResponse<{
3762
+ ok: boolean;
3763
+ data: {
3764
+ id: string;
3765
+ name: string;
3766
+ description?: string | undefined;
3767
+ icon?: string | undefined;
3768
+ nameI18n?: {
3769
+ [x: string]: string;
3770
+ } | undefined;
3771
+ descriptionI18n?: {
3772
+ [x: string]: string;
3773
+ } | undefined;
3774
+ activeVersion: string;
3775
+ installedVersions: string[];
3776
+ enabled: boolean;
3777
+ builtIn: boolean;
3778
+ primaryPanelId?: string | undefined;
3779
+ components: {
3780
+ kind: _$_nextclaw_kernel0.AppPackageComponentKind;
3781
+ id: string;
3782
+ packageId: string;
3783
+ packageVersion: string;
3784
+ sourcePath: string;
3785
+ manifestPath: string;
3786
+ dataDirectory: string;
3787
+ title?: string | undefined;
3788
+ description?: string | undefined;
3789
+ icon?: string | undefined;
3790
+ titleI18n?: {
3791
+ [x: string]: string;
3792
+ } | undefined;
3793
+ descriptionI18n?: {
3794
+ [x: string]: string;
3795
+ } | undefined;
3796
+ }[];
3797
+ dataDirectory: string;
3798
+ };
3799
+ }, _$hono_utils_http_status0.ContentfulStatusCode, "json">)>;
3800
+ readonly install: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
3801
+ ok: boolean;
3802
+ error: {
3803
+ code: string;
3804
+ message: string;
3805
+ details: {
3806
+ [x: string]: _$hono_utils_types0.JSONValue;
3807
+ } | undefined;
3808
+ };
3809
+ }, 400 | 404 | 409, "json">) | (Response & _$hono.TypedResponse<{
3810
+ ok: boolean;
3811
+ data: {
3812
+ id: string;
3813
+ name: string;
3814
+ description?: string | undefined;
3815
+ icon?: string | undefined;
3816
+ nameI18n?: {
3817
+ [x: string]: string;
3818
+ } | undefined;
3819
+ descriptionI18n?: {
3820
+ [x: string]: string;
3821
+ } | undefined;
3822
+ activeVersion: string;
3823
+ installedVersions: string[];
3824
+ enabled: boolean;
3825
+ builtIn: boolean;
3826
+ primaryPanelId?: string | undefined;
3827
+ components: {
3828
+ kind: _$_nextclaw_kernel0.AppPackageComponentKind;
3829
+ id: string;
3830
+ packageId: string;
3831
+ packageVersion: string;
3832
+ sourcePath: string;
3833
+ manifestPath: string;
3834
+ dataDirectory: string;
3835
+ title?: string | undefined;
3836
+ description?: string | undefined;
3837
+ icon?: string | undefined;
3838
+ titleI18n?: {
3839
+ [x: string]: string;
3840
+ } | undefined;
3841
+ descriptionI18n?: {
3842
+ [x: string]: string;
3843
+ } | undefined;
3844
+ }[];
3845
+ dataDirectory: string;
3846
+ };
3847
+ }, _$hono_utils_http_status0.ContentfulStatusCode, "json">)>;
3848
+ readonly enable: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
3849
+ ok: boolean;
3850
+ error: {
3851
+ code: string;
3852
+ message: string;
3853
+ details: {
3854
+ [x: string]: _$hono_utils_types0.JSONValue;
3855
+ } | undefined;
3856
+ };
3857
+ }, 400 | 404 | 409, "json">) | (Response & _$hono.TypedResponse<{
3858
+ ok: boolean;
3859
+ data: {
3860
+ id: string;
3861
+ name: string;
3862
+ description?: string | undefined;
3863
+ icon?: string | undefined;
3864
+ nameI18n?: {
3865
+ [x: string]: string;
3866
+ } | undefined;
3867
+ descriptionI18n?: {
3868
+ [x: string]: string;
3869
+ } | undefined;
3870
+ activeVersion: string;
3871
+ installedVersions: string[];
3872
+ enabled: boolean;
3873
+ builtIn: boolean;
3874
+ primaryPanelId?: string | undefined;
3875
+ components: {
3876
+ kind: _$_nextclaw_kernel0.AppPackageComponentKind;
3877
+ id: string;
3878
+ packageId: string;
3879
+ packageVersion: string;
3880
+ sourcePath: string;
3881
+ manifestPath: string;
3882
+ dataDirectory: string;
3883
+ title?: string | undefined;
3884
+ description?: string | undefined;
3885
+ icon?: string | undefined;
3886
+ titleI18n?: {
3887
+ [x: string]: string;
3888
+ } | undefined;
3889
+ descriptionI18n?: {
3890
+ [x: string]: string;
3891
+ } | undefined;
3892
+ }[];
3893
+ dataDirectory: string;
3894
+ };
3895
+ }, _$hono_utils_http_status0.ContentfulStatusCode, "json">)>;
3896
+ readonly disable: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
3897
+ ok: boolean;
3898
+ error: {
3899
+ code: string;
3900
+ message: string;
3901
+ details: {
3902
+ [x: string]: _$hono_utils_types0.JSONValue;
3903
+ } | undefined;
3904
+ };
3905
+ }, 400 | 404 | 409, "json">) | (Response & _$hono.TypedResponse<{
3906
+ ok: boolean;
3907
+ data: {
3908
+ id: string;
3909
+ name: string;
3910
+ description?: string | undefined;
3911
+ icon?: string | undefined;
3912
+ nameI18n?: {
3913
+ [x: string]: string;
3914
+ } | undefined;
3915
+ descriptionI18n?: {
3916
+ [x: string]: string;
3917
+ } | undefined;
3918
+ activeVersion: string;
3919
+ installedVersions: string[];
3920
+ enabled: boolean;
3921
+ builtIn: boolean;
3922
+ primaryPanelId?: string | undefined;
3923
+ components: {
3924
+ kind: _$_nextclaw_kernel0.AppPackageComponentKind;
3925
+ id: string;
3926
+ packageId: string;
3927
+ packageVersion: string;
3928
+ sourcePath: string;
3929
+ manifestPath: string;
3930
+ dataDirectory: string;
3931
+ title?: string | undefined;
3932
+ description?: string | undefined;
3933
+ icon?: string | undefined;
3934
+ titleI18n?: {
3935
+ [x: string]: string;
3936
+ } | undefined;
3937
+ descriptionI18n?: {
3938
+ [x: string]: string;
3939
+ } | undefined;
3940
+ }[];
3941
+ dataDirectory: string;
3942
+ };
3943
+ }, _$hono_utils_http_status0.ContentfulStatusCode, "json">)>;
3944
+ readonly update: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
3945
+ ok: boolean;
3946
+ error: {
3947
+ code: string;
3948
+ message: string;
3949
+ details: {
3950
+ [x: string]: _$hono_utils_types0.JSONValue;
3951
+ } | undefined;
3952
+ };
3953
+ }, 400 | 404 | 409, "json">) | (Response & _$hono.TypedResponse<{
3954
+ ok: boolean;
3955
+ data: {
3956
+ package: {
3957
+ id: string;
3958
+ name: string;
3959
+ description?: string | undefined;
3960
+ icon?: string | undefined;
3961
+ nameI18n?: {
3962
+ [x: string]: string;
3963
+ } | undefined;
3964
+ descriptionI18n?: {
3965
+ [x: string]: string;
3966
+ } | undefined;
3967
+ activeVersion: string;
3968
+ installedVersions: string[];
3969
+ enabled: boolean;
3970
+ builtIn: boolean;
3971
+ primaryPanelId?: string | undefined;
3972
+ components: {
3973
+ kind: _$_nextclaw_kernel0.AppPackageComponentKind;
3974
+ id: string;
3975
+ packageId: string;
3976
+ packageVersion: string;
3977
+ sourcePath: string;
3978
+ manifestPath: string;
3979
+ dataDirectory: string;
3980
+ title?: string | undefined;
3981
+ description?: string | undefined;
3982
+ icon?: string | undefined;
3983
+ titleI18n?: {
3984
+ [x: string]: string;
3985
+ } | undefined;
3986
+ descriptionI18n?: {
3987
+ [x: string]: string;
3988
+ } | undefined;
3989
+ }[];
3990
+ dataDirectory: string;
3991
+ };
3992
+ result: {
3993
+ appId: string;
3994
+ name: string;
3995
+ version: string;
3996
+ installDirectory: string;
3997
+ dataDirectory: string;
3998
+ sourceKind: AppInstallSourceKind;
3999
+ distributionMode?: AppDistributionMode | undefined;
4000
+ sourceRef: string;
4001
+ permissions: {
4002
+ documentAccess?: {
4003
+ id: string;
4004
+ mode: AppDocumentAccessMode;
4005
+ description?: string | undefined;
4006
+ }[] | undefined;
4007
+ allowedDomains?: string[] | undefined;
4008
+ storage?: boolean | {
4009
+ namespace?: string | undefined;
4010
+ } | undefined;
4011
+ capabilities?: {
4012
+ hostBridge?: boolean | undefined;
4013
+ } | undefined;
4014
+ };
4015
+ registryUrl?: string | undefined;
4016
+ bundleUrl?: string | undefined;
4017
+ sha256?: string | undefined;
4018
+ publisher?: {
4019
+ id: string;
4020
+ name: string;
4021
+ url?: string | undefined;
4022
+ } | undefined;
4023
+ enabled: boolean;
4024
+ manifestSchemaVersion: 1 | 2;
4025
+ components?: {
4026
+ kind: AppComponentKind;
4027
+ path: string;
4028
+ id: string;
4029
+ componentDirectory: string;
4030
+ manifestPath: string;
4031
+ }[] | undefined;
4032
+ primaryPanelId?: string | undefined;
4033
+ previousVersion: string;
4034
+ updated: boolean;
4035
+ };
4036
+ };
4037
+ }, _$hono_utils_http_status0.ContentfulStatusCode, "json">)>;
4038
+ readonly rollback: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
4039
+ ok: boolean;
4040
+ error: {
4041
+ code: string;
4042
+ message: string;
4043
+ details: {
4044
+ [x: string]: _$hono_utils_types0.JSONValue;
4045
+ } | undefined;
4046
+ };
4047
+ }, 400 | 404 | 409, "json">) | (Response & _$hono.TypedResponse<{
4048
+ ok: boolean;
4049
+ data: {
4050
+ package: {
4051
+ id: string;
4052
+ name: string;
4053
+ description?: string | undefined;
4054
+ icon?: string | undefined;
4055
+ nameI18n?: {
4056
+ [x: string]: string;
4057
+ } | undefined;
4058
+ descriptionI18n?: {
4059
+ [x: string]: string;
4060
+ } | undefined;
4061
+ activeVersion: string;
4062
+ installedVersions: string[];
4063
+ enabled: boolean;
4064
+ builtIn: boolean;
4065
+ primaryPanelId?: string | undefined;
4066
+ components: {
4067
+ kind: _$_nextclaw_kernel0.AppPackageComponentKind;
4068
+ id: string;
4069
+ packageId: string;
4070
+ packageVersion: string;
4071
+ sourcePath: string;
4072
+ manifestPath: string;
4073
+ dataDirectory: string;
4074
+ title?: string | undefined;
4075
+ description?: string | undefined;
4076
+ icon?: string | undefined;
4077
+ titleI18n?: {
4078
+ [x: string]: string;
4079
+ } | undefined;
4080
+ descriptionI18n?: {
4081
+ [x: string]: string;
4082
+ } | undefined;
4083
+ }[];
4084
+ dataDirectory: string;
4085
+ };
4086
+ result: {
4087
+ appId: string;
4088
+ activeVersion: string;
4089
+ enabled: boolean;
4090
+ previousVersion: string;
4091
+ rolledBack: boolean;
4092
+ };
4093
+ };
4094
+ }, _$hono_utils_http_status0.ContentfulStatusCode, "json">)>;
4095
+ readonly uninstall: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
4096
+ ok: boolean;
4097
+ error: {
4098
+ code: string;
4099
+ message: string;
4100
+ details: {
4101
+ [x: string]: _$hono_utils_types0.JSONValue;
4102
+ } | undefined;
4103
+ };
4104
+ }, 400 | 404 | 409, "json">) | (Response & _$hono.TypedResponse<{
4105
+ ok: boolean;
4106
+ data: {
4107
+ appId: string;
4108
+ removedVersions: string[];
4109
+ dataRemoved: boolean;
4110
+ };
4111
+ }, _$hono_utils_http_status0.ContentfulStatusCode, "json">)>;
4112
+ private handleError;
4113
+ }
4114
+ //#endregion
3473
4115
  //#region src/features/inbox-deliveries/controllers/inbox-deliveries.controller.d.ts
3474
4116
  declare class InboxDeliveriesRoutesController {
3475
4117
  private readonly manager;
@@ -3495,7 +4137,6 @@ declare class InboxDeliveriesRoutesController {
3495
4137
  presentedAt: string | null;
3496
4138
  readAt: string | null;
3497
4139
  archivedAt: string | null;
3498
- conversationSessionId: string | null;
3499
4140
  }[];
3500
4141
  total: number;
3501
4142
  unreadCount: number;
@@ -3531,7 +4172,6 @@ declare class InboxDeliveriesRoutesController {
3531
4172
  presentedAt: string | null;
3532
4173
  readAt: string | null;
3533
4174
  archivedAt: string | null;
3534
- conversationSessionId: string | null;
3535
4175
  };
3536
4176
  }, _$hono_utils_http_status0.ContentfulStatusCode, "json">)>;
3537
4177
  readonly updateState: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
@@ -3563,21 +4203,8 @@ declare class InboxDeliveriesRoutesController {
3563
4203
  deliveryId: string;
3564
4204
  };
3565
4205
  }, _$hono_utils_http_status0.ContentfulStatusCode, "json">)>;
3566
- readonly continueInChat: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
3567
- ok: boolean;
3568
- data: _$hono_utils_types0.JSONValue;
3569
- }, _$hono_utils_http_status0.ContentfulStatusCode, "json">) | (Response & _$hono.TypedResponse<{
3570
- ok: boolean;
3571
- error: {
3572
- code: string;
3573
- message: string;
3574
- details: {
3575
- [x: string]: _$hono_utils_types0.JSONValue;
3576
- } | undefined;
3577
- };
3578
- }, 400 | 404, "json">)>;
3579
4206
  private handleManagerAction;
3580
4207
  }
3581
4208
  //#endregion
3582
- export { AgentBindingView, type AgentCreateRequest, type AgentDeleteResult, type AgentProfileView, type AgentUpdateRequest, ApiError, ApiResponse, AppMetaView, AuthEnabledUpdateRequest, AuthLoginRequest, AuthPasswordUpdateRequest, AuthSetupRequest, AuthStatusView, BindingPeerView, BochaFreshnessValue, BootstrapPhase, BootstrapRemoteState, BootstrapStageState, BootstrapStatusView, ChannelAuthConnectRequest, ChannelAuthConnectResult, ChannelAuthPollRequest, ChannelAuthPollResult, ChannelAuthStartRequest, ChannelAuthStartResult, ChannelSpecView, type ChatSessionTypeCtaView, type ChatSessionTypeOptionView, type ChatSessionTypesView, ConfigActionExecuteRequest, ConfigActionExecuteResult, ConfigActionManifest, ConfigActionType, ConfigMetaView, ConfigRoutesController, ConfigSchemaResponse, ConfigUiHint, ConfigUiHints, ConfigView, CronActionResult, CronCreateRequest, CronCreateResult, CronEnableRequest, CronJobStateView, CronJobView, CronListQuery, CronListStatus, CronListSummaryView, CronListView, CronPayloadView, CronRunRequest, CronScheduleView, InboxDeliveriesRoutesController, MarketplaceApiConfig, MarketplaceInstallKind, MarketplaceInstallRequest, MarketplaceInstallResult, MarketplaceInstallSkillParams, MarketplaceInstallSpec, MarketplaceInstalledRecord, MarketplaceInstalledView, MarketplaceInstaller, MarketplaceItemSummary, MarketplaceItemType, MarketplaceItemView, MarketplaceListView, MarketplaceLocalizedTextMap, MarketplaceManageAction, MarketplaceManageRequest, MarketplaceManageResult, MarketplaceMcpContentView, MarketplaceMcpDoctorResult, MarketplaceMcpInstallKind, MarketplaceMcpInstallRequest, MarketplaceMcpInstallResult, MarketplaceMcpInstallSpec, MarketplaceMcpManageAction, MarketplaceMcpManageRequest, MarketplaceMcpManageResult, MarketplaceMcpTemplateInput, MarketplaceRecommendationView, MarketplaceSceneView, MarketplaceScenesView, MarketplaceSkillContentView, MarketplaceSkillInstallKind, MarketplaceSkillInstallRequest, MarketplaceSkillInstallResult, MarketplaceSkillManageAction, MarketplaceSkillManageRequest, MarketplaceSkillManageResult, MarketplaceSort, NcpAssetRoutesController, NcpSessionContextCompactionView, NcpSessionSkillsView, PanelAppAgentCapabilityView, PanelAppAgentGenerateObjectRequestView, PanelAppAgentGenerateObjectResultView, PanelAppAgentSendRequestView, PanelAppAgentSendResultView, PanelAppBridgeSessionCreateRequest, PanelAppBridgeSessionView, PanelAppCapabilityGrantView, PanelAppClientGrantView, PanelAppDeleteResultView, PanelAppEntryView, PanelAppListView, PanelAppPreferencesUpdateView, PanelAppsRoutesController, PreferenceDeleteResult, PreferenceEntryView, PreferenceUpdateRequest, PreferencesRoutesController, type ProjectAddExistingRequest, type ProjectCreateRequest, type ProjectListView, type ProjectTemplateView, type ProjectView, ProviderAuthImportResult, ProviderAuthPollRequest, ProviderAuthPollResult, ProviderAuthStartRequest, ProviderAuthStartResult, ProviderConfigUpdate, ProviderConfigView, ProviderConnectionTestRequest, ProviderConnectionTestResult, ProviderCreateRequest, ProviderCreateResult, ProviderDeleteResult, ProviderInstanceView, ProviderModelCatalogView, ProviderModelDiscoveryRequest, ProviderModelDiscoveryResult, ProviderTemplateView, ProviderTemplatesView, ProvidersView, RemoteAccessView, RemoteAccountProfileUpdateRequest, RemoteAccountView, RemoteBrowserAuthPollRequest, RemoteBrowserAuthPollResult, RemoteBrowserAuthStartRequest, RemoteBrowserAuthStartResult, RemoteConnectionDiagnosticsView, RemoteDisconnectView, RemoteDoctorCheckView, RemoteDoctorView, RemoteLoginRequest, RemoteRuntimeView, RemoteServiceAction, RemoteServiceActionResult, RemoteServiceView, RemoteSettingsUpdateRequest, RemoteSettingsView, RuntimeActionCapability, RuntimeActionImpact, RuntimeConfigUpdate, RuntimeControlAction, RuntimeControlActionResult, RuntimeControlEnvironment, RuntimeControlRoutesController, RuntimeControlView, RuntimeEntryView, RuntimeLifecycleState, RuntimePendingRestart, RuntimeServiceState, SearchConfigUpdate, SearchConfigView, SearchProviderConfigView, SearchProviderName, SearchProviderSpecView, SecretProviderEnvView, SecretProviderExecView, SecretProviderFileView, SecretProviderView, SecretRefView, SecretSourceView, SecretsConfigUpdate, SecretsView, ServerPathBreadcrumbView, ServerPathBrowseView, ServerPathDirectoryCreateRequest, ServerPathDirectoryCreateView, ServerPathEntryDeleteView, ServerPathEntryRenameRequest, ServerPathEntryRenameView, ServerPathEntryView, ServerPathFileCreateRequest, ServerPathFileCreateView, ServerPathFilesUploadView, ServerPathLocationView, ServerPathReadView, ServerPathSearchEntryView, ServerPathSearchView, ServiceActionGrantBatchRequestView, ServiceActionGrantListView, ServiceActionGrantView, ServiceActionInvokeRequestView, ServiceActionInvokeResultView, ServiceActionListView, ServiceActionView, ServiceAppDeleteResultView, ServiceAppListView, ServiceAppRecordView, ServiceAppsRoutesController, SessionConfigView, SessionEntryView, SessionEventView, SessionHistoryView, SessionMessageView, SessionPatchUpdate, SessionSkillEntryView, SessionTypeDescribeParams, SessionsListView, TavilySearchDepthValue, UiNcpAssetPutView, UiNcpAssetService, UiNcpAssetView, UiNcpSessionListView, UiNcpSessionMessagesView, UiNcpSessionQueuedInputView, UiNcpSessionQueuedInputsView, UiNcpSessionService, UiNcpStoredAssetRecord, type UiRemoteAccessHost, type UiRouterOptions, type UiRuntimeControlHost, type UiRuntimeUpdateHost, UiServerEvent, UiServerHandle, buildConfigMeta, buildConfigSchemaView, buildConfigView, buildProviderTemplatesView, buildProvidersView, createProvider, createUiRouter, deleteProvider, ensureUiBridgeSecret, executeConfigAction, getUiBridgeSecretPath, loadConfigOrDefault, readUiBridgeSecret, startUiServer, updateChannel, updateModel, updateProvider, updateRuntime, updateSearch, updateSecrets };
4209
+ export { AgentBindingView, type AgentCreateRequest, type AgentDeleteResult, type AgentProfileView, type AgentUpdateRequest, ApiError, ApiResponse, AppMetaView, type AppPackageList, type AppPackageOperationInput, type AppPackageOperationList, type AppPackageOperationStatus, type AppPackageOperationView, type AppPackageView, AppPackagesRoutesController, AuthEnabledUpdateRequest, AuthLoginRequest, AuthPasswordUpdateRequest, AuthSetupRequest, AuthStatusView, BindingPeerView, BochaFreshnessValue, BootstrapPhase, BootstrapRemoteState, BootstrapStageState, BootstrapStatusView, ChannelAuthConnectRequest, ChannelAuthConnectResult, ChannelAuthPollRequest, ChannelAuthPollResult, ChannelAuthStartRequest, ChannelAuthStartResult, ChannelSpecView, type ChatSessionTypeCtaView, type ChatSessionTypeOptionView, type ChatSessionTypesView, ConfigActionExecuteRequest, ConfigActionExecuteResult, ConfigActionManifest, ConfigActionType, ConfigMetaView, ConfigRoutesController, ConfigSchemaResponse, ConfigUiHint, ConfigUiHints, ConfigView, CronActionResult, CronCreateRequest, CronCreateResult, CronEnableRequest, CronJobStateView, CronJobView, CronListQuery, CronListStatus, CronListSummaryView, CronListView, CronPayloadView, CronRunRequest, CronScheduleView, InboxDeliveriesRoutesController, MarketplaceApiConfig, MarketplaceInstallKind, MarketplaceInstallRequest, MarketplaceInstallResult, MarketplaceInstallSkillParams, MarketplaceInstallSpec, MarketplaceInstalledRecord, MarketplaceInstalledView, MarketplaceInstaller, MarketplaceItemSummary, MarketplaceItemType, MarketplaceItemView, MarketplaceListView, MarketplaceLocalizedTextMap, MarketplaceManageAction, MarketplaceManageRequest, MarketplaceManageResult, MarketplaceMcpContentView, MarketplaceMcpDoctorResult, MarketplaceMcpInstallKind, MarketplaceMcpInstallRequest, MarketplaceMcpInstallResult, MarketplaceMcpInstallSpec, MarketplaceMcpManageAction, MarketplaceMcpManageRequest, MarketplaceMcpManageResult, MarketplaceMcpTemplateInput, MarketplaceRecommendationView, MarketplaceSceneView, MarketplaceScenesView, MarketplaceSkillContentView, MarketplaceSkillInstallKind, MarketplaceSkillInstallRequest, MarketplaceSkillInstallResult, MarketplaceSkillManageAction, MarketplaceSkillManageRequest, MarketplaceSkillManageResult, MarketplaceSort, NcpAssetRoutesController, NcpSessionContextCompactionView, NcpSessionSkillsView, PanelAppAgentCapabilityView, PanelAppAgentGenerateObjectRequestView, PanelAppAgentGenerateObjectResultView, PanelAppAgentSendRequestView, PanelAppAgentSendResultView, PanelAppBridgeSessionCreateRequest, PanelAppBridgeSessionView, PanelAppCapabilityGrantView, PanelAppClientGrantView, PanelAppDeleteResultView, PanelAppEntryView, PanelAppListView, PanelAppPreferencesUpdateView, PanelAppsRoutesController, PreferenceDeleteResult, PreferenceEntryView, PreferenceUpdateRequest, PreferencesRoutesController, type ProjectAddExistingRequest, type ProjectCreateRequest, type ProjectListView, type ProjectTemplateView, type ProjectView, ProviderAuthImportResult, ProviderAuthPollRequest, ProviderAuthPollResult, ProviderAuthStartRequest, ProviderAuthStartResult, ProviderConfigUpdate, ProviderConfigView, ProviderConnectionTestRequest, ProviderConnectionTestResult, ProviderCreateRequest, ProviderCreateResult, ProviderDeleteResult, ProviderInstanceView, ProviderModelCatalogView, ProviderModelDiscoveryRequest, ProviderModelDiscoveryResult, ProviderTemplateView, ProviderTemplatesView, ProvidersView, RemoteAccessView, RemoteAccountProfileUpdateRequest, RemoteAccountView, RemoteBrowserAuthPollRequest, RemoteBrowserAuthPollResult, RemoteBrowserAuthStartRequest, RemoteBrowserAuthStartResult, RemoteConnectionDiagnosticsView, RemoteDisconnectView, RemoteDoctorCheckView, RemoteDoctorView, RemoteLoginRequest, RemoteRuntimeView, RemoteServiceAction, RemoteServiceActionResult, RemoteServiceView, RemoteSettingsUpdateRequest, RemoteSettingsView, RuntimeActionCapability, RuntimeActionImpact, RuntimeConfigUpdate, RuntimeControlAction, RuntimeControlActionResult, RuntimeControlEnvironment, RuntimeControlRoutesController, RuntimeControlView, RuntimeEntryView, RuntimeLifecycleState, RuntimePendingRestart, RuntimeServiceState, SearchConfigUpdate, SearchConfigView, SearchProviderConfigView, SearchProviderName, SearchProviderSpecView, SecretProviderEnvView, SecretProviderExecView, SecretProviderFileView, SecretProviderView, SecretRefView, SecretSourceView, SecretsConfigUpdate, SecretsView, ServerPathBreadcrumbView, ServerPathBrowseView, ServerPathDirectoryCreateRequest, ServerPathDirectoryCreateView, ServerPathEntryDeleteView, ServerPathEntryRenameRequest, ServerPathEntryRenameView, ServerPathEntryView, ServerPathFileCreateRequest, ServerPathFileCreateView, ServerPathFilesUploadView, ServerPathLocationView, ServerPathReadView, ServerPathSearchEntryView, ServerPathSearchView, ServerPathWatchRequest, ServerPathWatchView, ServiceActionGrantBatchRequestView, ServiceActionGrantListView, ServiceActionGrantView, ServiceActionInvokeRequestView, ServiceActionInvokeResultView, ServiceActionListView, ServiceActionView, ServiceAppDeleteResultView, ServiceAppListView, ServiceAppRecordView, ServiceAppsRoutesController, SessionConfigView, SessionEntryView, SessionEventView, SessionHistoryView, SessionMessageView, SessionPatchUpdate, SessionSkillEntryView, SessionTypeDescribeParams, SessionsListView, TavilySearchDepthValue, UiNcpAssetPutView, UiNcpAssetService, UiNcpAssetView, UiNcpSessionListView, UiNcpSessionMessagesView, UiNcpSessionQueuedInputView, UiNcpSessionQueuedInputsView, UiNcpSessionService, UiNcpStoredAssetRecord, type UiRemoteAccessHost, type UiRouterOptions, type UiRuntimeControlHost, type UiRuntimeUpdateHost, UiServerEvent, UiServerHandle, buildConfigMeta, buildConfigSchemaView, buildConfigView, buildProviderTemplatesView, buildProvidersView, createProvider, createUiRouter, deleteProvider, ensureUiBridgeSecret, executeConfigAction, getUiBridgeSecretPath, loadConfigOrDefault, readUiBridgeSecret, startUiServer, updateChannel, updateModel, updateProvider, updateRuntime, updateSearch, updateSecrets };
3583
4210
  //# sourceMappingURL=index.d.ts.map