@crewx/sdk 0.9.0-rc.175 → 0.9.0-rc.176
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/esm/index.js +228 -228
- package/dist/esm/publish/index.js +2 -2
- package/dist/esm/skills/index.js +2 -2
- package/dist/index.d.ts +0 -2
- package/dist/index.js +223 -223
- package/dist/publish/index.js +2 -2
- package/dist/skills/index.js +2 -2
- package/dist/ui-plugin/index.d.ts +0 -2
- package/package.json +1 -1
- package/dist/ui-plugin/html-viewer-document-policy.d.ts +0 -23
|
@@ -6,5 +6,3 @@ export type { AppIconContentType, AppIconDeclaration, AppIconDiagnostic, AppIcon
|
|
|
6
6
|
export { UiPluginValidationError, normalizeManifest, validateInitialState, validateManifest, validatePayload, } from './validator.js';
|
|
7
7
|
export { UI_PLUGIN_CAPABILITY_PATTERN, UI_PLUGIN_HANDLER_PATTERN, UI_PLUGIN_IDENTIFIER_PATTERN, UI_PLUGIN_MAX_ACTIONS, UI_PLUGIN_MAX_ARRAY_LENGTH, UI_PLUGIN_MAX_CANDIDATE_DEPTH, UI_PLUGIN_MAX_COMMAND_LENGTH, UI_PLUGIN_MAX_COMMAND_PARTS, UI_PLUGIN_MAX_DISCOVERED_APPS, UI_PLUGIN_MAX_DISCOVERY_TIME_MS, UI_PLUGIN_MAX_HEIGHT, UI_PLUGIN_MAX_INITIAL_STATE_BYTES, UI_PLUGIN_MAX_JSON_DEPTH, UI_PLUGIN_MAX_MANIFEST_BYTES, UI_PLUGIN_MAX_PROJECTION_PATHS, UI_PLUGIN_MAX_SCHEMA_DEPTH, UI_PLUGIN_MAX_SCHEMA_PROPERTIES, UI_PLUGIN_MAX_STRING_LENGTH, UI_PLUGIN_MAX_SUBTREE_BYTES, UI_PLUGIN_MAX_SURFACES, UI_PLUGIN_RESERVED_STATE_KEYS, UI_PLUGIN_SAFE_PATH_PATTERN, UI_PLUGIN_SAFE_PATH_SEGMENT_PATTERN, UI_PLUGIN_SKILL_TOKEN_PATTERN, UI_PLUGIN_SURFACES, UI_PLUGIN_TONES, isUiPluginReservedStateKey, } from './limits.js';
|
|
8
8
|
export type { UiPluginActivation, UiPluginAction, UiPluginBackend, UiPluginCardShellNode, UiPluginCoreBackend, UiPluginFieldSchema, UiPluginHeadingNode, UiPluginInputSchema, UiPluginJsonSchema, UiPluginJsonSchemaType, UiPluginLabeledTextNode, UiPluginLayoutNode, UiPluginLayout, UiPluginManifest, UiPluginManifestMode, UiPluginManifestV1, UiPluginManifestV2, UiPluginCspRequest, UiPluginRuntimeRequest, UiPluginMetaBannerNode, UiPluginNormalizedManifestV2, UiPluginNormalizedV2, UiPluginPayload, UiPluginPayloadValue, UiPluginPrimitive, UiPluginProjectionPolicy, UiPluginResourceMetadata, UiPluginResourceRef, UiPluginSchemaType, UiPluginSchema, UiPluginSize, UiPluginSkillBackend, UiPluginStep, UiPluginStepFlowNode, UiPluginStepListSchema, UiPluginTextListNode, UiPluginTextListSchema, UiPluginTextSchema, UiPluginSurface, UiPluginTone, UiPluginHandlerMetadata, UiPluginValidationErrorCode, UiPluginValidationOptions, } from './types.js';
|
|
9
|
-
export { HTML_VIEWER_NAVER_MAP_FRAME_PATH, HTML_VIEWER_NAVER_MAP_LOADER_PATH, HtmlViewerDocumentPolicyError, buildHtmlViewerDocumentPolicy, buildHtmlViewerMapFramePolicy, } from './html-viewer-document-policy.js';
|
|
10
|
-
export type { HtmlViewerDocumentPolicy, HtmlViewerDocumentPolicyErrorCode, HtmlViewerDocumentPolicyInput, HtmlViewerDocumentProfile, HtmlViewerMapFramePolicyInput, } from './html-viewer-document-policy.js';
|
package/package.json
CHANGED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
export type HtmlViewerDocumentProfile = 'naver-maps-v3';
|
|
2
|
-
export declare const HTML_VIEWER_NAVER_MAP_FRAME_PATH: "/__crewx/mcp-app-sandbox/html-viewer-map/naver-maps-v3.html";
|
|
3
|
-
export declare const HTML_VIEWER_NAVER_MAP_LOADER_PATH: "/__crewx/mcp-app-sandbox/html-viewer-map/naver-maps-v3.js";
|
|
4
|
-
export interface HtmlViewerDocumentPolicyInput {
|
|
5
|
-
readonly sandboxOrigin?: string | null;
|
|
6
|
-
readonly profile?: HtmlViewerDocumentProfile | null;
|
|
7
|
-
}
|
|
8
|
-
export interface HtmlViewerMapFramePolicyInput {
|
|
9
|
-
readonly sandboxOrigin: string;
|
|
10
|
-
readonly profile: HtmlViewerDocumentProfile;
|
|
11
|
-
}
|
|
12
|
-
export interface HtmlViewerDocumentPolicy {
|
|
13
|
-
readonly contentSecurityPolicy: string;
|
|
14
|
-
readonly referrerPolicy: string;
|
|
15
|
-
}
|
|
16
|
-
export type HtmlViewerDocumentPolicyErrorCode = 'HTML_VIEWER_POLICY_PROFILE_UNKNOWN' | 'HTML_VIEWER_POLICY_ORIGIN_INVALID';
|
|
17
|
-
export declare class HtmlViewerDocumentPolicyError extends Error {
|
|
18
|
-
readonly code: HtmlViewerDocumentPolicyErrorCode;
|
|
19
|
-
readonly name = "HtmlViewerDocumentPolicyError";
|
|
20
|
-
constructor(code: HtmlViewerDocumentPolicyErrorCode);
|
|
21
|
-
}
|
|
22
|
-
export declare function buildHtmlViewerDocumentPolicy(input?: HtmlViewerDocumentPolicyInput): HtmlViewerDocumentPolicy;
|
|
23
|
-
export declare function buildHtmlViewerMapFramePolicy(input: HtmlViewerMapFramePolicyInput): HtmlViewerDocumentPolicy;
|