@nextclaw/server 0.15.24 → 0.15.25
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 +451 -28
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +178 -7
- package/dist/index.js.map +1 -1
- package/package.json +6 -6
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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, 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
5
|
import * as NextclawCore from "@nextclaw/core";
|
|
6
6
|
import { Config, ConfigActionExecuteRequest as ConfigActionExecuteRequest$1, ConfigActionExecuteResult as ConfigActionExecuteResult$1, ExtensionChannelBinding, ExtensionUiMetadata, ModelThinkingCapability, ThinkingLevel } from "@nextclaw/core";
|
|
7
7
|
import { NcpMessage, NcpSessionApi, NcpSessionMessagePageInfo, NcpSessionStatus, NcpSessionSummary } from "@nextclaw/ncp";
|
|
@@ -488,6 +488,9 @@ declare class PanelAppsRoutesController {
|
|
|
488
488
|
clientGranted: boolean;
|
|
489
489
|
lastOpenedAt?: string | undefined;
|
|
490
490
|
openCount: number;
|
|
491
|
+
sourceKind: "workspace" | "package";
|
|
492
|
+
packageId?: string | undefined;
|
|
493
|
+
packageVersion?: string | undefined;
|
|
491
494
|
}[];
|
|
492
495
|
};
|
|
493
496
|
}, _$hono_utils_http_status0.ContentfulStatusCode, "json">>;
|
|
@@ -510,6 +513,9 @@ declare class PanelAppsRoutesController {
|
|
|
510
513
|
clientGranted: boolean;
|
|
511
514
|
lastOpenedAt?: string | undefined;
|
|
512
515
|
openCount: number;
|
|
516
|
+
sourceKind: "workspace" | "package";
|
|
517
|
+
packageId?: string | undefined;
|
|
518
|
+
packageVersion?: string | undefined;
|
|
513
519
|
};
|
|
514
520
|
}, _$hono_utils_http_status0.ContentfulStatusCode, "json">) | (Response & _$hono.TypedResponse<{
|
|
515
521
|
ok: boolean;
|
|
@@ -540,6 +546,9 @@ declare class PanelAppsRoutesController {
|
|
|
540
546
|
clientGranted: boolean;
|
|
541
547
|
lastOpenedAt?: string | undefined;
|
|
542
548
|
openCount: number;
|
|
549
|
+
sourceKind: "workspace" | "package";
|
|
550
|
+
packageId?: string | undefined;
|
|
551
|
+
packageVersion?: string | undefined;
|
|
543
552
|
};
|
|
544
553
|
}, _$hono_utils_http_status0.ContentfulStatusCode, "json">) | (Response & _$hono.TypedResponse<{
|
|
545
554
|
ok: boolean;
|
|
@@ -807,6 +816,11 @@ declare class ServiceAppsRoutesController {
|
|
|
807
816
|
lastStartedAt?: string | undefined;
|
|
808
817
|
lastReadyAt?: string | undefined;
|
|
809
818
|
lastFailedAt?: string | undefined;
|
|
819
|
+
sourceKind?: "workspace" | "package" | undefined;
|
|
820
|
+
packageId?: string | undefined;
|
|
821
|
+
packageVersion?: string | undefined;
|
|
822
|
+
packageDirectory?: string | undefined;
|
|
823
|
+
dataDirectory?: string | undefined;
|
|
810
824
|
}[];
|
|
811
825
|
};
|
|
812
826
|
}, _$hono_utils_http_status0.ContentfulStatusCode, "json">>;
|
|
@@ -828,6 +842,11 @@ declare class ServiceAppsRoutesController {
|
|
|
828
842
|
lastStartedAt?: string | undefined;
|
|
829
843
|
lastReadyAt?: string | undefined;
|
|
830
844
|
lastFailedAt?: string | undefined;
|
|
845
|
+
sourceKind?: "workspace" | "package" | undefined;
|
|
846
|
+
packageId?: string | undefined;
|
|
847
|
+
packageVersion?: string | undefined;
|
|
848
|
+
packageDirectory?: string | undefined;
|
|
849
|
+
dataDirectory?: string | undefined;
|
|
831
850
|
};
|
|
832
851
|
}, _$hono_utils_http_status0.ContentfulStatusCode, "json">) | (Response & _$hono.TypedResponse<{
|
|
833
852
|
ok: boolean;
|
|
@@ -1015,6 +1034,11 @@ declare class ServiceAppsRoutesController {
|
|
|
1015
1034
|
lastStartedAt?: string | undefined;
|
|
1016
1035
|
lastReadyAt?: string | undefined;
|
|
1017
1036
|
lastFailedAt?: string | undefined;
|
|
1037
|
+
sourceKind?: "workspace" | "package" | undefined;
|
|
1038
|
+
packageId?: string | undefined;
|
|
1039
|
+
packageVersion?: string | undefined;
|
|
1040
|
+
packageDirectory?: string | undefined;
|
|
1041
|
+
dataDirectory?: string | undefined;
|
|
1018
1042
|
};
|
|
1019
1043
|
}, _$hono_utils_http_status0.ContentfulStatusCode, "json">) | (Response & _$hono.TypedResponse<{
|
|
1020
1044
|
ok: boolean;
|
|
@@ -2258,7 +2282,7 @@ type UiExtensionHost = {
|
|
|
2258
2282
|
getRuntimeStatus?: () => ReturnType<NextclawKernel["extensions"]["getRuntimeStatus"]>;
|
|
2259
2283
|
getUiMetadata: () => ExtensionUiMetadata[];
|
|
2260
2284
|
};
|
|
2261
|
-
type UiKernelHost = Pick<NextclawKernel, "assetStore" | "eventBus" | "ingress" | "inboxDeliveryManager" | "isSessionRunning" | "listSessionTypes" | "agentRunRequestManager" | "agentContextWindowManager" | "llmProviders" | "providerModelCatalog" | "sessionManager" | "sessionRunManager" | "panelAppManager" | "preferenceManager" | "projectManager" | "serviceAppManager" | "sessionContextCompactionManager"> & {
|
|
2285
|
+
type UiKernelHost = Pick<NextclawKernel, "assetStore" | "eventBus" | "ingress" | "inboxDeliveryManager" | "systemObjectReferenceManager" | "isSessionRunning" | "listSessionTypes" | "agentRunRequestManager" | "agentContextWindowManager" | "appPackageManager" | "llmProviders" | "providerModelCatalog" | "sessionManager" | "sessionRunManager" | "panelAppManager" | "preferenceManager" | "projectManager" | "serviceAppManager" | "sessionContextCompactionManager"> & {
|
|
2262
2286
|
accessManager?: NextclawKernel["accessManager"];
|
|
2263
2287
|
};
|
|
2264
2288
|
type UiCronHost = {
|
|
@@ -3470,6 +3494,420 @@ declare function updateChannel(configPath: string, channelName: string, patch: R
|
|
|
3470
3494
|
declare function updateRuntime(configPath: string, patch: RuntimeConfigUpdate): Pick<ConfigView, "companion" | "agents" | "bindings" | "session">;
|
|
3471
3495
|
declare function updateSecrets(configPath: string, patch: SecretsConfigUpdate): SecretsView;
|
|
3472
3496
|
//#endregion
|
|
3497
|
+
//#region ../nextclaw-app-runtime/dist/types/app-manifest.types.d.ts
|
|
3498
|
+
//#region src/types/app-manifest.types.d.ts
|
|
3499
|
+
type AppDocumentAccessMode = "read" | "read-write";
|
|
3500
|
+
type AppComponentKind = "panel" | "service";
|
|
3501
|
+
//#endregion
|
|
3502
|
+
//#region ../nextclaw-app-runtime/dist/types/app-bundle.types.d.ts
|
|
3503
|
+
//#region src/types/app-bundle.types.d.ts
|
|
3504
|
+
type AppDistributionMode = "bundle" | "source";
|
|
3505
|
+
//#endregion
|
|
3506
|
+
//#region ../nextclaw-app-runtime/dist/types/app-registry.types.d.ts
|
|
3507
|
+
//#region src/types/app-registry.types.d.ts
|
|
3508
|
+
type AppInstallSourceKind = "bundle" | "directory" | "registry";
|
|
3509
|
+
//#endregion
|
|
3510
|
+
//#region src/features/app-packages/controllers/app-packages.controller.d.ts
|
|
3511
|
+
declare class AppPackagesRoutesController {
|
|
3512
|
+
private readonly manager;
|
|
3513
|
+
constructor(manager: AppPackageManager);
|
|
3514
|
+
readonly list: (c: Context) => Promise<Response & _$hono.TypedResponse<{
|
|
3515
|
+
ok: boolean;
|
|
3516
|
+
data: {
|
|
3517
|
+
entries: {
|
|
3518
|
+
id: string;
|
|
3519
|
+
name: string;
|
|
3520
|
+
description?: string | undefined;
|
|
3521
|
+
nameI18n?: {
|
|
3522
|
+
[x: string]: string;
|
|
3523
|
+
} | undefined;
|
|
3524
|
+
descriptionI18n?: {
|
|
3525
|
+
[x: string]: string;
|
|
3526
|
+
} | undefined;
|
|
3527
|
+
activeVersion: string;
|
|
3528
|
+
installedVersions: string[];
|
|
3529
|
+
enabled: boolean;
|
|
3530
|
+
builtIn: boolean;
|
|
3531
|
+
primaryPanelId?: string | undefined;
|
|
3532
|
+
components: {
|
|
3533
|
+
kind: _$_nextclaw_kernel0.AppPackageComponentKind;
|
|
3534
|
+
id: string;
|
|
3535
|
+
packageId: string;
|
|
3536
|
+
packageVersion: string;
|
|
3537
|
+
sourcePath: string;
|
|
3538
|
+
manifestPath: string;
|
|
3539
|
+
dataDirectory: string;
|
|
3540
|
+
title?: string | undefined;
|
|
3541
|
+
description?: string | undefined;
|
|
3542
|
+
icon?: string | undefined;
|
|
3543
|
+
titleI18n?: {
|
|
3544
|
+
[x: string]: string;
|
|
3545
|
+
} | undefined;
|
|
3546
|
+
descriptionI18n?: {
|
|
3547
|
+
[x: string]: string;
|
|
3548
|
+
} | undefined;
|
|
3549
|
+
}[];
|
|
3550
|
+
dataDirectory: string;
|
|
3551
|
+
}[];
|
|
3552
|
+
};
|
|
3553
|
+
}, _$hono_utils_http_status0.ContentfulStatusCode, "json">>;
|
|
3554
|
+
readonly get: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
|
|
3555
|
+
ok: boolean;
|
|
3556
|
+
data: {
|
|
3557
|
+
id: string;
|
|
3558
|
+
name: string;
|
|
3559
|
+
description?: string | undefined;
|
|
3560
|
+
nameI18n?: {
|
|
3561
|
+
[x: string]: string;
|
|
3562
|
+
} | undefined;
|
|
3563
|
+
descriptionI18n?: {
|
|
3564
|
+
[x: string]: string;
|
|
3565
|
+
} | undefined;
|
|
3566
|
+
activeVersion: string;
|
|
3567
|
+
installedVersions: string[];
|
|
3568
|
+
enabled: boolean;
|
|
3569
|
+
builtIn: boolean;
|
|
3570
|
+
primaryPanelId?: string | undefined;
|
|
3571
|
+
components: {
|
|
3572
|
+
kind: _$_nextclaw_kernel0.AppPackageComponentKind;
|
|
3573
|
+
id: string;
|
|
3574
|
+
packageId: string;
|
|
3575
|
+
packageVersion: string;
|
|
3576
|
+
sourcePath: string;
|
|
3577
|
+
manifestPath: string;
|
|
3578
|
+
dataDirectory: string;
|
|
3579
|
+
title?: string | undefined;
|
|
3580
|
+
description?: string | undefined;
|
|
3581
|
+
icon?: string | undefined;
|
|
3582
|
+
titleI18n?: {
|
|
3583
|
+
[x: string]: string;
|
|
3584
|
+
} | undefined;
|
|
3585
|
+
descriptionI18n?: {
|
|
3586
|
+
[x: string]: string;
|
|
3587
|
+
} | undefined;
|
|
3588
|
+
}[];
|
|
3589
|
+
dataDirectory: string;
|
|
3590
|
+
};
|
|
3591
|
+
}, _$hono_utils_http_status0.ContentfulStatusCode, "json">) | (Response & _$hono.TypedResponse<{
|
|
3592
|
+
ok: boolean;
|
|
3593
|
+
error: {
|
|
3594
|
+
code: string;
|
|
3595
|
+
message: string;
|
|
3596
|
+
details: {
|
|
3597
|
+
[x: string]: _$hono_utils_types0.JSONValue;
|
|
3598
|
+
} | undefined;
|
|
3599
|
+
};
|
|
3600
|
+
}, 400 | 404 | 409, "json">)>;
|
|
3601
|
+
readonly install: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
|
|
3602
|
+
ok: boolean;
|
|
3603
|
+
data: {
|
|
3604
|
+
id: string;
|
|
3605
|
+
name: string;
|
|
3606
|
+
description?: string | undefined;
|
|
3607
|
+
nameI18n?: {
|
|
3608
|
+
[x: string]: string;
|
|
3609
|
+
} | undefined;
|
|
3610
|
+
descriptionI18n?: {
|
|
3611
|
+
[x: string]: string;
|
|
3612
|
+
} | undefined;
|
|
3613
|
+
activeVersion: string;
|
|
3614
|
+
installedVersions: string[];
|
|
3615
|
+
enabled: boolean;
|
|
3616
|
+
builtIn: boolean;
|
|
3617
|
+
primaryPanelId?: string | undefined;
|
|
3618
|
+
components: {
|
|
3619
|
+
kind: _$_nextclaw_kernel0.AppPackageComponentKind;
|
|
3620
|
+
id: string;
|
|
3621
|
+
packageId: string;
|
|
3622
|
+
packageVersion: string;
|
|
3623
|
+
sourcePath: string;
|
|
3624
|
+
manifestPath: string;
|
|
3625
|
+
dataDirectory: string;
|
|
3626
|
+
title?: string | undefined;
|
|
3627
|
+
description?: string | undefined;
|
|
3628
|
+
icon?: string | undefined;
|
|
3629
|
+
titleI18n?: {
|
|
3630
|
+
[x: string]: string;
|
|
3631
|
+
} | undefined;
|
|
3632
|
+
descriptionI18n?: {
|
|
3633
|
+
[x: string]: string;
|
|
3634
|
+
} | undefined;
|
|
3635
|
+
}[];
|
|
3636
|
+
dataDirectory: string;
|
|
3637
|
+
};
|
|
3638
|
+
}, _$hono_utils_http_status0.ContentfulStatusCode, "json">) | (Response & _$hono.TypedResponse<{
|
|
3639
|
+
ok: boolean;
|
|
3640
|
+
error: {
|
|
3641
|
+
code: string;
|
|
3642
|
+
message: string;
|
|
3643
|
+
details: {
|
|
3644
|
+
[x: string]: _$hono_utils_types0.JSONValue;
|
|
3645
|
+
} | undefined;
|
|
3646
|
+
};
|
|
3647
|
+
}, 400 | 404 | 409, "json">)>;
|
|
3648
|
+
readonly enable: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
|
|
3649
|
+
ok: boolean;
|
|
3650
|
+
data: {
|
|
3651
|
+
id: string;
|
|
3652
|
+
name: string;
|
|
3653
|
+
description?: string | undefined;
|
|
3654
|
+
nameI18n?: {
|
|
3655
|
+
[x: string]: string;
|
|
3656
|
+
} | undefined;
|
|
3657
|
+
descriptionI18n?: {
|
|
3658
|
+
[x: string]: string;
|
|
3659
|
+
} | undefined;
|
|
3660
|
+
activeVersion: string;
|
|
3661
|
+
installedVersions: string[];
|
|
3662
|
+
enabled: boolean;
|
|
3663
|
+
builtIn: boolean;
|
|
3664
|
+
primaryPanelId?: string | undefined;
|
|
3665
|
+
components: {
|
|
3666
|
+
kind: _$_nextclaw_kernel0.AppPackageComponentKind;
|
|
3667
|
+
id: string;
|
|
3668
|
+
packageId: string;
|
|
3669
|
+
packageVersion: string;
|
|
3670
|
+
sourcePath: string;
|
|
3671
|
+
manifestPath: string;
|
|
3672
|
+
dataDirectory: string;
|
|
3673
|
+
title?: string | undefined;
|
|
3674
|
+
description?: string | undefined;
|
|
3675
|
+
icon?: string | undefined;
|
|
3676
|
+
titleI18n?: {
|
|
3677
|
+
[x: string]: string;
|
|
3678
|
+
} | undefined;
|
|
3679
|
+
descriptionI18n?: {
|
|
3680
|
+
[x: string]: string;
|
|
3681
|
+
} | undefined;
|
|
3682
|
+
}[];
|
|
3683
|
+
dataDirectory: string;
|
|
3684
|
+
};
|
|
3685
|
+
}, _$hono_utils_http_status0.ContentfulStatusCode, "json">) | (Response & _$hono.TypedResponse<{
|
|
3686
|
+
ok: boolean;
|
|
3687
|
+
error: {
|
|
3688
|
+
code: string;
|
|
3689
|
+
message: string;
|
|
3690
|
+
details: {
|
|
3691
|
+
[x: string]: _$hono_utils_types0.JSONValue;
|
|
3692
|
+
} | undefined;
|
|
3693
|
+
};
|
|
3694
|
+
}, 400 | 404 | 409, "json">)>;
|
|
3695
|
+
readonly disable: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
|
|
3696
|
+
ok: boolean;
|
|
3697
|
+
data: {
|
|
3698
|
+
id: string;
|
|
3699
|
+
name: string;
|
|
3700
|
+
description?: string | undefined;
|
|
3701
|
+
nameI18n?: {
|
|
3702
|
+
[x: string]: string;
|
|
3703
|
+
} | undefined;
|
|
3704
|
+
descriptionI18n?: {
|
|
3705
|
+
[x: string]: string;
|
|
3706
|
+
} | undefined;
|
|
3707
|
+
activeVersion: string;
|
|
3708
|
+
installedVersions: string[];
|
|
3709
|
+
enabled: boolean;
|
|
3710
|
+
builtIn: boolean;
|
|
3711
|
+
primaryPanelId?: string | undefined;
|
|
3712
|
+
components: {
|
|
3713
|
+
kind: _$_nextclaw_kernel0.AppPackageComponentKind;
|
|
3714
|
+
id: string;
|
|
3715
|
+
packageId: string;
|
|
3716
|
+
packageVersion: string;
|
|
3717
|
+
sourcePath: string;
|
|
3718
|
+
manifestPath: string;
|
|
3719
|
+
dataDirectory: string;
|
|
3720
|
+
title?: string | undefined;
|
|
3721
|
+
description?: string | undefined;
|
|
3722
|
+
icon?: string | undefined;
|
|
3723
|
+
titleI18n?: {
|
|
3724
|
+
[x: string]: string;
|
|
3725
|
+
} | undefined;
|
|
3726
|
+
descriptionI18n?: {
|
|
3727
|
+
[x: string]: string;
|
|
3728
|
+
} | undefined;
|
|
3729
|
+
}[];
|
|
3730
|
+
dataDirectory: string;
|
|
3731
|
+
};
|
|
3732
|
+
}, _$hono_utils_http_status0.ContentfulStatusCode, "json">) | (Response & _$hono.TypedResponse<{
|
|
3733
|
+
ok: boolean;
|
|
3734
|
+
error: {
|
|
3735
|
+
code: string;
|
|
3736
|
+
message: string;
|
|
3737
|
+
details: {
|
|
3738
|
+
[x: string]: _$hono_utils_types0.JSONValue;
|
|
3739
|
+
} | undefined;
|
|
3740
|
+
};
|
|
3741
|
+
}, 400 | 404 | 409, "json">)>;
|
|
3742
|
+
readonly update: (c: Context) => Promise<(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">) | (Response & _$hono.TypedResponse<{
|
|
3752
|
+
ok: boolean;
|
|
3753
|
+
data: {
|
|
3754
|
+
package: {
|
|
3755
|
+
id: string;
|
|
3756
|
+
name: string;
|
|
3757
|
+
description?: string | undefined;
|
|
3758
|
+
nameI18n?: {
|
|
3759
|
+
[x: string]: string;
|
|
3760
|
+
} | undefined;
|
|
3761
|
+
descriptionI18n?: {
|
|
3762
|
+
[x: string]: string;
|
|
3763
|
+
} | undefined;
|
|
3764
|
+
activeVersion: string;
|
|
3765
|
+
installedVersions: string[];
|
|
3766
|
+
enabled: boolean;
|
|
3767
|
+
builtIn: boolean;
|
|
3768
|
+
primaryPanelId?: string | undefined;
|
|
3769
|
+
components: {
|
|
3770
|
+
kind: _$_nextclaw_kernel0.AppPackageComponentKind;
|
|
3771
|
+
id: string;
|
|
3772
|
+
packageId: string;
|
|
3773
|
+
packageVersion: string;
|
|
3774
|
+
sourcePath: string;
|
|
3775
|
+
manifestPath: string;
|
|
3776
|
+
dataDirectory: string;
|
|
3777
|
+
title?: string | undefined;
|
|
3778
|
+
description?: string | undefined;
|
|
3779
|
+
icon?: string | undefined;
|
|
3780
|
+
titleI18n?: {
|
|
3781
|
+
[x: string]: string;
|
|
3782
|
+
} | undefined;
|
|
3783
|
+
descriptionI18n?: {
|
|
3784
|
+
[x: string]: string;
|
|
3785
|
+
} | undefined;
|
|
3786
|
+
}[];
|
|
3787
|
+
dataDirectory: string;
|
|
3788
|
+
};
|
|
3789
|
+
result: {
|
|
3790
|
+
appId: string;
|
|
3791
|
+
name: string;
|
|
3792
|
+
version: string;
|
|
3793
|
+
installDirectory: string;
|
|
3794
|
+
dataDirectory: string;
|
|
3795
|
+
sourceKind: AppInstallSourceKind;
|
|
3796
|
+
distributionMode?: AppDistributionMode | undefined;
|
|
3797
|
+
sourceRef: string;
|
|
3798
|
+
permissions: {
|
|
3799
|
+
documentAccess?: {
|
|
3800
|
+
id: string;
|
|
3801
|
+
mode: AppDocumentAccessMode;
|
|
3802
|
+
description?: string | undefined;
|
|
3803
|
+
}[] | undefined;
|
|
3804
|
+
allowedDomains?: string[] | undefined;
|
|
3805
|
+
storage?: boolean | {
|
|
3806
|
+
namespace?: string | undefined;
|
|
3807
|
+
} | undefined;
|
|
3808
|
+
capabilities?: {
|
|
3809
|
+
hostBridge?: boolean | undefined;
|
|
3810
|
+
} | undefined;
|
|
3811
|
+
};
|
|
3812
|
+
registryUrl?: string | undefined;
|
|
3813
|
+
bundleUrl?: string | undefined;
|
|
3814
|
+
sha256?: string | undefined;
|
|
3815
|
+
publisher?: {
|
|
3816
|
+
id: string;
|
|
3817
|
+
name: string;
|
|
3818
|
+
url?: string | undefined;
|
|
3819
|
+
} | undefined;
|
|
3820
|
+
enabled: boolean;
|
|
3821
|
+
manifestSchemaVersion: 1 | 2;
|
|
3822
|
+
components?: {
|
|
3823
|
+
kind: AppComponentKind;
|
|
3824
|
+
path: string;
|
|
3825
|
+
id: string;
|
|
3826
|
+
componentDirectory: string;
|
|
3827
|
+
manifestPath: string;
|
|
3828
|
+
}[] | undefined;
|
|
3829
|
+
primaryPanelId?: string | undefined;
|
|
3830
|
+
previousVersion: string;
|
|
3831
|
+
updated: boolean;
|
|
3832
|
+
};
|
|
3833
|
+
};
|
|
3834
|
+
}, _$hono_utils_http_status0.ContentfulStatusCode, "json">)>;
|
|
3835
|
+
readonly rollback: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
|
|
3836
|
+
ok: boolean;
|
|
3837
|
+
error: {
|
|
3838
|
+
code: string;
|
|
3839
|
+
message: string;
|
|
3840
|
+
details: {
|
|
3841
|
+
[x: string]: _$hono_utils_types0.JSONValue;
|
|
3842
|
+
} | undefined;
|
|
3843
|
+
};
|
|
3844
|
+
}, 400 | 404 | 409, "json">) | (Response & _$hono.TypedResponse<{
|
|
3845
|
+
ok: boolean;
|
|
3846
|
+
data: {
|
|
3847
|
+
package: {
|
|
3848
|
+
id: string;
|
|
3849
|
+
name: string;
|
|
3850
|
+
description?: string | undefined;
|
|
3851
|
+
nameI18n?: {
|
|
3852
|
+
[x: string]: string;
|
|
3853
|
+
} | undefined;
|
|
3854
|
+
descriptionI18n?: {
|
|
3855
|
+
[x: string]: string;
|
|
3856
|
+
} | undefined;
|
|
3857
|
+
activeVersion: string;
|
|
3858
|
+
installedVersions: string[];
|
|
3859
|
+
enabled: boolean;
|
|
3860
|
+
builtIn: boolean;
|
|
3861
|
+
primaryPanelId?: string | undefined;
|
|
3862
|
+
components: {
|
|
3863
|
+
kind: _$_nextclaw_kernel0.AppPackageComponentKind;
|
|
3864
|
+
id: string;
|
|
3865
|
+
packageId: string;
|
|
3866
|
+
packageVersion: string;
|
|
3867
|
+
sourcePath: string;
|
|
3868
|
+
manifestPath: string;
|
|
3869
|
+
dataDirectory: string;
|
|
3870
|
+
title?: string | undefined;
|
|
3871
|
+
description?: string | undefined;
|
|
3872
|
+
icon?: string | undefined;
|
|
3873
|
+
titleI18n?: {
|
|
3874
|
+
[x: string]: string;
|
|
3875
|
+
} | undefined;
|
|
3876
|
+
descriptionI18n?: {
|
|
3877
|
+
[x: string]: string;
|
|
3878
|
+
} | undefined;
|
|
3879
|
+
}[];
|
|
3880
|
+
dataDirectory: string;
|
|
3881
|
+
};
|
|
3882
|
+
result: {
|
|
3883
|
+
appId: string;
|
|
3884
|
+
activeVersion: string;
|
|
3885
|
+
enabled: boolean;
|
|
3886
|
+
previousVersion: string;
|
|
3887
|
+
rolledBack: boolean;
|
|
3888
|
+
};
|
|
3889
|
+
};
|
|
3890
|
+
}, _$hono_utils_http_status0.ContentfulStatusCode, "json">)>;
|
|
3891
|
+
readonly uninstall: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
|
|
3892
|
+
ok: boolean;
|
|
3893
|
+
error: {
|
|
3894
|
+
code: string;
|
|
3895
|
+
message: string;
|
|
3896
|
+
details: {
|
|
3897
|
+
[x: string]: _$hono_utils_types0.JSONValue;
|
|
3898
|
+
} | undefined;
|
|
3899
|
+
};
|
|
3900
|
+
}, 400 | 404 | 409, "json">) | (Response & _$hono.TypedResponse<{
|
|
3901
|
+
ok: boolean;
|
|
3902
|
+
data: {
|
|
3903
|
+
appId: string;
|
|
3904
|
+
removedVersions: string[];
|
|
3905
|
+
dataRemoved: boolean;
|
|
3906
|
+
};
|
|
3907
|
+
}, _$hono_utils_http_status0.ContentfulStatusCode, "json">)>;
|
|
3908
|
+
private handleError;
|
|
3909
|
+
}
|
|
3910
|
+
//#endregion
|
|
3473
3911
|
//#region src/features/inbox-deliveries/controllers/inbox-deliveries.controller.d.ts
|
|
3474
3912
|
declare class InboxDeliveriesRoutesController {
|
|
3475
3913
|
private readonly manager;
|
|
@@ -3495,7 +3933,6 @@ declare class InboxDeliveriesRoutesController {
|
|
|
3495
3933
|
presentedAt: string | null;
|
|
3496
3934
|
readAt: string | null;
|
|
3497
3935
|
archivedAt: string | null;
|
|
3498
|
-
conversationSessionId: string | null;
|
|
3499
3936
|
}[];
|
|
3500
3937
|
total: number;
|
|
3501
3938
|
unreadCount: number;
|
|
@@ -3503,15 +3940,6 @@ declare class InboxDeliveriesRoutesController {
|
|
|
3503
3940
|
};
|
|
3504
3941
|
}, _$hono_utils_http_status0.ContentfulStatusCode, "json">>;
|
|
3505
3942
|
readonly get: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
|
|
3506
|
-
ok: boolean;
|
|
3507
|
-
error: {
|
|
3508
|
-
code: string;
|
|
3509
|
-
message: string;
|
|
3510
|
-
details: {
|
|
3511
|
-
[x: string]: _$hono_utils_types0.JSONValue;
|
|
3512
|
-
} | undefined;
|
|
3513
|
-
};
|
|
3514
|
-
}, 404, "json">) | (Response & _$hono.TypedResponse<{
|
|
3515
3943
|
ok: boolean;
|
|
3516
3944
|
data: {
|
|
3517
3945
|
id: string;
|
|
@@ -3531,9 +3959,17 @@ declare class InboxDeliveriesRoutesController {
|
|
|
3531
3959
|
presentedAt: string | null;
|
|
3532
3960
|
readAt: string | null;
|
|
3533
3961
|
archivedAt: string | null;
|
|
3534
|
-
conversationSessionId: string | null;
|
|
3535
3962
|
};
|
|
3536
|
-
}, _$hono_utils_http_status0.ContentfulStatusCode, "json">)
|
|
3963
|
+
}, _$hono_utils_http_status0.ContentfulStatusCode, "json">) | (Response & _$hono.TypedResponse<{
|
|
3964
|
+
ok: boolean;
|
|
3965
|
+
error: {
|
|
3966
|
+
code: string;
|
|
3967
|
+
message: string;
|
|
3968
|
+
details: {
|
|
3969
|
+
[x: string]: _$hono_utils_types0.JSONValue;
|
|
3970
|
+
} | undefined;
|
|
3971
|
+
};
|
|
3972
|
+
}, 404, "json">)>;
|
|
3537
3973
|
readonly updateState: (c: Context) => Promise<(Response & _$hono.TypedResponse<{
|
|
3538
3974
|
ok: boolean;
|
|
3539
3975
|
data: _$hono_utils_types0.JSONValue;
|
|
@@ -3563,21 +3999,8 @@ declare class InboxDeliveriesRoutesController {
|
|
|
3563
3999
|
deliveryId: string;
|
|
3564
4000
|
};
|
|
3565
4001
|
}, _$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
4002
|
private handleManagerAction;
|
|
3580
4003
|
}
|
|
3581
4004
|
//#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 };
|
|
4005
|
+
export { AgentBindingView, type AgentCreateRequest, type AgentDeleteResult, type AgentProfileView, type AgentUpdateRequest, ApiError, ApiResponse, AppMetaView, type AppPackageList, 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, 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
4006
|
//# sourceMappingURL=index.d.ts.map
|