@crewx/sdk 0.9.0-rc.174 → 0.9.0-rc.175
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/desktop/index.js +3 -3
- package/dist/esm/desktop/index.js +3 -3
- package/dist/esm/index.js +388 -259
- package/dist/esm/plugins/index.js +95 -91
- package/dist/esm/process/index.js +1 -1
- package/dist/esm/publish/index.js +2 -2
- package/dist/esm/repository/index.js +334 -201
- package/dist/esm/skills/index.js +2 -2
- package/dist/index.browser.js +1 -1
- package/dist/index.d.ts +9 -0
- package/dist/index.js +377 -248
- package/dist/lifecycle/task-stop.d.ts +27 -1
- package/dist/lifecycle/update-admission.d.ts +1 -1
- package/dist/mcp-app/types.d.ts +1 -1
- package/dist/migrations/0042_breezy_blue_shield.sql +31 -0
- package/dist/migrations/0043_nervous_darkstar.sql +1 -0
- package/dist/migrations/0044_military_galactus.sql +8 -0
- package/dist/migrations/0045_task_pid_started_at.sql +1 -0
- package/dist/migrations/meta/0042_snapshot.json +4383 -0
- package/dist/migrations/meta/0043_snapshot.json +4390 -0
- package/dist/migrations/meta/0044_snapshot.json +4435 -0
- package/dist/migrations/meta/0045_snapshot.json +4442 -0
- package/dist/migrations/meta/_journal.json +28 -0
- package/dist/plugins/index.js +99 -95
- package/dist/process/index.d.ts +2 -2
- package/dist/process/index.js +1 -1
- package/dist/process/process-control.d.ts +14 -0
- package/dist/publish/index.js +2 -2
- package/dist/repository/db.d.ts +1 -0
- package/dist/repository/index.d.ts +7 -0
- package/dist/repository/index.js +292 -159
- package/dist/repository/run-columns.d.ts +10 -0
- package/dist/repository/run-history.repository.d.ts +112 -0
- package/dist/repository/schedule-run.repository.d.ts +103 -0
- package/dist/repository/task.repository.d.ts +13 -2
- package/dist/repository/workflow-anchor-kinds.d.ts +4 -0
- package/dist/schema/index.d.ts +2 -0
- package/dist/schema/run-column-backfill.d.ts +81 -0
- package/dist/schema/schedule-runs.d.ts +451 -0
- package/dist/schema/tasks.d.ts +114 -0
- package/dist/skills/index.js +2 -2
- package/dist/ui-plugin/html-viewer-document-policy.d.ts +23 -0
- package/dist/ui-plugin/index.d.ts +2 -0
- package/dist/ui-plugin/types.d.ts +1 -0
- package/dist/utils/id.d.ts +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,23 @@
|
|
|
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;
|
|
@@ -6,3 +6,5 @@ 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';
|
|
@@ -140,6 +140,7 @@ export interface UiPluginRuntimeRequest {
|
|
|
140
140
|
readonly wasm?: true;
|
|
141
141
|
readonly terminal?: true;
|
|
142
142
|
readonly htmlDocuments?: true;
|
|
143
|
+
readonly appBrowser?: true;
|
|
143
144
|
}
|
|
144
145
|
export interface UiPluginCspRequest {
|
|
145
146
|
readonly connectDomains: readonly string[];
|
package/dist/utils/id.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type EntityPrefix = 'tsk' | 'thd' | 'msg' | 'box' | 'prj' | 'mem' | 'spn' | 'cron' | 'wbs' | 'job' | 'tcl' | 'req' | 'ws' | 'wfr' | 'ntf' | 'sug' | 'brd' | 'pjc' | 'pje' | 'the' | 'thl' | 'thr' | 'uls';
|
|
1
|
+
export type EntityPrefix = 'tsk' | 'thd' | 'msg' | 'box' | 'prj' | 'mem' | 'spn' | 'cron' | 'wbs' | 'job' | 'tcl' | 'req' | 'ws' | 'wfr' | 'ntf' | 'sug' | 'brd' | 'pjc' | 'pje' | 'the' | 'thl' | 'thr' | 'uls' | 'crun';
|
|
2
2
|
export type PrefixedId<P extends EntityPrefix> = `${P}_${string}`;
|
|
3
3
|
export declare function generateId<P extends EntityPrefix>(prefix: P): PrefixedId<P>;
|
|
4
4
|
export declare function generateFingerprint<P extends EntityPrefix>(prefix: P, input: string): PrefixedId<P>;
|