@crewx/sdk 0.9.0-rc.178 → 0.9.0-rc.179
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/app-ui/index.d.ts +69 -0
- package/dist/app-ui/index.js +1 -0
- package/dist/esm/index.js +226 -226
- package/dist/esm/publish/index.js +2 -2
- package/dist/esm/skills/index.js +2 -2
- package/dist/index.browser.js +1 -1
- package/dist/index.js +222 -222
- package/dist/mcp-app/candidate-registration.d.ts +2 -2
- package/dist/mcp-app/types.d.ts +11 -2
- package/dist/mcp-app/workspace-snapshot.d.ts +5 -2
- package/dist/publish/index.js +2 -2
- package/dist/skills/index.js +2 -2
- package/dist/ui-plugin/app-manifest.d.ts +1 -1
- package/dist/ui-plugin/types.d.ts +9 -0
- package/package.json +6 -1
|
@@ -13,7 +13,7 @@ export declare const MCPB_MANIFEST_KEYS: readonly ["manifest_version", "name", "
|
|
|
13
13
|
export declare const APP_MANIFEST_REQUIRED_KEYS: readonly ["manifest_version", "name", "display_name", "version", "description", "_meta"];
|
|
14
14
|
export declare const APP_MANIFEST_PASSTHROUGH_KEYS: readonly ("name" | "description" | "server" | "tools" | "version" | "_meta" | "icon" | "manifest_version" | "display_name" | "long_description" | "author" | "repository" | "homepage" | "documentation" | "support" | "icons" | "screenshots" | "localization" | "tools_generated" | "prompts" | "prompts_generated" | "keywords" | "license" | "privacy_policies" | "compatibility" | "user_config")[];
|
|
15
15
|
export declare const CREWX_META_REQUIRED_KEYS: readonly ["entry", "surfaces", "size", "stateProjection", "actions"];
|
|
16
|
-
export declare const CREWX_META_OPTIONAL_KEYS: readonly ["definitionId", "definitionVersion", "icon", "tone", "entryHash", "runtime", "initialState", "usage", "detailPanel", "displayModes", "summaryProjection", "dataPaths", "focusedAiDataPaths", "csp", "deviceFeatures", "downloads"];
|
|
16
|
+
export declare const CREWX_META_OPTIONAL_KEYS: readonly ["definitionId", "definitionVersion", "icon", "tone", "entryHash", "runtime", "initialState", "usage", "detailPanel", "displayModes", "summaryProjection", "dataPaths", "focusedAiDataPaths", "csp", "deviceFeatures", "downloads", "share", "files"];
|
|
17
17
|
export declare function isAppSemver(value: unknown): value is string;
|
|
18
18
|
export interface AppManifestReason {
|
|
19
19
|
readonly path: string;
|
|
@@ -145,6 +145,13 @@ export interface UiPluginRuntimeRequest {
|
|
|
145
145
|
export interface UiPluginCspRequest {
|
|
146
146
|
readonly connectDomains: readonly string[];
|
|
147
147
|
}
|
|
148
|
+
export interface UiPluginShareRequest {
|
|
149
|
+
readonly view: true;
|
|
150
|
+
readonly entry?: string;
|
|
151
|
+
}
|
|
152
|
+
export interface UiPluginFilesRequest {
|
|
153
|
+
readonly root: string;
|
|
154
|
+
}
|
|
148
155
|
export interface UiPluginManifestV2 {
|
|
149
156
|
readonly manifestVersion: 2;
|
|
150
157
|
readonly pluginId: string;
|
|
@@ -172,6 +179,8 @@ export interface UiPluginManifestV2 {
|
|
|
172
179
|
readonly dataPaths?: readonly string[];
|
|
173
180
|
readonly deviceFeatures?: readonly string[];
|
|
174
181
|
readonly downloads?: true;
|
|
182
|
+
readonly share?: UiPluginShareRequest;
|
|
183
|
+
readonly files?: UiPluginFilesRequest;
|
|
175
184
|
readonly actions: readonly UiPluginAction[];
|
|
176
185
|
readonly _meta?: JsonObject;
|
|
177
186
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crewx/sdk",
|
|
3
|
-
"version": "0.9.0-rc.
|
|
3
|
+
"version": "0.9.0-rc.179",
|
|
4
4
|
"license": "UNLICENSED",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=20.19.0"
|
|
@@ -88,6 +88,11 @@
|
|
|
88
88
|
"import": "./dist/app/index.js",
|
|
89
89
|
"require": "./dist/app/index.js"
|
|
90
90
|
},
|
|
91
|
+
"./app-ui": {
|
|
92
|
+
"types": "./dist/app-ui/index.d.ts",
|
|
93
|
+
"import": "./dist/app-ui/index.js",
|
|
94
|
+
"require": "./dist/app-ui/index.js"
|
|
95
|
+
},
|
|
91
96
|
"./app-artifact-policy": {
|
|
92
97
|
"types": "./dist/app-artifact-policy/index.d.ts",
|
|
93
98
|
"import": "./dist/app-artifact-policy/index.js",
|