@octonodes/sdk 0.2.38 → 0.2.41
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/README.md +7 -2
- package/dist/constants.d.ts +1 -1
- package/dist/constants.d.ts.map +1 -1
- package/dist/constants.js +1 -1
- package/dist/constants.js.map +1 -1
- package/dist/data-tables/table.d.ts +2 -2
- package/dist/data-tables/table.d.ts.map +1 -1
- package/dist/data-tables/types.d.ts +1 -1
- package/dist/data-tables/types.d.ts.map +1 -1
- package/dist/gen/client/client.gen.d.ts +1 -1
- package/dist/gen/client/client.gen.d.ts.map +1 -1
- package/dist/gen/client/client.gen.js +3 -3
- package/dist/gen/client/client.gen.js.map +1 -1
- package/dist/gen/client/index.d.ts +9 -9
- package/dist/gen/client/index.d.ts.map +1 -1
- package/dist/gen/client/index.js +5 -5
- package/dist/gen/client/index.js.map +1 -1
- package/dist/gen/client/types.gen.d.ts +4 -4
- package/dist/gen/client/types.gen.d.ts.map +1 -1
- package/dist/gen/client/utils.gen.d.ts +2 -2
- package/dist/gen/client/utils.gen.d.ts.map +1 -1
- package/dist/gen/client/utils.gen.js +4 -4
- package/dist/gen/client/utils.gen.js.map +1 -1
- package/dist/gen/client.gen.d.ts +2 -2
- package/dist/gen/client.gen.d.ts.map +1 -1
- package/dist/gen/client.gen.js +1 -1
- package/dist/gen/client.gen.js.map +1 -1
- package/dist/gen/core/bodySerializer.gen.d.ts +1 -1
- package/dist/gen/core/bodySerializer.gen.d.ts.map +1 -1
- package/dist/gen/core/serverSentEvents.gen.d.ts +1 -1
- package/dist/gen/core/serverSentEvents.gen.d.ts.map +1 -1
- package/dist/gen/core/types.gen.d.ts +2 -2
- package/dist/gen/core/types.gen.d.ts.map +1 -1
- package/dist/gen/core/utils.gen.d.ts +1 -1
- package/dist/gen/core/utils.gen.d.ts.map +1 -1
- package/dist/gen/core/utils.gen.js +1 -1
- package/dist/gen/core/utils.gen.js.map +1 -1
- package/dist/gen/index.d.ts +2 -2
- package/dist/gen/index.d.ts.map +1 -1
- package/dist/gen/index.js +14 -7
- package/dist/gen/index.js.map +1 -1
- package/dist/gen/sdk.gen.d.ts +127 -91
- package/dist/gen/sdk.gen.d.ts.map +1 -1
- package/dist/gen/sdk.gen.js +249 -176
- package/dist/gen/sdk.gen.js.map +1 -1
- package/dist/gen/types.gen.d.ts +5347 -580
- package/dist/gen/types.gen.d.ts.map +1 -1
- package/dist/index.d.ts +4 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/octonode-client.d.ts +7 -7
- package/dist/octonode-client.d.ts.map +1 -1
- package/dist/octonode-client.js +4 -4
- package/dist/octonode-client.js.map +1 -1
- package/dist/plugins/index.d.ts +1 -1
- package/dist/plugins/index.d.ts.map +1 -1
- package/dist/plugins/index.js +1 -1
- package/dist/plugins/index.js.map +1 -1
- package/dist/plugins/schema/app/app.d.ts +958 -0
- package/dist/plugins/schema/app/app.d.ts.map +1 -0
- package/dist/plugins/schema/app/app.js +202 -0
- package/dist/plugins/schema/app/app.js.map +1 -0
- package/dist/plugins/schema/app/contributions/constants/constants.d.ts +4 -0
- package/dist/plugins/schema/app/contributions/constants/constants.d.ts.map +1 -0
- package/dist/plugins/schema/app/contributions/constants/constants.js +52 -0
- package/dist/plugins/schema/app/contributions/constants/constants.js.map +1 -0
- package/dist/plugins/schema/app/contributions/constants/index.d.ts +2 -0
- package/dist/plugins/schema/app/contributions/constants/index.d.ts.map +1 -0
- package/dist/plugins/schema/app/contributions/constants/index.js +9 -0
- package/dist/plugins/schema/app/contributions/constants/index.js.map +1 -0
- package/dist/plugins/schema/app/contributions/contributions.d.ts +352 -0
- package/dist/plugins/schema/app/contributions/contributions.d.ts.map +1 -0
- package/dist/plugins/schema/app/contributions/contributions.js +133 -0
- package/dist/plugins/schema/app/contributions/contributions.js.map +1 -0
- package/dist/plugins/schema/app/contributions/index.d.ts +3 -0
- package/dist/plugins/schema/app/contributions/index.d.ts.map +1 -0
- package/dist/plugins/schema/app/contributions/index.js +20 -0
- package/dist/plugins/schema/app/contributions/index.js.map +1 -0
- package/dist/plugins/schema/app/contributions.d.ts +10 -10
- package/dist/plugins/schema/app-contributions.d.ts +10 -10
- package/dist/plugins/schema/app.d.ts +89 -89
- package/dist/plugins/schema/app.d.ts.map +1 -1
- package/dist/plugins/schema/app.js +4 -3
- package/dist/plugins/schema/app.js.map +1 -1
- package/dist/plugins/schema/constants/constants.d.ts +69 -0
- package/dist/plugins/schema/constants/constants.d.ts.map +1 -0
- package/dist/plugins/schema/constants/constants.js +412 -0
- package/dist/plugins/schema/constants/constants.js.map +1 -0
- package/dist/plugins/schema/constants/index.d.ts +2 -0
- package/dist/plugins/schema/constants/index.d.ts.map +1 -0
- package/dist/plugins/schema/constants/index.js +59 -0
- package/dist/plugins/schema/constants/index.js.map +1 -0
- package/dist/plugins/schema/constants.d.ts +11 -1
- package/dist/plugins/schema/constants.d.ts.map +1 -1
- package/dist/plugins/schema/constants.js +21 -1
- package/dist/plugins/schema/constants.js.map +1 -1
- package/dist/plugins/schema/diagnostics/constants.d.ts +124 -0
- package/dist/plugins/schema/diagnostics/constants.d.ts.map +1 -0
- package/dist/plugins/schema/diagnostics/constants.js +182 -0
- package/dist/plugins/schema/diagnostics/constants.js.map +1 -0
- package/dist/plugins/schema/diagnostics/index.d.ts +9 -0
- package/dist/plugins/schema/diagnostics/index.d.ts.map +1 -0
- package/dist/plugins/schema/diagnostics/index.js +32 -0
- package/dist/plugins/schema/diagnostics/index.js.map +1 -0
- package/dist/plugins/schema/diagnostics/location.d.ts +3 -0
- package/dist/plugins/schema/diagnostics/location.d.ts.map +1 -0
- package/dist/plugins/schema/diagnostics/location.js +22 -0
- package/dist/plugins/schema/diagnostics/location.js.map +1 -0
- package/dist/plugins/schema/diagnostics/messages.d.ts +11 -0
- package/dist/plugins/schema/diagnostics/messages.d.ts.map +1 -0
- package/dist/plugins/schema/diagnostics/messages.js +32 -0
- package/dist/plugins/schema/diagnostics/messages.js.map +1 -0
- package/dist/plugins/schema/diagnostics/registry.d.ts +6 -0
- package/dist/plugins/schema/diagnostics/registry.d.ts.map +1 -0
- package/dist/plugins/schema/diagnostics/registry.js +35 -0
- package/dist/plugins/schema/diagnostics/registry.js.map +1 -0
- package/dist/plugins/schema/diagnostics/report.d.ts +4 -0
- package/dist/plugins/schema/diagnostics/report.d.ts.map +1 -0
- package/dist/plugins/schema/diagnostics/report.js +13 -0
- package/dist/plugins/schema/diagnostics/report.js.map +1 -0
- package/dist/plugins/schema/diagnostics/runtime.d.ts +3 -0
- package/dist/plugins/schema/diagnostics/runtime.d.ts.map +1 -0
- package/dist/plugins/schema/diagnostics/runtime.js +42 -0
- package/dist/plugins/schema/diagnostics/runtime.js.map +1 -0
- package/dist/plugins/schema/diagnostics/schema.d.ts +239 -0
- package/dist/plugins/schema/diagnostics/schema.d.ts.map +1 -0
- package/dist/plugins/schema/diagnostics/schema.js +58 -0
- package/dist/plugins/schema/diagnostics/schema.js.map +1 -0
- package/dist/plugins/schema/diagnostics/types.d.ts +37 -0
- package/dist/plugins/schema/diagnostics/types.d.ts.map +1 -0
- package/dist/plugins/schema/diagnostics/types.js +3 -0
- package/dist/plugins/schema/diagnostics/types.js.map +1 -0
- package/dist/plugins/schema/icons.d.ts +2 -3
- package/dist/plugins/schema/icons.d.ts.map +1 -1
- package/dist/plugins/schema/icons.js +3 -57
- package/dist/plugins/schema/icons.js.map +1 -1
- package/dist/plugins/schema/ipc/constants.d.ts +3 -0
- package/dist/plugins/schema/ipc/constants.d.ts.map +1 -0
- package/dist/plugins/schema/ipc/constants.js +7 -0
- package/dist/plugins/schema/ipc/constants.js.map +1 -0
- package/dist/plugins/schema/ipc/envelope.d.ts +939 -62
- package/dist/plugins/schema/ipc/envelope.d.ts.map +1 -1
- package/dist/plugins/schema/ipc/envelope.js +23 -24
- package/dist/plugins/schema/ipc/envelope.js.map +1 -1
- package/dist/plugins/schema/ipc/types.d.ts +12 -0
- package/dist/plugins/schema/ipc/types.d.ts.map +1 -0
- package/dist/plugins/schema/ipc/types.js +3 -0
- package/dist/plugins/schema/ipc/types.js.map +1 -0
- package/dist/plugins/schema/ipc-envelope.d.ts +46 -46
- package/dist/plugins/schema/ipc-envelope.js +1 -1
- package/dist/plugins/schema/ipc-envelope.js.map +1 -1
- package/dist/plugins/schema/plugin/constants.d.ts +15 -0
- package/dist/plugins/schema/plugin/constants.d.ts.map +1 -0
- package/dist/plugins/schema/plugin/constants.js +19 -0
- package/dist/plugins/schema/plugin/constants.js.map +1 -0
- package/dist/plugins/schema/plugin/contents.d.ts +27 -0
- package/dist/plugins/schema/plugin/contents.d.ts.map +1 -0
- package/dist/plugins/schema/plugin/contents.js +39 -0
- package/dist/plugins/schema/plugin/contents.js.map +1 -0
- package/dist/plugins/schema/plugin/execution.d.ts +4041 -463
- package/dist/plugins/schema/plugin/execution.d.ts.map +1 -1
- package/dist/plugins/schema/plugin/execution.js +20 -9
- package/dist/plugins/schema/plugin/execution.js.map +1 -1
- package/dist/plugins/schema/plugin/members.d.ts +279 -0
- package/dist/plugins/schema/plugin/members.d.ts.map +1 -0
- package/dist/plugins/schema/plugin/members.js +53 -0
- package/dist/plugins/schema/plugin/members.js.map +1 -0
- package/dist/plugins/schema/plugin/plugin.d.ts +1132 -339
- package/dist/plugins/schema/plugin/plugin.d.ts.map +1 -1
- package/dist/plugins/schema/plugin/plugin.js +87 -21
- package/dist/plugins/schema/plugin/plugin.js.map +1 -1
- package/dist/plugins/schema/plugin/publishing.d.ts +95 -108
- package/dist/plugins/schema/plugin/publishing.d.ts.map +1 -1
- package/dist/plugins/schema/plugin/publishing.js +3 -8
- package/dist/plugins/schema/plugin/publishing.js.map +1 -1
- package/dist/plugins/schema/plugin/runtime.d.ts +227 -0
- package/dist/plugins/schema/plugin/runtime.d.ts.map +1 -0
- package/dist/plugins/schema/plugin/runtime.js +109 -0
- package/dist/plugins/schema/plugin/runtime.js.map +1 -0
- package/dist/plugins/schema/plugin/view.d.ts +39 -0
- package/dist/plugins/schema/plugin/view.d.ts.map +1 -0
- package/dist/plugins/schema/plugin/view.js +22 -0
- package/dist/plugins/schema/plugin/view.js.map +1 -0
- package/dist/plugins/schema/plugin-publishing.d.ts +86 -86
- package/dist/plugins/schema/plugin-publishing.js +1 -1
- package/dist/plugins/schema/plugin-publishing.js.map +1 -1
- package/dist/plugins/schema/plugin-sdk/index.d.ts +14 -9
- package/dist/plugins/schema/plugin-sdk/index.d.ts.map +1 -1
- package/dist/plugins/schema/plugin-sdk/index.js +28 -15
- package/dist/plugins/schema/plugin-sdk/index.js.map +1 -1
- package/dist/plugins/schema/plugin.d.ts +81 -81
- package/dist/plugins/schema/plugin.js +3 -3
- package/dist/plugins/schema/plugin.js.map +1 -1
- package/dist/plugins/schema/project/analysis.d.ts +686 -0
- package/dist/plugins/schema/project/analysis.d.ts.map +1 -0
- package/dist/plugins/schema/project/analysis.js +65 -0
- package/dist/plugins/schema/project/analysis.js.map +1 -0
- package/dist/plugins/sdk/clients/constants.d.ts +2 -0
- package/dist/plugins/sdk/clients/constants.d.ts.map +1 -0
- package/dist/plugins/sdk/clients/constants.js +37 -0
- package/dist/plugins/sdk/clients/constants.js.map +1 -0
- package/dist/plugins/sdk/define/node.d.ts.map +1 -1
- package/dist/plugins/sdk/define-node.d.ts +2 -2
- package/dist/plugins/sdk/define-node.d.ts.map +1 -1
- package/dist/plugins/sdk/definitions/clients/index.d.ts +2 -0
- package/dist/plugins/sdk/definitions/clients/index.d.ts.map +1 -0
- package/dist/plugins/sdk/definitions/clients/index.js +7 -0
- package/dist/plugins/sdk/definitions/clients/index.js.map +1 -0
- package/dist/plugins/sdk/definitions/clients/output.d.ts +2 -2
- package/dist/plugins/sdk/definitions/clients/output.d.ts.map +1 -1
- package/dist/plugins/sdk/definitions/clients/output.js +4 -37
- package/dist/plugins/sdk/definitions/clients/output.js.map +1 -1
- package/dist/plugins/sdk/definitions/compiler/catalog.d.ts.map +1 -1
- package/dist/plugins/sdk/definitions/compiler/catalog.js +4 -3
- package/dist/plugins/sdk/definitions/compiler/catalog.js.map +1 -1
- package/dist/plugins/sdk/definitions/compiler/index.d.ts +5 -4
- package/dist/plugins/sdk/definitions/compiler/index.d.ts.map +1 -1
- package/dist/plugins/sdk/definitions/compiler/index.js +11 -10
- package/dist/plugins/sdk/definitions/compiler/index.js.map +1 -1
- package/dist/plugins/sdk/definitions/compiler/types.d.ts +20 -2
- package/dist/plugins/sdk/definitions/compiler/types.d.ts.map +1 -1
- package/dist/plugins/sdk/definitions/index.d.ts +2 -2
- package/dist/plugins/sdk/definitions/index.d.ts.map +1 -1
- package/dist/plugins/sdk/definitions/npm/emit/js.d.ts +1 -1
- package/dist/plugins/sdk/definitions/npm/emit/js.d.ts.map +1 -1
- package/dist/plugins/sdk/definitions/npm/emit/js.js +2 -2
- package/dist/plugins/sdk/definitions/npm/emit/js.js.map +1 -1
- package/dist/plugins/sdk/definitions/npm/types.d.ts +26 -1
- package/dist/plugins/sdk/definitions/npm/types.d.ts.map +1 -1
- package/dist/plugins/sdk/definitions/types.d.ts +2 -2
- package/dist/plugins/sdk/definitions/types.d.ts.map +1 -1
- package/dist/plugins/sdk/json/index.d.ts +4 -0
- package/dist/plugins/sdk/json/index.d.ts.map +1 -0
- package/dist/plugins/sdk/json/index.js +9 -0
- package/dist/plugins/sdk/json/index.js.map +1 -0
- package/dist/plugins/sdk/json/safety.d.ts +2 -0
- package/dist/plugins/sdk/json/safety.d.ts.map +1 -0
- package/dist/plugins/sdk/json/safety.js +42 -0
- package/dist/plugins/sdk/json/safety.js.map +1 -0
- package/dist/plugins/sdk/json/schema.d.ts +1 -1
- package/dist/plugins/sdk/json/schema.d.ts.map +1 -1
- package/dist/plugins/sdk/json/types.d.ts +6 -0
- package/dist/plugins/sdk/json/types.d.ts.map +1 -0
- package/dist/plugins/sdk/json/types.js +3 -0
- package/dist/plugins/sdk/json/types.js.map +1 -0
- package/dist/plugins/sdk/nodes/index.d.ts.map +1 -1
- package/dist/plugins/sdk/nodes/index.js +4 -4
- package/dist/plugins/sdk/nodes/index.js.map +1 -1
- package/dist/plugins/sdk/plugin/index.d.ts +3 -3
- package/dist/plugins/sdk/plugin/index.d.ts.map +1 -1
- package/dist/plugins/sdk/plugin/index.js +1 -1
- package/dist/plugins/sdk/plugin/index.js.map +1 -1
- package/dist/plugins/sdk/plugin.d.ts +1 -1
- package/dist/plugins/sdk/plugin.d.ts.map +1 -1
- package/dist/plugins/sdk/plugin.js +5 -4
- package/dist/plugins/sdk/plugin.js.map +1 -1
- package/dist/plugins/sdk/plugin.types.d.ts +3 -3
- package/dist/plugins/sdk/plugin.types.d.ts.map +1 -1
- package/dist/plugins/sdk/plugins/define/node.d.ts +5 -5
- package/dist/plugins/sdk/plugins/define/node.d.ts.map +1 -1
- package/dist/plugins/sdk/plugins/define/node.js +1 -1
- package/dist/plugins/sdk/plugins/define/node.js.map +1 -1
- package/dist/plugins/sdk/plugins/define-node.d.ts +4 -4
- package/dist/plugins/sdk/plugins/define-node.d.ts.map +1 -1
- package/dist/plugins/sdk/plugins/define-node.js +1 -1
- package/dist/plugins/sdk/plugins/define-node.js.map +1 -1
- package/dist/plugins/sdk/plugins/index.d.ts +14 -14
- package/dist/plugins/sdk/plugins/index.d.ts.map +1 -1
- package/dist/plugins/sdk/plugins/index.js +14 -14
- package/dist/plugins/sdk/plugins/index.js.map +1 -1
- package/dist/plugins/sdk/plugins/types.d.ts +2 -2
- package/dist/plugins/sdk/plugins/types.d.ts.map +1 -1
- package/dist/plugins/sdk/project/index.d.ts +3 -3
- package/dist/plugins/sdk/project/index.d.ts.map +1 -1
- package/dist/plugins/sdk/project/index.js +1 -1
- package/dist/plugins/sdk/project/index.js.map +1 -1
- package/dist/plugins/sdk/runner.d.ts +0 -1
- package/dist/plugins/sdk/runner.d.ts.map +1 -1
- package/dist/plugins/sdk/runner.js +14 -46
- package/dist/plugins/sdk/runner.js.map +1 -1
- package/dist/plugins/sdk/types.d.ts +1 -1
- package/dist/plugins/sdk/types.d.ts.map +1 -1
- package/package.json +3 -3
|
@@ -0,0 +1,352 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const AppViewTarget: z.ZodEnum<["app.page", "workspace.block", "shell.panel", "shell.dock", "project.tab", "project.overview.block", "workflow.tab", "workflow.inspector.block", "node.view", "node.inspector.tab", "node.inspector.block", "task.space.view", "task.details.tab", "task.details.block", "task.card.badge", "document.tab", "document.panel", "editor.panel", "git.diff.panel", "table.view", "execution.details.block", "app.settings.section", "project.settings.section"]>;
|
|
3
|
+
export declare const AppActionTarget: z.ZodEnum<["project.action", "file.action", "editor.action", "editor.selection-action", "workflow.action", "workflow.canvas.action", "workflow.selection-action", "workflow.edge.action", "node.action", "task.space.action", "task.action", "document.action", "document.selection-action", "document.block.action", "document.slash-command", "document.review.action", "git.diff.action", "table.action", "execution.action"]>;
|
|
4
|
+
export declare const AppContributionTarget: z.ZodEnum<["app.page", "workspace.block", "shell.panel", "shell.dock", "project.tab", "project.overview.block", "workflow.tab", "workflow.inspector.block", "node.view", "node.inspector.tab", "node.inspector.block", "task.space.view", "task.details.tab", "task.details.block", "task.card.badge", "document.tab", "document.panel", "editor.panel", "git.diff.panel", "table.view", "execution.details.block", "app.settings.section", "project.settings.section", "project.action", "file.action", "editor.action", "editor.selection-action", "workflow.action", "workflow.canvas.action", "workflow.selection-action", "workflow.edge.action", "node.action", "task.space.action", "task.action", "document.action", "document.selection-action", "document.block.action", "document.slash-command", "document.review.action", "git.diff.action", "table.action", "execution.action"]>;
|
|
5
|
+
export type AppContributionTarget = z.infer<typeof AppContributionTarget>;
|
|
6
|
+
export declare const appContributionId: z.ZodString;
|
|
7
|
+
export declare const appContributionTitle: z.ZodString;
|
|
8
|
+
export declare const appContributionWhen: z.ZodObject<{
|
|
9
|
+
hasProject: z.ZodOptional<z.ZodBoolean>;
|
|
10
|
+
hasSelection: z.ZodOptional<z.ZodBoolean>;
|
|
11
|
+
readOnly: z.ZodOptional<z.ZodBoolean>;
|
|
12
|
+
nodeKind: z.ZodOptional<z.ZodString>;
|
|
13
|
+
documentFormat: z.ZodOptional<z.ZodEnum<["markdown", "html", "latex"]>>;
|
|
14
|
+
}, "strict", z.ZodTypeAny, {
|
|
15
|
+
hasProject?: boolean | undefined;
|
|
16
|
+
hasSelection?: boolean | undefined;
|
|
17
|
+
readOnly?: boolean | undefined;
|
|
18
|
+
nodeKind?: string | undefined;
|
|
19
|
+
documentFormat?: "markdown" | "html" | "latex" | undefined;
|
|
20
|
+
}, {
|
|
21
|
+
hasProject?: boolean | undefined;
|
|
22
|
+
hasSelection?: boolean | undefined;
|
|
23
|
+
readOnly?: boolean | undefined;
|
|
24
|
+
nodeKind?: string | undefined;
|
|
25
|
+
documentFormat?: "markdown" | "html" | "latex" | undefined;
|
|
26
|
+
}>;
|
|
27
|
+
export declare const appLauncherSchema: z.ZodObject<{
|
|
28
|
+
id: z.ZodString;
|
|
29
|
+
target: z.ZodEnum<["shell.navbar.action", "shell.navigation.item", "shell.command"]>;
|
|
30
|
+
title: z.ZodString;
|
|
31
|
+
icon: z.ZodOptional<z.ZodEnum<["arrow-up-down", "asterisk", "binary", "bomb", "box", "boxes", "braces", "calculator", "calendar", "calendar-clock", "calendar-minus", "calendar-plus", "calendar-search", "camera", "case-lower", "case-upper", "chart-no-axes-column", "chart-no-axes-combined", "check-check", "chevron-left", "chevron-right", "chevrons-left", "chevrons-right", "circle-check", "circle-dashed", "circle-slash", "circle-x", "clock", "code", "copy-x", "corner-down-left", "database", "dices", "equal", "equal-not", "file-input", "file-output", "file-terminal", "file-text", "filter", "fingerprint", "flag", "flask", "folder-plus", "folder-search", "function", "git-branch", "git-merge", "group", "hash", "hook", "house", "info", "key-round", "list", "list-check", "list-checks", "list-end", "list-filter", "list-ordered", "list-restart", "list-start", "list-tree", "merge", "monitor", "octagon-x", "package", "package-x", "pencil", "play", "regex", "remove-formatting", "repeat", "repeat-2", "replace", "ruler", "scan-eye", "scissors", "search", "search-check", "server-cog", "settings", "shapes", "shield-alert", "shield-check", "shuffle", "sigma", "space", "split", "terminal", "test-tube", "text-cursor", "text-cursor-input", "ticket", "truck", "type", "typescript", "ungroup", "variable", "wand", "wave", "webhook", "workflow", "x"]>>;
|
|
32
|
+
opens: z.ZodString;
|
|
33
|
+
}, "strict", z.ZodTypeAny, {
|
|
34
|
+
id: string;
|
|
35
|
+
target: "shell.navbar.action" | "shell.navigation.item" | "shell.command";
|
|
36
|
+
title: string;
|
|
37
|
+
opens: string;
|
|
38
|
+
icon?: "function" | "info" | "arrow-up-down" | "asterisk" | "binary" | "bomb" | "box" | "boxes" | "braces" | "calculator" | "calendar" | "calendar-clock" | "calendar-minus" | "calendar-plus" | "calendar-search" | "camera" | "case-lower" | "case-upper" | "chart-no-axes-column" | "chart-no-axes-combined" | "check-check" | "chevron-left" | "chevron-right" | "chevrons-left" | "chevrons-right" | "circle-check" | "circle-dashed" | "circle-slash" | "circle-x" | "clock" | "code" | "copy-x" | "corner-down-left" | "database" | "dices" | "equal" | "equal-not" | "file-input" | "file-output" | "file-terminal" | "file-text" | "filter" | "fingerprint" | "flag" | "flask" | "folder-plus" | "folder-search" | "git-branch" | "git-merge" | "group" | "hash" | "hook" | "house" | "key-round" | "list" | "list-check" | "list-checks" | "list-end" | "list-filter" | "list-ordered" | "list-restart" | "list-start" | "list-tree" | "merge" | "monitor" | "octagon-x" | "package" | "package-x" | "pencil" | "play" | "regex" | "remove-formatting" | "repeat" | "repeat-2" | "replace" | "ruler" | "scan-eye" | "scissors" | "search" | "search-check" | "server-cog" | "settings" | "shapes" | "shield-alert" | "shield-check" | "shuffle" | "sigma" | "space" | "split" | "terminal" | "test-tube" | "text-cursor" | "text-cursor-input" | "ticket" | "truck" | "type" | "typescript" | "ungroup" | "variable" | "wand" | "wave" | "webhook" | "workflow" | "x" | undefined;
|
|
39
|
+
}, {
|
|
40
|
+
id: string;
|
|
41
|
+
target: "shell.navbar.action" | "shell.navigation.item" | "shell.command";
|
|
42
|
+
title: string;
|
|
43
|
+
opens: string;
|
|
44
|
+
icon?: "function" | "info" | "arrow-up-down" | "asterisk" | "binary" | "bomb" | "box" | "boxes" | "braces" | "calculator" | "calendar" | "calendar-clock" | "calendar-minus" | "calendar-plus" | "calendar-search" | "camera" | "case-lower" | "case-upper" | "chart-no-axes-column" | "chart-no-axes-combined" | "check-check" | "chevron-left" | "chevron-right" | "chevrons-left" | "chevrons-right" | "circle-check" | "circle-dashed" | "circle-slash" | "circle-x" | "clock" | "code" | "copy-x" | "corner-down-left" | "database" | "dices" | "equal" | "equal-not" | "file-input" | "file-output" | "file-terminal" | "file-text" | "filter" | "fingerprint" | "flag" | "flask" | "folder-plus" | "folder-search" | "git-branch" | "git-merge" | "group" | "hash" | "hook" | "house" | "key-round" | "list" | "list-check" | "list-checks" | "list-end" | "list-filter" | "list-ordered" | "list-restart" | "list-start" | "list-tree" | "merge" | "monitor" | "octagon-x" | "package" | "package-x" | "pencil" | "play" | "regex" | "remove-formatting" | "repeat" | "repeat-2" | "replace" | "ruler" | "scan-eye" | "scissors" | "search" | "search-check" | "server-cog" | "settings" | "shapes" | "shield-alert" | "shield-check" | "shuffle" | "sigma" | "space" | "split" | "terminal" | "test-tube" | "text-cursor" | "text-cursor-input" | "ticket" | "truck" | "type" | "typescript" | "ungroup" | "variable" | "wand" | "wave" | "webhook" | "workflow" | "x" | undefined;
|
|
45
|
+
}>;
|
|
46
|
+
export declare const appContributionSchema: z.ZodObject<{
|
|
47
|
+
id: z.ZodString;
|
|
48
|
+
target: z.ZodEnum<["app.page", "workspace.block", "shell.panel", "shell.dock", "project.tab", "project.overview.block", "workflow.tab", "workflow.inspector.block", "node.view", "node.inspector.tab", "node.inspector.block", "task.space.view", "task.details.tab", "task.details.block", "task.card.badge", "document.tab", "document.panel", "editor.panel", "git.diff.panel", "table.view", "execution.details.block", "app.settings.section", "project.settings.section", "project.action", "file.action", "editor.action", "editor.selection-action", "workflow.action", "workflow.canvas.action", "workflow.selection-action", "workflow.edge.action", "node.action", "task.space.action", "task.action", "document.action", "document.selection-action", "document.block.action", "document.slash-command", "document.review.action", "git.diff.action", "table.action", "execution.action"]>;
|
|
49
|
+
title: z.ZodString;
|
|
50
|
+
icon: z.ZodOptional<z.ZodEnum<["arrow-up-down", "asterisk", "binary", "bomb", "box", "boxes", "braces", "calculator", "calendar", "calendar-clock", "calendar-minus", "calendar-plus", "calendar-search", "camera", "case-lower", "case-upper", "chart-no-axes-column", "chart-no-axes-combined", "check-check", "chevron-left", "chevron-right", "chevrons-left", "chevrons-right", "circle-check", "circle-dashed", "circle-slash", "circle-x", "clock", "code", "copy-x", "corner-down-left", "database", "dices", "equal", "equal-not", "file-input", "file-output", "file-terminal", "file-text", "filter", "fingerprint", "flag", "flask", "folder-plus", "folder-search", "function", "git-branch", "git-merge", "group", "hash", "hook", "house", "info", "key-round", "list", "list-check", "list-checks", "list-end", "list-filter", "list-ordered", "list-restart", "list-start", "list-tree", "merge", "monitor", "octagon-x", "package", "package-x", "pencil", "play", "regex", "remove-formatting", "repeat", "repeat-2", "replace", "ruler", "scan-eye", "scissors", "search", "search-check", "server-cog", "settings", "shapes", "shield-alert", "shield-check", "shuffle", "sigma", "space", "split", "terminal", "test-tube", "text-cursor", "text-cursor-input", "ticket", "truck", "type", "typescript", "ungroup", "variable", "wand", "wave", "webhook", "workflow", "x"]>>;
|
|
51
|
+
path: z.ZodString;
|
|
52
|
+
sha256: z.ZodString;
|
|
53
|
+
when: z.ZodOptional<z.ZodObject<{
|
|
54
|
+
hasProject: z.ZodOptional<z.ZodBoolean>;
|
|
55
|
+
hasSelection: z.ZodOptional<z.ZodBoolean>;
|
|
56
|
+
readOnly: z.ZodOptional<z.ZodBoolean>;
|
|
57
|
+
nodeKind: z.ZodOptional<z.ZodString>;
|
|
58
|
+
documentFormat: z.ZodOptional<z.ZodEnum<["markdown", "html", "latex"]>>;
|
|
59
|
+
}, "strict", z.ZodTypeAny, {
|
|
60
|
+
hasProject?: boolean | undefined;
|
|
61
|
+
hasSelection?: boolean | undefined;
|
|
62
|
+
readOnly?: boolean | undefined;
|
|
63
|
+
nodeKind?: string | undefined;
|
|
64
|
+
documentFormat?: "markdown" | "html" | "latex" | undefined;
|
|
65
|
+
}, {
|
|
66
|
+
hasProject?: boolean | undefined;
|
|
67
|
+
hasSelection?: boolean | undefined;
|
|
68
|
+
readOnly?: boolean | undefined;
|
|
69
|
+
nodeKind?: string | undefined;
|
|
70
|
+
documentFormat?: "markdown" | "html" | "latex" | undefined;
|
|
71
|
+
}>>;
|
|
72
|
+
}, "strict", z.ZodTypeAny, {
|
|
73
|
+
id: string;
|
|
74
|
+
path: string;
|
|
75
|
+
target: "app.page" | "workspace.block" | "shell.panel" | "shell.dock" | "project.tab" | "project.overview.block" | "workflow.tab" | "workflow.inspector.block" | "node.view" | "node.inspector.tab" | "node.inspector.block" | "task.space.view" | "task.details.tab" | "task.details.block" | "task.card.badge" | "document.tab" | "document.panel" | "editor.panel" | "git.diff.panel" | "table.view" | "execution.details.block" | "app.settings.section" | "project.settings.section" | "project.action" | "file.action" | "editor.action" | "editor.selection-action" | "workflow.action" | "workflow.canvas.action" | "workflow.selection-action" | "workflow.edge.action" | "node.action" | "task.space.action" | "task.action" | "document.action" | "document.selection-action" | "document.block.action" | "document.slash-command" | "document.review.action" | "git.diff.action" | "table.action" | "execution.action";
|
|
76
|
+
title: string;
|
|
77
|
+
sha256: string;
|
|
78
|
+
icon?: "function" | "info" | "arrow-up-down" | "asterisk" | "binary" | "bomb" | "box" | "boxes" | "braces" | "calculator" | "calendar" | "calendar-clock" | "calendar-minus" | "calendar-plus" | "calendar-search" | "camera" | "case-lower" | "case-upper" | "chart-no-axes-column" | "chart-no-axes-combined" | "check-check" | "chevron-left" | "chevron-right" | "chevrons-left" | "chevrons-right" | "circle-check" | "circle-dashed" | "circle-slash" | "circle-x" | "clock" | "code" | "copy-x" | "corner-down-left" | "database" | "dices" | "equal" | "equal-not" | "file-input" | "file-output" | "file-terminal" | "file-text" | "filter" | "fingerprint" | "flag" | "flask" | "folder-plus" | "folder-search" | "git-branch" | "git-merge" | "group" | "hash" | "hook" | "house" | "key-round" | "list" | "list-check" | "list-checks" | "list-end" | "list-filter" | "list-ordered" | "list-restart" | "list-start" | "list-tree" | "merge" | "monitor" | "octagon-x" | "package" | "package-x" | "pencil" | "play" | "regex" | "remove-formatting" | "repeat" | "repeat-2" | "replace" | "ruler" | "scan-eye" | "scissors" | "search" | "search-check" | "server-cog" | "settings" | "shapes" | "shield-alert" | "shield-check" | "shuffle" | "sigma" | "space" | "split" | "terminal" | "test-tube" | "text-cursor" | "text-cursor-input" | "ticket" | "truck" | "type" | "typescript" | "ungroup" | "variable" | "wand" | "wave" | "webhook" | "workflow" | "x" | undefined;
|
|
79
|
+
when?: {
|
|
80
|
+
hasProject?: boolean | undefined;
|
|
81
|
+
hasSelection?: boolean | undefined;
|
|
82
|
+
readOnly?: boolean | undefined;
|
|
83
|
+
nodeKind?: string | undefined;
|
|
84
|
+
documentFormat?: "markdown" | "html" | "latex" | undefined;
|
|
85
|
+
} | undefined;
|
|
86
|
+
}, {
|
|
87
|
+
id: string;
|
|
88
|
+
path: string;
|
|
89
|
+
target: "app.page" | "workspace.block" | "shell.panel" | "shell.dock" | "project.tab" | "project.overview.block" | "workflow.tab" | "workflow.inspector.block" | "node.view" | "node.inspector.tab" | "node.inspector.block" | "task.space.view" | "task.details.tab" | "task.details.block" | "task.card.badge" | "document.tab" | "document.panel" | "editor.panel" | "git.diff.panel" | "table.view" | "execution.details.block" | "app.settings.section" | "project.settings.section" | "project.action" | "file.action" | "editor.action" | "editor.selection-action" | "workflow.action" | "workflow.canvas.action" | "workflow.selection-action" | "workflow.edge.action" | "node.action" | "task.space.action" | "task.action" | "document.action" | "document.selection-action" | "document.block.action" | "document.slash-command" | "document.review.action" | "git.diff.action" | "table.action" | "execution.action";
|
|
90
|
+
title: string;
|
|
91
|
+
sha256: string;
|
|
92
|
+
icon?: "function" | "info" | "arrow-up-down" | "asterisk" | "binary" | "bomb" | "box" | "boxes" | "braces" | "calculator" | "calendar" | "calendar-clock" | "calendar-minus" | "calendar-plus" | "calendar-search" | "camera" | "case-lower" | "case-upper" | "chart-no-axes-column" | "chart-no-axes-combined" | "check-check" | "chevron-left" | "chevron-right" | "chevrons-left" | "chevrons-right" | "circle-check" | "circle-dashed" | "circle-slash" | "circle-x" | "clock" | "code" | "copy-x" | "corner-down-left" | "database" | "dices" | "equal" | "equal-not" | "file-input" | "file-output" | "file-terminal" | "file-text" | "filter" | "fingerprint" | "flag" | "flask" | "folder-plus" | "folder-search" | "git-branch" | "git-merge" | "group" | "hash" | "hook" | "house" | "key-round" | "list" | "list-check" | "list-checks" | "list-end" | "list-filter" | "list-ordered" | "list-restart" | "list-start" | "list-tree" | "merge" | "monitor" | "octagon-x" | "package" | "package-x" | "pencil" | "play" | "regex" | "remove-formatting" | "repeat" | "repeat-2" | "replace" | "ruler" | "scan-eye" | "scissors" | "search" | "search-check" | "server-cog" | "settings" | "shapes" | "shield-alert" | "shield-check" | "shuffle" | "sigma" | "space" | "split" | "terminal" | "test-tube" | "text-cursor" | "text-cursor-input" | "ticket" | "truck" | "type" | "typescript" | "ungroup" | "variable" | "wand" | "wave" | "webhook" | "workflow" | "x" | undefined;
|
|
93
|
+
when?: {
|
|
94
|
+
hasProject?: boolean | undefined;
|
|
95
|
+
hasSelection?: boolean | undefined;
|
|
96
|
+
readOnly?: boolean | undefined;
|
|
97
|
+
nodeKind?: string | undefined;
|
|
98
|
+
documentFormat?: "markdown" | "html" | "latex" | undefined;
|
|
99
|
+
} | undefined;
|
|
100
|
+
}>;
|
|
101
|
+
export declare const appContributionContextSchema: z.ZodObject<{
|
|
102
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
103
|
+
worktreeId: z.ZodOptional<z.ZodString>;
|
|
104
|
+
workflowId: z.ZodOptional<z.ZodString>;
|
|
105
|
+
nodeId: z.ZodOptional<z.ZodString>;
|
|
106
|
+
nodeKind: z.ZodOptional<z.ZodString>;
|
|
107
|
+
edgeId: z.ZodOptional<z.ZodString>;
|
|
108
|
+
executionId: z.ZodOptional<z.ZodString>;
|
|
109
|
+
taskSpaceId: z.ZodOptional<z.ZodString>;
|
|
110
|
+
itemId: z.ZodOptional<z.ZodString>;
|
|
111
|
+
documentId: z.ZodOptional<z.ZodString>;
|
|
112
|
+
documentFormat: z.ZodOptional<z.ZodEnum<["markdown", "html", "latex"]>>;
|
|
113
|
+
tableId: z.ZodOptional<z.ZodString>;
|
|
114
|
+
rowId: z.ZodOptional<z.ZodString>;
|
|
115
|
+
filePath: z.ZodOptional<z.ZodString>;
|
|
116
|
+
revision: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
117
|
+
draftRevision: z.ZodOptional<z.ZodNumber>;
|
|
118
|
+
selection: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
119
|
+
start: z.ZodNumber;
|
|
120
|
+
end: z.ZodNumber;
|
|
121
|
+
}, "strict", z.ZodTypeAny, {
|
|
122
|
+
start: number;
|
|
123
|
+
end: number;
|
|
124
|
+
}, {
|
|
125
|
+
start: number;
|
|
126
|
+
end: number;
|
|
127
|
+
}>, {
|
|
128
|
+
start: number;
|
|
129
|
+
end: number;
|
|
130
|
+
}, {
|
|
131
|
+
start: number;
|
|
132
|
+
end: number;
|
|
133
|
+
}>>;
|
|
134
|
+
selectedIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
135
|
+
canvas: z.ZodOptional<z.ZodObject<{
|
|
136
|
+
x: z.ZodNumber;
|
|
137
|
+
y: z.ZodNumber;
|
|
138
|
+
}, "strict", z.ZodTypeAny, {
|
|
139
|
+
x: number;
|
|
140
|
+
y: number;
|
|
141
|
+
}, {
|
|
142
|
+
x: number;
|
|
143
|
+
y: number;
|
|
144
|
+
}>>;
|
|
145
|
+
readOnly: z.ZodDefault<z.ZodBoolean>;
|
|
146
|
+
tasks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
147
|
+
itemId: z.ZodString;
|
|
148
|
+
taskSpaceId: z.ZodString;
|
|
149
|
+
revision: z.ZodNumber;
|
|
150
|
+
}, "strict", z.ZodTypeAny, {
|
|
151
|
+
taskSpaceId: string;
|
|
152
|
+
itemId: string;
|
|
153
|
+
revision: number;
|
|
154
|
+
}, {
|
|
155
|
+
taskSpaceId: string;
|
|
156
|
+
itemId: string;
|
|
157
|
+
revision: number;
|
|
158
|
+
}>, "many">>;
|
|
159
|
+
nodes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
160
|
+
id: z.ZodString;
|
|
161
|
+
kind: z.ZodOptional<z.ZodString>;
|
|
162
|
+
label: z.ZodOptional<z.ZodString>;
|
|
163
|
+
}, "strict", z.ZodTypeAny, {
|
|
164
|
+
id: string;
|
|
165
|
+
label?: string | undefined;
|
|
166
|
+
kind?: string | undefined;
|
|
167
|
+
}, {
|
|
168
|
+
id: string;
|
|
169
|
+
label?: string | undefined;
|
|
170
|
+
kind?: string | undefined;
|
|
171
|
+
}>, "many">>;
|
|
172
|
+
}, "strict", z.ZodTypeAny, {
|
|
173
|
+
readOnly: boolean;
|
|
174
|
+
nodes?: {
|
|
175
|
+
id: string;
|
|
176
|
+
label?: string | undefined;
|
|
177
|
+
kind?: string | undefined;
|
|
178
|
+
}[] | undefined;
|
|
179
|
+
workflowId?: string | undefined;
|
|
180
|
+
projectId?: string | undefined;
|
|
181
|
+
tableId?: string | undefined;
|
|
182
|
+
rowId?: string | undefined;
|
|
183
|
+
nodeId?: string | undefined;
|
|
184
|
+
nodeKind?: string | undefined;
|
|
185
|
+
documentFormat?: "markdown" | "html" | "latex" | undefined;
|
|
186
|
+
worktreeId?: string | undefined;
|
|
187
|
+
edgeId?: string | undefined;
|
|
188
|
+
executionId?: string | undefined;
|
|
189
|
+
taskSpaceId?: string | undefined;
|
|
190
|
+
itemId?: string | undefined;
|
|
191
|
+
documentId?: string | undefined;
|
|
192
|
+
filePath?: string | undefined;
|
|
193
|
+
revision?: string | number | undefined;
|
|
194
|
+
draftRevision?: number | undefined;
|
|
195
|
+
selection?: {
|
|
196
|
+
start: number;
|
|
197
|
+
end: number;
|
|
198
|
+
} | undefined;
|
|
199
|
+
selectedIds?: string[] | undefined;
|
|
200
|
+
canvas?: {
|
|
201
|
+
x: number;
|
|
202
|
+
y: number;
|
|
203
|
+
} | undefined;
|
|
204
|
+
tasks?: {
|
|
205
|
+
taskSpaceId: string;
|
|
206
|
+
itemId: string;
|
|
207
|
+
revision: number;
|
|
208
|
+
}[] | undefined;
|
|
209
|
+
}, {
|
|
210
|
+
nodes?: {
|
|
211
|
+
id: string;
|
|
212
|
+
label?: string | undefined;
|
|
213
|
+
kind?: string | undefined;
|
|
214
|
+
}[] | undefined;
|
|
215
|
+
workflowId?: string | undefined;
|
|
216
|
+
projectId?: string | undefined;
|
|
217
|
+
tableId?: string | undefined;
|
|
218
|
+
rowId?: string | undefined;
|
|
219
|
+
nodeId?: string | undefined;
|
|
220
|
+
readOnly?: boolean | undefined;
|
|
221
|
+
nodeKind?: string | undefined;
|
|
222
|
+
documentFormat?: "markdown" | "html" | "latex" | undefined;
|
|
223
|
+
worktreeId?: string | undefined;
|
|
224
|
+
edgeId?: string | undefined;
|
|
225
|
+
executionId?: string | undefined;
|
|
226
|
+
taskSpaceId?: string | undefined;
|
|
227
|
+
itemId?: string | undefined;
|
|
228
|
+
documentId?: string | undefined;
|
|
229
|
+
filePath?: string | undefined;
|
|
230
|
+
revision?: string | number | undefined;
|
|
231
|
+
draftRevision?: number | undefined;
|
|
232
|
+
selection?: {
|
|
233
|
+
start: number;
|
|
234
|
+
end: number;
|
|
235
|
+
} | undefined;
|
|
236
|
+
selectedIds?: string[] | undefined;
|
|
237
|
+
canvas?: {
|
|
238
|
+
x: number;
|
|
239
|
+
y: number;
|
|
240
|
+
} | undefined;
|
|
241
|
+
tasks?: {
|
|
242
|
+
taskSpaceId: string;
|
|
243
|
+
itemId: string;
|
|
244
|
+
revision: number;
|
|
245
|
+
}[] | undefined;
|
|
246
|
+
}>;
|
|
247
|
+
export type AppContributionContext = z.infer<typeof appContributionContextSchema>;
|
|
248
|
+
export type AppContribution = z.infer<typeof appContributionSchema>;
|
|
249
|
+
export type AppLauncher = z.infer<typeof appLauncherSchema>;
|
|
250
|
+
export declare const appHostRequestSchema: z.ZodDiscriminatedUnion<"command", [z.ZodObject<{
|
|
251
|
+
command: z.ZodLiteral<"panel.open">;
|
|
252
|
+
id: z.ZodString;
|
|
253
|
+
}, "strict", z.ZodTypeAny, {
|
|
254
|
+
id: string;
|
|
255
|
+
command: "panel.open";
|
|
256
|
+
}, {
|
|
257
|
+
id: string;
|
|
258
|
+
command: "panel.open";
|
|
259
|
+
}>, z.ZodObject<{
|
|
260
|
+
command: z.ZodLiteral<"assistant.open">;
|
|
261
|
+
suggestion: z.ZodOptional<z.ZodString>;
|
|
262
|
+
}, "strict", z.ZodTypeAny, {
|
|
263
|
+
command: "assistant.open";
|
|
264
|
+
suggestion?: string | undefined;
|
|
265
|
+
}, {
|
|
266
|
+
command: "assistant.open";
|
|
267
|
+
suggestion?: string | undefined;
|
|
268
|
+
}>, z.ZodObject<{
|
|
269
|
+
command: z.ZodLiteral<"layout.list">;
|
|
270
|
+
}, "strict", z.ZodTypeAny, {
|
|
271
|
+
command: "layout.list";
|
|
272
|
+
}, {
|
|
273
|
+
command: "layout.list";
|
|
274
|
+
}>, z.ZodObject<{
|
|
275
|
+
command: z.ZodLiteral<"layout.undo">;
|
|
276
|
+
scope: z.ZodString;
|
|
277
|
+
revision: z.ZodString;
|
|
278
|
+
}, "strict", z.ZodTypeAny, {
|
|
279
|
+
scope: string;
|
|
280
|
+
revision: string;
|
|
281
|
+
command: "layout.undo";
|
|
282
|
+
}, {
|
|
283
|
+
scope: string;
|
|
284
|
+
revision: string;
|
|
285
|
+
command: "layout.undo";
|
|
286
|
+
}>, z.ZodObject<{
|
|
287
|
+
command: z.ZodLiteral<"layout.update">;
|
|
288
|
+
scope: z.ZodString;
|
|
289
|
+
revision: z.ZodString;
|
|
290
|
+
items: z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
291
|
+
id: z.ZodEffects<z.ZodString, string, string>;
|
|
292
|
+
label: z.ZodOptional<z.ZodString>;
|
|
293
|
+
pinned: z.ZodOptional<z.ZodBoolean>;
|
|
294
|
+
}, "strict", z.ZodTypeAny, {
|
|
295
|
+
id: string;
|
|
296
|
+
pinned?: boolean | undefined;
|
|
297
|
+
label?: string | undefined;
|
|
298
|
+
}, {
|
|
299
|
+
id: string;
|
|
300
|
+
pinned?: boolean | undefined;
|
|
301
|
+
label?: string | undefined;
|
|
302
|
+
}>, "many">, {
|
|
303
|
+
id: string;
|
|
304
|
+
pinned?: boolean | undefined;
|
|
305
|
+
label?: string | undefined;
|
|
306
|
+
}[], {
|
|
307
|
+
id: string;
|
|
308
|
+
pinned?: boolean | undefined;
|
|
309
|
+
label?: string | undefined;
|
|
310
|
+
}[]>;
|
|
311
|
+
}, "strict", z.ZodTypeAny, {
|
|
312
|
+
scope: string;
|
|
313
|
+
revision: string;
|
|
314
|
+
command: "layout.update";
|
|
315
|
+
items: {
|
|
316
|
+
id: string;
|
|
317
|
+
pinned?: boolean | undefined;
|
|
318
|
+
label?: string | undefined;
|
|
319
|
+
}[];
|
|
320
|
+
}, {
|
|
321
|
+
scope: string;
|
|
322
|
+
revision: string;
|
|
323
|
+
command: "layout.update";
|
|
324
|
+
items: {
|
|
325
|
+
id: string;
|
|
326
|
+
pinned?: boolean | undefined;
|
|
327
|
+
label?: string | undefined;
|
|
328
|
+
}[];
|
|
329
|
+
}>, z.ZodObject<{
|
|
330
|
+
command: z.ZodLiteral<"edit.propose">;
|
|
331
|
+
resource: z.ZodEnum<["file", "document"]>;
|
|
332
|
+
baseRevision: z.ZodString;
|
|
333
|
+
draftRevision: z.ZodNumber;
|
|
334
|
+
content: z.ZodString;
|
|
335
|
+
mode: z.ZodEnum<["append", "replace", "replace-selection"]>;
|
|
336
|
+
}, "strict", z.ZodTypeAny, {
|
|
337
|
+
resource: "file" | "document";
|
|
338
|
+
mode: "replace" | "append" | "replace-selection";
|
|
339
|
+
baseRevision: string;
|
|
340
|
+
draftRevision: number;
|
|
341
|
+
command: "edit.propose";
|
|
342
|
+
content: string;
|
|
343
|
+
}, {
|
|
344
|
+
resource: "file" | "document";
|
|
345
|
+
mode: "replace" | "append" | "replace-selection";
|
|
346
|
+
baseRevision: string;
|
|
347
|
+
draftRevision: number;
|
|
348
|
+
command: "edit.propose";
|
|
349
|
+
content: string;
|
|
350
|
+
}>]>;
|
|
351
|
+
export type AppHostRequest = z.infer<typeof appHostRequestSchema>;
|
|
352
|
+
//# sourceMappingURL=contributions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"contributions.d.ts","sourceRoot":"","sources":["../../../../../src/plugins/schema/app/contributions/contributions.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,aAAa,0cAA2B,CAAC;AACtD,eAAO,MAAM,eAAe,maAA6B,CAAC;AAC1D,eAAO,MAAM,qBAAqB,g2BAAuD,CAAC;AAC1F,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAC1E,eAAO,MAAM,iBAAiB,aAGnB,CAAC;AACZ,eAAO,MAAM,oBAAoB,aAAoC,CAAC;AACtE,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;EAQrB,CAAC;AACZ,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;EAQnB,CAAC;AACZ,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAavB,CAAC;AACZ,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmD9B,CAAC;AACZ,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAC;AAClF,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AACpE,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAC5D,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAmC/B,CAAC;AACH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC"}
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.appHostRequestSchema = exports.appContributionContextSchema = exports.appContributionSchema = exports.appLauncherSchema = exports.appContributionWhen = exports.appContributionTitle = exports.appContributionId = exports.AppContributionTarget = exports.AppActionTarget = exports.AppViewTarget = void 0;
|
|
4
|
+
// Generated from packages/schema/src/app/contributions/contributions.ts. Do not edit; run the Octonode SDK sync.
|
|
5
|
+
const zod_1 = require("zod");
|
|
6
|
+
const icons_1 = require("../../icons.js");
|
|
7
|
+
const layout_1 = require("../../personal/layout.js");
|
|
8
|
+
const constants_1 = require("./constants/index.js");
|
|
9
|
+
exports.AppViewTarget = zod_1.z.enum(constants_1.APP_VIEW_TARGETS);
|
|
10
|
+
exports.AppActionTarget = zod_1.z.enum(constants_1.APP_ACTION_TARGETS);
|
|
11
|
+
exports.AppContributionTarget = zod_1.z.enum([...constants_1.APP_VIEW_TARGETS, ...constants_1.APP_ACTION_TARGETS]);
|
|
12
|
+
exports.appContributionId = zod_1.z
|
|
13
|
+
.string()
|
|
14
|
+
.regex(/^[a-z0-9][a-z0-9-]*$/)
|
|
15
|
+
.max(100);
|
|
16
|
+
exports.appContributionTitle = zod_1.z.string().trim().min(1).max(240);
|
|
17
|
+
exports.appContributionWhen = zod_1.z
|
|
18
|
+
.object({
|
|
19
|
+
hasProject: zod_1.z.boolean().optional(),
|
|
20
|
+
hasSelection: zod_1.z.boolean().optional(),
|
|
21
|
+
readOnly: zod_1.z.boolean().optional(),
|
|
22
|
+
nodeKind: zod_1.z.string().min(1).max(240).optional(),
|
|
23
|
+
documentFormat: zod_1.z.enum(["markdown", "html", "latex"]).optional(),
|
|
24
|
+
})
|
|
25
|
+
.strict();
|
|
26
|
+
exports.appLauncherSchema = zod_1.z
|
|
27
|
+
.object({
|
|
28
|
+
id: exports.appContributionId,
|
|
29
|
+
target: zod_1.z.enum(constants_1.APP_LAUNCHER_TARGETS),
|
|
30
|
+
title: exports.appContributionTitle,
|
|
31
|
+
icon: icons_1.IconName.optional(),
|
|
32
|
+
opens: exports.appContributionId,
|
|
33
|
+
})
|
|
34
|
+
.strict();
|
|
35
|
+
exports.appContributionSchema = zod_1.z
|
|
36
|
+
.object({
|
|
37
|
+
id: exports.appContributionId,
|
|
38
|
+
target: exports.AppContributionTarget,
|
|
39
|
+
title: exports.appContributionTitle,
|
|
40
|
+
icon: icons_1.IconName.optional(),
|
|
41
|
+
path: zod_1.z
|
|
42
|
+
.string()
|
|
43
|
+
.regex(/^extensions\/[a-z0-9][a-z0-9-]*\.js$/)
|
|
44
|
+
.max(150),
|
|
45
|
+
sha256: zod_1.z.string().regex(/^sha256:[a-f0-9]{64}$/),
|
|
46
|
+
when: exports.appContributionWhen.optional(),
|
|
47
|
+
})
|
|
48
|
+
.strict();
|
|
49
|
+
exports.appContributionContextSchema = zod_1.z
|
|
50
|
+
.object({
|
|
51
|
+
projectId: zod_1.z.string().min(1).max(128).optional(),
|
|
52
|
+
worktreeId: zod_1.z.string().min(1).max(240).optional(),
|
|
53
|
+
workflowId: zod_1.z.string().min(1).max(240).optional(),
|
|
54
|
+
nodeId: zod_1.z.string().min(1).max(240).optional(),
|
|
55
|
+
nodeKind: zod_1.z.string().min(1).max(240).optional(),
|
|
56
|
+
edgeId: zod_1.z.string().min(1).max(500).optional(),
|
|
57
|
+
executionId: zod_1.z.string().min(1).max(128).optional(),
|
|
58
|
+
taskSpaceId: zod_1.z.string().min(1).max(128).optional(),
|
|
59
|
+
itemId: zod_1.z.string().min(1).max(128).optional(),
|
|
60
|
+
documentId: zod_1.z.string().min(1).max(128).optional(),
|
|
61
|
+
documentFormat: zod_1.z.enum(["markdown", "html", "latex"]).optional(),
|
|
62
|
+
tableId: zod_1.z.string().min(1).max(128).optional(),
|
|
63
|
+
rowId: zod_1.z.string().min(1).max(128).optional(),
|
|
64
|
+
filePath: zod_1.z.string().min(1).max(1024).optional(),
|
|
65
|
+
revision: zod_1.z.union([zod_1.z.string().max(240), zod_1.z.number().int().nonnegative()]).optional(),
|
|
66
|
+
draftRevision: zod_1.z.number().int().nonnegative().optional(),
|
|
67
|
+
selection: zod_1.z
|
|
68
|
+
.object({ start: zod_1.z.number().int().nonnegative(), end: zod_1.z.number().int().nonnegative() })
|
|
69
|
+
.strict()
|
|
70
|
+
.refine((value) => value.end >= value.start)
|
|
71
|
+
.optional(),
|
|
72
|
+
selectedIds: zod_1.z.array(zod_1.z.string().min(1).max(500)).max(100).optional(),
|
|
73
|
+
canvas: zod_1.z.object({ x: zod_1.z.number().finite(), y: zod_1.z.number().finite() }).strict().optional(),
|
|
74
|
+
readOnly: zod_1.z.boolean().default(true),
|
|
75
|
+
tasks: zod_1.z
|
|
76
|
+
.array(zod_1.z
|
|
77
|
+
.object({
|
|
78
|
+
itemId: zod_1.z.string().min(1).max(128),
|
|
79
|
+
taskSpaceId: zod_1.z.string().min(1).max(128),
|
|
80
|
+
revision: zod_1.z.number().int().nonnegative(),
|
|
81
|
+
})
|
|
82
|
+
.strict())
|
|
83
|
+
.max(100)
|
|
84
|
+
.optional(),
|
|
85
|
+
nodes: zod_1.z
|
|
86
|
+
.array(zod_1.z
|
|
87
|
+
.object({
|
|
88
|
+
id: zod_1.z.string().min(1).max(240),
|
|
89
|
+
kind: zod_1.z.string().max(240).optional(),
|
|
90
|
+
label: zod_1.z.string().max(240).optional(),
|
|
91
|
+
})
|
|
92
|
+
.strict())
|
|
93
|
+
.max(100)
|
|
94
|
+
.optional(),
|
|
95
|
+
})
|
|
96
|
+
.strict();
|
|
97
|
+
exports.appHostRequestSchema = zod_1.z.discriminatedUnion("command", [
|
|
98
|
+
zod_1.z.object({ command: zod_1.z.literal("panel.open"), id: exports.appContributionId }).strict(),
|
|
99
|
+
zod_1.z.object({ command: zod_1.z.literal("assistant.open"), suggestion: zod_1.z.string().max(8000).optional() }).strict(),
|
|
100
|
+
zod_1.z.object({ command: zod_1.z.literal("layout.list") }).strict(),
|
|
101
|
+
zod_1.z
|
|
102
|
+
.object({
|
|
103
|
+
command: zod_1.z.literal("layout.undo"),
|
|
104
|
+
scope: zod_1.z
|
|
105
|
+
.string()
|
|
106
|
+
.regex(/^[a-z][a-z0-9.-]*$/)
|
|
107
|
+
.max(100),
|
|
108
|
+
revision: zod_1.z.string().min(1).max(240),
|
|
109
|
+
})
|
|
110
|
+
.strict(),
|
|
111
|
+
zod_1.z
|
|
112
|
+
.object({
|
|
113
|
+
command: zod_1.z.literal("layout.update"),
|
|
114
|
+
scope: zod_1.z
|
|
115
|
+
.string()
|
|
116
|
+
.regex(/^[a-z][a-z0-9.-]*$/)
|
|
117
|
+
.max(100),
|
|
118
|
+
revision: zod_1.z.string().min(1).max(240),
|
|
119
|
+
items: layout_1.PersonalLayoutItems,
|
|
120
|
+
})
|
|
121
|
+
.strict(),
|
|
122
|
+
zod_1.z
|
|
123
|
+
.object({
|
|
124
|
+
command: zod_1.z.literal("edit.propose"),
|
|
125
|
+
resource: zod_1.z.enum(["file", "document"]),
|
|
126
|
+
baseRevision: zod_1.z.string().min(1).max(240),
|
|
127
|
+
draftRevision: zod_1.z.number().int().nonnegative(),
|
|
128
|
+
content: zod_1.z.string().max(12000),
|
|
129
|
+
mode: zod_1.z.enum(["append", "replace", "replace-selection"]),
|
|
130
|
+
})
|
|
131
|
+
.strict(),
|
|
132
|
+
]);
|
|
133
|
+
//# sourceMappingURL=contributions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"contributions.js","sourceRoot":"","sources":["../../../../../src/plugins/schema/app/contributions/contributions.ts"],"names":[],"mappings":";;;AAAA,iHAAiH;AACjH,6BAAwB;AACxB,0CAAuC;AACvC,qDAA4D;AAC5D,oDAAyF;AAC5E,QAAA,aAAa,GAAG,OAAC,CAAC,IAAI,CAAC,4BAAgB,CAAC,CAAC;AACzC,QAAA,eAAe,GAAG,OAAC,CAAC,IAAI,CAAC,8BAAkB,CAAC,CAAC;AAC7C,QAAA,qBAAqB,GAAG,OAAC,CAAC,IAAI,CAAC,CAAC,GAAG,4BAAgB,EAAE,GAAG,8BAAkB,CAAC,CAAC,CAAC;AAE7E,QAAA,iBAAiB,GAAG,OAAC;KAC/B,MAAM,EAAE;KACR,KAAK,CAAC,sBAAsB,CAAC;KAC7B,GAAG,CAAC,GAAG,CAAC,CAAC;AACC,QAAA,oBAAoB,GAAG,OAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;AACzD,QAAA,mBAAmB,GAAG,OAAC;KACjC,MAAM,CAAC;IACN,UAAU,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IAClC,YAAY,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IACpC,QAAQ,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IAChC,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,CAA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AC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,KAAK,CAAC;QAC9B,IAAI,EAAE,OAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,SAAS,EAAE,mBAAmB,CAAC,CAAC;KACzD,CAAC;SACD,MAAM,EAAE;CACZ,CAAC,CAAC"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { APP_ACTION_TARGETS, APP_LAUNCHER_TARGETS, APP_VIEW_TARGETS } from "./constants/constants.js";
|
|
2
|
+
export { AppViewTarget, AppActionTarget, AppContributionTarget, appContributionId, appContributionTitle, appContributionWhen, appLauncherSchema, appContributionSchema, appContributionContextSchema, type AppContributionContext, type AppContribution, type AppLauncher, appHostRequestSchema, type AppHostRequest, } from "./contributions.js";
|
|
3
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/plugins/schema/app/contributions/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,gBAAgB,EAAE,iCAA8B;AACnG,OAAO,EACL,aAAa,EACb,eAAe,EACf,qBAAqB,EACrB,iBAAiB,EACjB,oBAAoB,EACpB,mBAAmB,EACnB,iBAAiB,EACjB,qBAAqB,EACrB,4BAA4B,EAC5B,KAAK,sBAAsB,EAC3B,KAAK,eAAe,EACpB,KAAK,WAAW,EAChB,oBAAoB,EACpB,KAAK,cAAc,GACpB,2BAAwB"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.appHostRequestSchema = exports.appContributionContextSchema = exports.appContributionSchema = exports.appLauncherSchema = exports.appContributionWhen = exports.appContributionTitle = exports.appContributionId = exports.AppContributionTarget = exports.AppActionTarget = exports.AppViewTarget = exports.APP_VIEW_TARGETS = exports.APP_LAUNCHER_TARGETS = exports.APP_ACTION_TARGETS = void 0;
|
|
4
|
+
// Generated from packages/schema/src/app/contributions/index.ts. Do not edit; run the Octonode SDK sync.
|
|
5
|
+
var constants_1 = require("./constants/constants.js");
|
|
6
|
+
Object.defineProperty(exports, "APP_ACTION_TARGETS", { enumerable: true, get: function () { return constants_1.APP_ACTION_TARGETS; } });
|
|
7
|
+
Object.defineProperty(exports, "APP_LAUNCHER_TARGETS", { enumerable: true, get: function () { return constants_1.APP_LAUNCHER_TARGETS; } });
|
|
8
|
+
Object.defineProperty(exports, "APP_VIEW_TARGETS", { enumerable: true, get: function () { return constants_1.APP_VIEW_TARGETS; } });
|
|
9
|
+
var contributions_1 = require("./contributions.js");
|
|
10
|
+
Object.defineProperty(exports, "AppViewTarget", { enumerable: true, get: function () { return contributions_1.AppViewTarget; } });
|
|
11
|
+
Object.defineProperty(exports, "AppActionTarget", { enumerable: true, get: function () { return contributions_1.AppActionTarget; } });
|
|
12
|
+
Object.defineProperty(exports, "AppContributionTarget", { enumerable: true, get: function () { return contributions_1.AppContributionTarget; } });
|
|
13
|
+
Object.defineProperty(exports, "appContributionId", { enumerable: true, get: function () { return contributions_1.appContributionId; } });
|
|
14
|
+
Object.defineProperty(exports, "appContributionTitle", { enumerable: true, get: function () { return contributions_1.appContributionTitle; } });
|
|
15
|
+
Object.defineProperty(exports, "appContributionWhen", { enumerable: true, get: function () { return contributions_1.appContributionWhen; } });
|
|
16
|
+
Object.defineProperty(exports, "appLauncherSchema", { enumerable: true, get: function () { return contributions_1.appLauncherSchema; } });
|
|
17
|
+
Object.defineProperty(exports, "appContributionSchema", { enumerable: true, get: function () { return contributions_1.appContributionSchema; } });
|
|
18
|
+
Object.defineProperty(exports, "appContributionContextSchema", { enumerable: true, get: function () { return contributions_1.appContributionContextSchema; } });
|
|
19
|
+
Object.defineProperty(exports, "appHostRequestSchema", { enumerable: true, get: function () { return contributions_1.appHostRequestSchema; } });
|
|
20
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/plugins/schema/app/contributions/index.ts"],"names":[],"mappings":";;;AAAA,yGAAyG;AACzG,sDAAmG;AAA1F,+GAAA,kBAAkB,OAAA;AAAE,iHAAA,oBAAoB,OAAA;AAAE,6GAAA,gBAAgB,OAAA;AACnE,oDAeyB;AAdvB,8GAAA,aAAa,OAAA;AACb,gHAAA,eAAe,OAAA;AACf,sHAAA,qBAAqB,OAAA;AACrB,kHAAA,iBAAiB,OAAA;AACjB,qHAAA,oBAAoB,OAAA;AACpB,oHAAA,mBAAmB,OAAA;AACnB,kHAAA,iBAAiB,OAAA;AACjB,sHAAA,qBAAqB,OAAA;AACrB,6HAAA,4BAA4B,OAAA;AAI5B,qHAAA,oBAAoB,OAAA"}
|