@octonodes/sdk 0.2.16 → 0.2.38

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.
Files changed (141) hide show
  1. package/PLUGINS.md +7 -1
  2. package/README.md +41 -0
  3. package/dist/data-tables/table.d.ts +90 -0
  4. package/dist/data-tables/table.d.ts.map +1 -0
  5. package/dist/data-tables/table.js +44 -0
  6. package/dist/data-tables/table.js.map +1 -0
  7. package/dist/data-tables/types.d.ts +24 -0
  8. package/dist/data-tables/types.d.ts.map +1 -0
  9. package/dist/data-tables/types.js +3 -0
  10. package/dist/data-tables/types.js.map +1 -0
  11. package/dist/gen/index.d.ts +1 -1
  12. package/dist/gen/index.d.ts.map +1 -1
  13. package/dist/gen/sdk.gen.d.ts +9 -1
  14. package/dist/gen/sdk.gen.d.ts.map +1 -1
  15. package/dist/gen/sdk.gen.js +30 -0
  16. package/dist/gen/sdk.gen.js.map +1 -1
  17. package/dist/gen/types.gen.d.ts +264 -2
  18. package/dist/gen/types.gen.d.ts.map +1 -1
  19. package/dist/index.d.ts +1 -0
  20. package/dist/index.d.ts.map +1 -1
  21. package/dist/octonode-client.d.ts +87 -0
  22. package/dist/octonode-client.d.ts.map +1 -1
  23. package/dist/octonode-client.js +4 -0
  24. package/dist/octonode-client.js.map +1 -1
  25. package/dist/plugins/schema/app/contributions.d.ts +355 -0
  26. package/dist/plugins/schema/app/contributions.d.ts.map +1 -0
  27. package/dist/plugins/schema/app/contributions.js +179 -0
  28. package/dist/plugins/schema/app/contributions.js.map +1 -0
  29. package/dist/plugins/schema/app-contributions.d.ts +355 -0
  30. package/dist/plugins/schema/app-contributions.d.ts.map +1 -0
  31. package/dist/plugins/schema/app-contributions.js +179 -0
  32. package/dist/plugins/schema/app-contributions.js.map +1 -0
  33. package/dist/plugins/schema/app.d.ts +532 -27
  34. package/dist/plugins/schema/app.d.ts.map +1 -1
  35. package/dist/plugins/schema/app.js +59 -5
  36. package/dist/plugins/schema/app.js.map +1 -1
  37. package/dist/plugins/schema/constants.d.ts +21 -2
  38. package/dist/plugins/schema/constants.d.ts.map +1 -1
  39. package/dist/plugins/schema/constants.js +56 -1
  40. package/dist/plugins/schema/constants.js.map +1 -1
  41. package/dist/plugins/schema/icons.d.ts +4 -0
  42. package/dist/plugins/schema/icons.d.ts.map +1 -1
  43. package/dist/plugins/schema/icons.js +20 -1
  44. package/dist/plugins/schema/icons.js.map +1 -1
  45. package/dist/plugins/schema/ipc/envelope.d.ts +923 -0
  46. package/dist/plugins/schema/ipc/envelope.d.ts.map +1 -0
  47. package/dist/plugins/schema/ipc/envelope.js +210 -0
  48. package/dist/plugins/schema/ipc/envelope.js.map +1 -0
  49. package/dist/plugins/schema/ipc-envelope.d.ts +65 -65
  50. package/dist/plugins/schema/ipc-envelope.js +1 -1
  51. package/dist/plugins/schema/ipc-envelope.js.map +1 -1
  52. package/dist/plugins/schema/personal/layout.d.ts +52 -0
  53. package/dist/plugins/schema/personal/layout.d.ts.map +1 -0
  54. package/dist/plugins/schema/personal/layout.js +26 -0
  55. package/dist/plugins/schema/personal/layout.js.map +1 -0
  56. package/dist/plugins/schema/personal-layout.d.ts +52 -0
  57. package/dist/plugins/schema/personal-layout.d.ts.map +1 -0
  58. package/dist/plugins/schema/personal-layout.js +26 -0
  59. package/dist/plugins/schema/personal-layout.js.map +1 -0
  60. package/dist/plugins/schema/plugin/execution.d.ts +854 -55
  61. package/dist/plugins/schema/plugin/execution.d.ts.map +1 -1
  62. package/dist/plugins/schema/plugin/execution.js +2 -2
  63. package/dist/plugins/schema/plugin/execution.js.map +1 -1
  64. package/dist/plugins/schema/plugin/plugin.d.ts +808 -45
  65. package/dist/plugins/schema/plugin/plugin.d.ts.map +1 -1
  66. package/dist/plugins/schema/plugin/plugin.js +82 -6
  67. package/dist/plugins/schema/plugin/plugin.js.map +1 -1
  68. package/dist/plugins/schema/plugin/publishing.d.ts +234 -122
  69. package/dist/plugins/schema/plugin/publishing.d.ts.map +1 -1
  70. package/dist/plugins/schema/plugin/publishing.js +20 -1
  71. package/dist/plugins/schema/plugin/publishing.js.map +1 -1
  72. package/dist/plugins/schema/plugin-publishing.d.ts +122 -122
  73. package/dist/plugins/schema/plugin-sdk/index.d.ts +2 -1
  74. package/dist/plugins/schema/plugin-sdk/index.d.ts.map +1 -1
  75. package/dist/plugins/schema/plugin-sdk/index.js +2 -1
  76. package/dist/plugins/schema/plugin-sdk/index.js.map +1 -1
  77. package/dist/plugins/schema/plugin.d.ts +22 -22
  78. package/dist/plugins/sdk/constants.d.ts +5 -0
  79. package/dist/plugins/sdk/constants.d.ts.map +1 -0
  80. package/dist/plugins/sdk/constants.js +9 -0
  81. package/dist/plugins/sdk/constants.js.map +1 -0
  82. package/dist/plugins/sdk/define/node.d.ts +15 -0
  83. package/dist/plugins/sdk/define/node.d.ts.map +1 -0
  84. package/dist/plugins/sdk/define/node.js +58 -0
  85. package/dist/plugins/sdk/define/node.js.map +1 -0
  86. package/dist/plugins/sdk/define-node.d.ts +5 -0
  87. package/dist/plugins/sdk/define-node.d.ts.map +1 -1
  88. package/dist/plugins/sdk/define-node.js +1 -1
  89. package/dist/plugins/sdk/define-node.js.map +1 -1
  90. package/dist/plugins/sdk/definitions/clients/output.d.ts +3 -0
  91. package/dist/plugins/sdk/definitions/clients/output.d.ts.map +1 -0
  92. package/dist/plugins/sdk/definitions/clients/output.js +47 -0
  93. package/dist/plugins/sdk/definitions/clients/output.js.map +1 -0
  94. package/dist/plugins/sdk/definitions/compiler/catalog.d.ts.map +1 -1
  95. package/dist/plugins/sdk/definitions/compiler/catalog.js +9 -0
  96. package/dist/plugins/sdk/definitions/compiler/catalog.js.map +1 -1
  97. package/dist/plugins/sdk/definitions/compiler/index.d.ts.map +1 -1
  98. package/dist/plugins/sdk/definitions/compiler/index.js +59 -2
  99. package/dist/plugins/sdk/definitions/compiler/index.js.map +1 -1
  100. package/dist/plugins/sdk/definitions/npm/emit/js.d.ts.map +1 -1
  101. package/dist/plugins/sdk/definitions/npm/emit/js.js +7 -3
  102. package/dist/plugins/sdk/definitions/npm/emit/js.js.map +1 -1
  103. package/dist/plugins/sdk/definitions/npm/types.d.ts +39 -3
  104. package/dist/plugins/sdk/definitions/npm/types.d.ts.map +1 -1
  105. package/dist/plugins/sdk/definitions/types.d.ts +10 -3
  106. package/dist/plugins/sdk/definitions/types.d.ts.map +1 -1
  107. package/dist/plugins/sdk/json/schema.d.ts +13 -0
  108. package/dist/plugins/sdk/json/schema.d.ts.map +1 -0
  109. package/dist/plugins/sdk/json/schema.js +113 -0
  110. package/dist/plugins/sdk/json/schema.js.map +1 -0
  111. package/dist/plugins/sdk/json-schema.js +13 -0
  112. package/dist/plugins/sdk/json-schema.js.map +1 -1
  113. package/dist/plugins/sdk/nodes/index.d.ts +3 -1
  114. package/dist/plugins/sdk/nodes/index.d.ts.map +1 -1
  115. package/dist/plugins/sdk/nodes/index.js +5 -0
  116. package/dist/plugins/sdk/nodes/index.js.map +1 -1
  117. package/dist/plugins/sdk/plugin/index.d.ts +1 -0
  118. package/dist/plugins/sdk/plugin/index.d.ts.map +1 -1
  119. package/dist/plugins/sdk/plugin.d.ts +1 -1
  120. package/dist/plugins/sdk/plugin.d.ts.map +1 -1
  121. package/dist/plugins/sdk/plugin.js +2 -2
  122. package/dist/plugins/sdk/plugin.js.map +1 -1
  123. package/dist/plugins/sdk/plugins/define/node.d.ts +29 -0
  124. package/dist/plugins/sdk/plugins/define/node.d.ts.map +1 -0
  125. package/dist/plugins/sdk/plugins/define/node.js +16 -0
  126. package/dist/plugins/sdk/plugins/define/node.js.map +1 -0
  127. package/dist/plugins/sdk/plugins/index.d.ts +6 -4
  128. package/dist/plugins/sdk/plugins/index.d.ts.map +1 -1
  129. package/dist/plugins/sdk/plugins/index.js +24 -15
  130. package/dist/plugins/sdk/plugins/index.js.map +1 -1
  131. package/dist/plugins/sdk/plugins/types.d.ts +1 -1
  132. package/dist/plugins/sdk/plugins/types.d.ts.map +1 -1
  133. package/dist/plugins/sdk/runner.d.ts +3 -7
  134. package/dist/plugins/sdk/runner.d.ts.map +1 -1
  135. package/dist/plugins/sdk/runner.js +61 -18
  136. package/dist/plugins/sdk/runner.js.map +1 -1
  137. package/dist/plugins/sdk/types.d.ts +115 -0
  138. package/dist/plugins/sdk/types.d.ts.map +1 -0
  139. package/dist/plugins/sdk/types.js +3 -0
  140. package/dist/plugins/sdk/types.js.map +1 -0
  141. package/package.json +5 -2
@@ -0,0 +1,179 @@
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_LAUNCHER_TARGETS = exports.APP_ACTION_TARGETS = exports.APP_VIEW_TARGETS = void 0;
4
+ // Generated from packages/schema/src/app/contributions.ts. Do not edit; run the Octonode SDK sync.
5
+ const zod_1 = require("zod");
6
+ const icons_js_1 = require("../icons.js");
7
+ const layout_js_1 = require("../personal/layout.js");
8
+ exports.APP_VIEW_TARGETS = [
9
+ "app.page",
10
+ "workspace.block",
11
+ "shell.panel",
12
+ "shell.dock",
13
+ "project.tab",
14
+ "project.overview.block",
15
+ "workflow.tab",
16
+ "workflow.inspector.block",
17
+ "node.view",
18
+ "node.inspector.tab",
19
+ "node.inspector.block",
20
+ "task.space.view",
21
+ "task.details.tab",
22
+ "task.details.block",
23
+ "task.card.badge",
24
+ "document.tab",
25
+ "document.panel",
26
+ "editor.panel",
27
+ "git.diff.panel",
28
+ "table.view",
29
+ "execution.details.block",
30
+ "app.settings.section",
31
+ "project.settings.section",
32
+ ];
33
+ exports.APP_ACTION_TARGETS = [
34
+ "project.action",
35
+ "file.action",
36
+ "editor.action",
37
+ "editor.selection-action",
38
+ "workflow.action",
39
+ "workflow.canvas.action",
40
+ "workflow.selection-action",
41
+ "workflow.edge.action",
42
+ "node.action",
43
+ "task.space.action",
44
+ "task.action",
45
+ "document.action",
46
+ "document.selection-action",
47
+ "document.block.action",
48
+ "document.slash-command",
49
+ "document.review.action",
50
+ "git.diff.action",
51
+ "table.action",
52
+ "execution.action",
53
+ ];
54
+ exports.APP_LAUNCHER_TARGETS = ["shell.navbar.action", "shell.navigation.item", "shell.command"];
55
+ exports.AppViewTarget = zod_1.z.enum(exports.APP_VIEW_TARGETS);
56
+ exports.AppActionTarget = zod_1.z.enum(exports.APP_ACTION_TARGETS);
57
+ exports.AppContributionTarget = zod_1.z.enum([...exports.APP_VIEW_TARGETS, ...exports.APP_ACTION_TARGETS]);
58
+ exports.appContributionId = zod_1.z
59
+ .string()
60
+ .regex(/^[a-z0-9][a-z0-9-]*$/)
61
+ .max(100);
62
+ exports.appContributionTitle = zod_1.z.string().trim().min(1).max(240);
63
+ exports.appContributionWhen = zod_1.z
64
+ .object({
65
+ hasProject: zod_1.z.boolean().optional(),
66
+ hasSelection: zod_1.z.boolean().optional(),
67
+ readOnly: zod_1.z.boolean().optional(),
68
+ nodeKind: zod_1.z.string().min(1).max(240).optional(),
69
+ documentFormat: zod_1.z.enum(["markdown", "html", "latex"]).optional(),
70
+ })
71
+ .strict();
72
+ exports.appLauncherSchema = zod_1.z
73
+ .object({
74
+ id: exports.appContributionId,
75
+ target: zod_1.z.enum(exports.APP_LAUNCHER_TARGETS),
76
+ title: exports.appContributionTitle,
77
+ icon: icons_js_1.IconName.optional(),
78
+ opens: exports.appContributionId,
79
+ })
80
+ .strict();
81
+ exports.appContributionSchema = zod_1.z
82
+ .object({
83
+ id: exports.appContributionId,
84
+ target: exports.AppContributionTarget,
85
+ title: exports.appContributionTitle,
86
+ icon: icons_js_1.IconName.optional(),
87
+ path: zod_1.z
88
+ .string()
89
+ .regex(/^extensions\/[a-z0-9][a-z0-9-]*\.js$/)
90
+ .max(150),
91
+ sha256: zod_1.z.string().regex(/^sha256:[a-f0-9]{64}$/),
92
+ when: exports.appContributionWhen.optional(),
93
+ })
94
+ .strict();
95
+ exports.appContributionContextSchema = zod_1.z
96
+ .object({
97
+ projectId: zod_1.z.string().min(1).max(128).optional(),
98
+ worktreeId: zod_1.z.string().min(1).max(240).optional(),
99
+ workflowId: zod_1.z.string().min(1).max(240).optional(),
100
+ nodeId: zod_1.z.string().min(1).max(240).optional(),
101
+ nodeKind: zod_1.z.string().min(1).max(240).optional(),
102
+ edgeId: zod_1.z.string().min(1).max(500).optional(),
103
+ executionId: zod_1.z.string().min(1).max(128).optional(),
104
+ taskSpaceId: zod_1.z.string().min(1).max(128).optional(),
105
+ itemId: zod_1.z.string().min(1).max(128).optional(),
106
+ documentId: zod_1.z.string().min(1).max(128).optional(),
107
+ documentFormat: zod_1.z.enum(["markdown", "html", "latex"]).optional(),
108
+ tableId: zod_1.z.string().min(1).max(128).optional(),
109
+ rowId: zod_1.z.string().min(1).max(128).optional(),
110
+ filePath: zod_1.z.string().min(1).max(1024).optional(),
111
+ revision: zod_1.z.union([zod_1.z.string().max(240), zod_1.z.number().int().nonnegative()]).optional(),
112
+ draftRevision: zod_1.z.number().int().nonnegative().optional(),
113
+ selection: zod_1.z
114
+ .object({ start: zod_1.z.number().int().nonnegative(), end: zod_1.z.number().int().nonnegative() })
115
+ .strict()
116
+ .refine((value) => value.end >= value.start)
117
+ .optional(),
118
+ selectedIds: zod_1.z.array(zod_1.z.string().min(1).max(500)).max(100).optional(),
119
+ canvas: zod_1.z.object({ x: zod_1.z.number().finite(), y: zod_1.z.number().finite() }).strict().optional(),
120
+ readOnly: zod_1.z.boolean().default(true),
121
+ tasks: zod_1.z
122
+ .array(zod_1.z
123
+ .object({
124
+ itemId: zod_1.z.string().min(1).max(128),
125
+ taskSpaceId: zod_1.z.string().min(1).max(128),
126
+ revision: zod_1.z.number().int().nonnegative(),
127
+ })
128
+ .strict())
129
+ .max(100)
130
+ .optional(),
131
+ nodes: zod_1.z
132
+ .array(zod_1.z
133
+ .object({
134
+ id: zod_1.z.string().min(1).max(240),
135
+ kind: zod_1.z.string().max(240).optional(),
136
+ label: zod_1.z.string().max(240).optional(),
137
+ })
138
+ .strict())
139
+ .max(100)
140
+ .optional(),
141
+ })
142
+ .strict();
143
+ exports.appHostRequestSchema = zod_1.z.discriminatedUnion("command", [
144
+ zod_1.z.object({ command: zod_1.z.literal("panel.open"), id: exports.appContributionId }).strict(),
145
+ zod_1.z.object({ command: zod_1.z.literal("assistant.open"), suggestion: zod_1.z.string().max(8000).optional() }).strict(),
146
+ zod_1.z.object({ command: zod_1.z.literal("layout.list") }).strict(),
147
+ zod_1.z
148
+ .object({
149
+ command: zod_1.z.literal("layout.undo"),
150
+ scope: zod_1.z
151
+ .string()
152
+ .regex(/^[a-z][a-z0-9.-]*$/)
153
+ .max(100),
154
+ revision: zod_1.z.string().min(1).max(240),
155
+ })
156
+ .strict(),
157
+ zod_1.z
158
+ .object({
159
+ command: zod_1.z.literal("layout.update"),
160
+ scope: zod_1.z
161
+ .string()
162
+ .regex(/^[a-z][a-z0-9.-]*$/)
163
+ .max(100),
164
+ revision: zod_1.z.string().min(1).max(240),
165
+ items: layout_js_1.PersonalLayoutItems,
166
+ })
167
+ .strict(),
168
+ zod_1.z
169
+ .object({
170
+ command: zod_1.z.literal("edit.propose"),
171
+ resource: zod_1.z.enum(["file", "document"]),
172
+ baseRevision: zod_1.z.string().min(1).max(240),
173
+ draftRevision: zod_1.z.number().int().nonnegative(),
174
+ content: zod_1.z.string().max(12000),
175
+ mode: zod_1.z.enum(["append", "replace", "replace-selection"]),
176
+ })
177
+ .strict(),
178
+ ]);
179
+ //# sourceMappingURL=contributions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"contributions.js","sourceRoot":"","sources":["../../../../src/plugins/schema/app/contributions.ts"],"names":[],"mappings":";;;AAAA,mGAAmG;AACnG,6BAAwB;AACxB,0CAAuC;AACvC,qDAA4D;AAE/C,QAAA,gBAAgB,GAAG;IAC9B,UAAU;IACV,iBAAiB;IACjB,aAAa;IACb,YAAY;IACZ,aAAa;IACb,wBAAwB;IACx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AE,UAAU,CAAC,CAAC;QACtC,YAAY,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC;QACxC,aAAa,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,WAAW,EAAE;QAC7C,OAAO,EAAE,OAAC,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,355 @@
1
+ import { z } from "zod";
2
+ export declare const APP_VIEW_TARGETS: readonly ["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 APP_ACTION_TARGETS: readonly ["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 APP_LAUNCHER_TARGETS: readonly ["shell.navbar.action", "shell.navigation.item", "shell.command"];
5
+ 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"]>;
6
+ 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"]>;
7
+ 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"]>;
8
+ export type AppContributionTarget = z.infer<typeof AppContributionTarget>;
9
+ export declare const appContributionId: z.ZodString;
10
+ export declare const appContributionTitle: z.ZodString;
11
+ export declare const appContributionWhen: z.ZodObject<{
12
+ hasProject: z.ZodOptional<z.ZodBoolean>;
13
+ hasSelection: z.ZodOptional<z.ZodBoolean>;
14
+ readOnly: z.ZodOptional<z.ZodBoolean>;
15
+ nodeKind: z.ZodOptional<z.ZodString>;
16
+ documentFormat: z.ZodOptional<z.ZodEnum<["markdown", "html", "latex"]>>;
17
+ }, "strict", z.ZodTypeAny, {
18
+ hasProject?: boolean | undefined;
19
+ hasSelection?: boolean | undefined;
20
+ readOnly?: boolean | undefined;
21
+ nodeKind?: string | undefined;
22
+ documentFormat?: "markdown" | "html" | "latex" | undefined;
23
+ }, {
24
+ hasProject?: boolean | undefined;
25
+ hasSelection?: boolean | undefined;
26
+ readOnly?: boolean | undefined;
27
+ nodeKind?: string | undefined;
28
+ documentFormat?: "markdown" | "html" | "latex" | undefined;
29
+ }>;
30
+ export declare const appLauncherSchema: z.ZodObject<{
31
+ id: z.ZodString;
32
+ target: z.ZodEnum<["shell.navbar.action", "shell.navigation.item", "shell.command"]>;
33
+ title: z.ZodString;
34
+ icon: z.ZodOptional<z.ZodEnum<["arrow-up-down", "binary", "bomb", "boxes", "braces", "calculator", "calendar", "camera", "clock", "code", "copy-x", "database", "dices", "filter", "flag", "flask", "function", "git-branch", "git-merge", "group", "hook", "list-filter", "merge", "octagon-x", "package", "package-x", "pencil", "play", "regex", "repeat", "replace", "ruler", "scan-eye", "scissors", "search", "server-cog", "settings", "sigma", "split", "terminal", "test-tube", "text-cursor-input", "ticket", "truck", "type", "typescript", "ungroup", "variable", "wand", "wave", "webhook", "workflow", "x"]>>;
35
+ opens: z.ZodString;
36
+ }, "strict", z.ZodTypeAny, {
37
+ id: string;
38
+ target: "shell.navbar.action" | "shell.navigation.item" | "shell.command";
39
+ title: string;
40
+ opens: string;
41
+ icon?: "function" | "arrow-up-down" | "binary" | "bomb" | "boxes" | "braces" | "calculator" | "calendar" | "camera" | "clock" | "code" | "copy-x" | "database" | "dices" | "filter" | "flag" | "flask" | "git-branch" | "git-merge" | "group" | "hook" | "list-filter" | "merge" | "octagon-x" | "package" | "package-x" | "pencil" | "play" | "regex" | "repeat" | "replace" | "ruler" | "scan-eye" | "scissors" | "search" | "server-cog" | "settings" | "sigma" | "split" | "terminal" | "test-tube" | "text-cursor-input" | "ticket" | "truck" | "type" | "typescript" | "ungroup" | "variable" | "wand" | "wave" | "webhook" | "workflow" | "x" | undefined;
42
+ }, {
43
+ id: string;
44
+ target: "shell.navbar.action" | "shell.navigation.item" | "shell.command";
45
+ title: string;
46
+ opens: string;
47
+ icon?: "function" | "arrow-up-down" | "binary" | "bomb" | "boxes" | "braces" | "calculator" | "calendar" | "camera" | "clock" | "code" | "copy-x" | "database" | "dices" | "filter" | "flag" | "flask" | "git-branch" | "git-merge" | "group" | "hook" | "list-filter" | "merge" | "octagon-x" | "package" | "package-x" | "pencil" | "play" | "regex" | "repeat" | "replace" | "ruler" | "scan-eye" | "scissors" | "search" | "server-cog" | "settings" | "sigma" | "split" | "terminal" | "test-tube" | "text-cursor-input" | "ticket" | "truck" | "type" | "typescript" | "ungroup" | "variable" | "wand" | "wave" | "webhook" | "workflow" | "x" | undefined;
48
+ }>;
49
+ export declare const appContributionSchema: z.ZodObject<{
50
+ id: z.ZodString;
51
+ 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"]>;
52
+ title: z.ZodString;
53
+ icon: z.ZodOptional<z.ZodEnum<["arrow-up-down", "binary", "bomb", "boxes", "braces", "calculator", "calendar", "camera", "clock", "code", "copy-x", "database", "dices", "filter", "flag", "flask", "function", "git-branch", "git-merge", "group", "hook", "list-filter", "merge", "octagon-x", "package", "package-x", "pencil", "play", "regex", "repeat", "replace", "ruler", "scan-eye", "scissors", "search", "server-cog", "settings", "sigma", "split", "terminal", "test-tube", "text-cursor-input", "ticket", "truck", "type", "typescript", "ungroup", "variable", "wand", "wave", "webhook", "workflow", "x"]>>;
54
+ path: z.ZodString;
55
+ sha256: z.ZodString;
56
+ when: z.ZodOptional<z.ZodObject<{
57
+ hasProject: z.ZodOptional<z.ZodBoolean>;
58
+ hasSelection: z.ZodOptional<z.ZodBoolean>;
59
+ readOnly: z.ZodOptional<z.ZodBoolean>;
60
+ nodeKind: z.ZodOptional<z.ZodString>;
61
+ documentFormat: z.ZodOptional<z.ZodEnum<["markdown", "html", "latex"]>>;
62
+ }, "strict", z.ZodTypeAny, {
63
+ hasProject?: boolean | undefined;
64
+ hasSelection?: boolean | undefined;
65
+ readOnly?: boolean | undefined;
66
+ nodeKind?: string | undefined;
67
+ documentFormat?: "markdown" | "html" | "latex" | undefined;
68
+ }, {
69
+ hasProject?: boolean | undefined;
70
+ hasSelection?: boolean | undefined;
71
+ readOnly?: boolean | undefined;
72
+ nodeKind?: string | undefined;
73
+ documentFormat?: "markdown" | "html" | "latex" | undefined;
74
+ }>>;
75
+ }, "strict", z.ZodTypeAny, {
76
+ id: string;
77
+ path: string;
78
+ 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";
79
+ title: string;
80
+ sha256: string;
81
+ icon?: "function" | "arrow-up-down" | "binary" | "bomb" | "boxes" | "braces" | "calculator" | "calendar" | "camera" | "clock" | "code" | "copy-x" | "database" | "dices" | "filter" | "flag" | "flask" | "git-branch" | "git-merge" | "group" | "hook" | "list-filter" | "merge" | "octagon-x" | "package" | "package-x" | "pencil" | "play" | "regex" | "repeat" | "replace" | "ruler" | "scan-eye" | "scissors" | "search" | "server-cog" | "settings" | "sigma" | "split" | "terminal" | "test-tube" | "text-cursor-input" | "ticket" | "truck" | "type" | "typescript" | "ungroup" | "variable" | "wand" | "wave" | "webhook" | "workflow" | "x" | undefined;
82
+ when?: {
83
+ hasProject?: boolean | undefined;
84
+ hasSelection?: boolean | undefined;
85
+ readOnly?: boolean | undefined;
86
+ nodeKind?: string | undefined;
87
+ documentFormat?: "markdown" | "html" | "latex" | undefined;
88
+ } | undefined;
89
+ }, {
90
+ id: string;
91
+ path: string;
92
+ 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";
93
+ title: string;
94
+ sha256: string;
95
+ icon?: "function" | "arrow-up-down" | "binary" | "bomb" | "boxes" | "braces" | "calculator" | "calendar" | "camera" | "clock" | "code" | "copy-x" | "database" | "dices" | "filter" | "flag" | "flask" | "git-branch" | "git-merge" | "group" | "hook" | "list-filter" | "merge" | "octagon-x" | "package" | "package-x" | "pencil" | "play" | "regex" | "repeat" | "replace" | "ruler" | "scan-eye" | "scissors" | "search" | "server-cog" | "settings" | "sigma" | "split" | "terminal" | "test-tube" | "text-cursor-input" | "ticket" | "truck" | "type" | "typescript" | "ungroup" | "variable" | "wand" | "wave" | "webhook" | "workflow" | "x" | undefined;
96
+ when?: {
97
+ hasProject?: boolean | undefined;
98
+ hasSelection?: boolean | undefined;
99
+ readOnly?: boolean | undefined;
100
+ nodeKind?: string | undefined;
101
+ documentFormat?: "markdown" | "html" | "latex" | undefined;
102
+ } | undefined;
103
+ }>;
104
+ export declare const appContributionContextSchema: z.ZodObject<{
105
+ projectId: z.ZodOptional<z.ZodString>;
106
+ worktreeId: z.ZodOptional<z.ZodString>;
107
+ workflowId: z.ZodOptional<z.ZodString>;
108
+ nodeId: z.ZodOptional<z.ZodString>;
109
+ nodeKind: z.ZodOptional<z.ZodString>;
110
+ edgeId: z.ZodOptional<z.ZodString>;
111
+ executionId: z.ZodOptional<z.ZodString>;
112
+ taskSpaceId: z.ZodOptional<z.ZodString>;
113
+ itemId: z.ZodOptional<z.ZodString>;
114
+ documentId: z.ZodOptional<z.ZodString>;
115
+ documentFormat: z.ZodOptional<z.ZodEnum<["markdown", "html", "latex"]>>;
116
+ tableId: z.ZodOptional<z.ZodString>;
117
+ rowId: z.ZodOptional<z.ZodString>;
118
+ filePath: z.ZodOptional<z.ZodString>;
119
+ revision: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
120
+ draftRevision: z.ZodOptional<z.ZodNumber>;
121
+ selection: z.ZodOptional<z.ZodEffects<z.ZodObject<{
122
+ start: z.ZodNumber;
123
+ end: z.ZodNumber;
124
+ }, "strict", z.ZodTypeAny, {
125
+ start: number;
126
+ end: number;
127
+ }, {
128
+ start: number;
129
+ end: number;
130
+ }>, {
131
+ start: number;
132
+ end: number;
133
+ }, {
134
+ start: number;
135
+ end: number;
136
+ }>>;
137
+ selectedIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
138
+ canvas: z.ZodOptional<z.ZodObject<{
139
+ x: z.ZodNumber;
140
+ y: z.ZodNumber;
141
+ }, "strict", z.ZodTypeAny, {
142
+ x: number;
143
+ y: number;
144
+ }, {
145
+ x: number;
146
+ y: number;
147
+ }>>;
148
+ readOnly: z.ZodDefault<z.ZodBoolean>;
149
+ tasks: z.ZodOptional<z.ZodArray<z.ZodObject<{
150
+ itemId: z.ZodString;
151
+ taskSpaceId: z.ZodString;
152
+ revision: z.ZodNumber;
153
+ }, "strict", z.ZodTypeAny, {
154
+ taskSpaceId: string;
155
+ itemId: string;
156
+ revision: number;
157
+ }, {
158
+ taskSpaceId: string;
159
+ itemId: string;
160
+ revision: number;
161
+ }>, "many">>;
162
+ nodes: z.ZodOptional<z.ZodArray<z.ZodObject<{
163
+ id: z.ZodString;
164
+ kind: z.ZodOptional<z.ZodString>;
165
+ label: z.ZodOptional<z.ZodString>;
166
+ }, "strict", z.ZodTypeAny, {
167
+ id: string;
168
+ label?: string | undefined;
169
+ kind?: string | undefined;
170
+ }, {
171
+ id: string;
172
+ label?: string | undefined;
173
+ kind?: string | undefined;
174
+ }>, "many">>;
175
+ }, "strict", z.ZodTypeAny, {
176
+ readOnly: boolean;
177
+ nodes?: {
178
+ id: string;
179
+ label?: string | undefined;
180
+ kind?: string | undefined;
181
+ }[] | undefined;
182
+ workflowId?: string | undefined;
183
+ projectId?: string | undefined;
184
+ tableId?: string | undefined;
185
+ rowId?: string | undefined;
186
+ nodeId?: string | undefined;
187
+ nodeKind?: string | undefined;
188
+ documentFormat?: "markdown" | "html" | "latex" | undefined;
189
+ worktreeId?: string | undefined;
190
+ edgeId?: string | undefined;
191
+ executionId?: string | undefined;
192
+ taskSpaceId?: string | undefined;
193
+ itemId?: string | undefined;
194
+ documentId?: string | undefined;
195
+ filePath?: string | undefined;
196
+ revision?: string | number | undefined;
197
+ draftRevision?: number | undefined;
198
+ selection?: {
199
+ start: number;
200
+ end: number;
201
+ } | undefined;
202
+ selectedIds?: string[] | undefined;
203
+ canvas?: {
204
+ x: number;
205
+ y: number;
206
+ } | undefined;
207
+ tasks?: {
208
+ taskSpaceId: string;
209
+ itemId: string;
210
+ revision: number;
211
+ }[] | undefined;
212
+ }, {
213
+ nodes?: {
214
+ id: string;
215
+ label?: string | undefined;
216
+ kind?: string | undefined;
217
+ }[] | undefined;
218
+ workflowId?: string | undefined;
219
+ projectId?: string | undefined;
220
+ tableId?: string | undefined;
221
+ rowId?: string | undefined;
222
+ nodeId?: string | undefined;
223
+ readOnly?: boolean | undefined;
224
+ nodeKind?: string | undefined;
225
+ documentFormat?: "markdown" | "html" | "latex" | undefined;
226
+ worktreeId?: string | undefined;
227
+ edgeId?: string | undefined;
228
+ executionId?: string | undefined;
229
+ taskSpaceId?: string | undefined;
230
+ itemId?: string | undefined;
231
+ documentId?: string | undefined;
232
+ filePath?: string | undefined;
233
+ revision?: string | number | undefined;
234
+ draftRevision?: number | undefined;
235
+ selection?: {
236
+ start: number;
237
+ end: number;
238
+ } | undefined;
239
+ selectedIds?: string[] | undefined;
240
+ canvas?: {
241
+ x: number;
242
+ y: number;
243
+ } | undefined;
244
+ tasks?: {
245
+ taskSpaceId: string;
246
+ itemId: string;
247
+ revision: number;
248
+ }[] | undefined;
249
+ }>;
250
+ export type AppContributionContext = z.infer<typeof appContributionContextSchema>;
251
+ export type AppContribution = z.infer<typeof appContributionSchema>;
252
+ export type AppLauncher = z.infer<typeof appLauncherSchema>;
253
+ export declare const appHostRequestSchema: z.ZodDiscriminatedUnion<"command", [z.ZodObject<{
254
+ command: z.ZodLiteral<"panel.open">;
255
+ id: z.ZodString;
256
+ }, "strict", z.ZodTypeAny, {
257
+ id: string;
258
+ command: "panel.open";
259
+ }, {
260
+ id: string;
261
+ command: "panel.open";
262
+ }>, z.ZodObject<{
263
+ command: z.ZodLiteral<"assistant.open">;
264
+ suggestion: z.ZodOptional<z.ZodString>;
265
+ }, "strict", z.ZodTypeAny, {
266
+ command: "assistant.open";
267
+ suggestion?: string | undefined;
268
+ }, {
269
+ command: "assistant.open";
270
+ suggestion?: string | undefined;
271
+ }>, z.ZodObject<{
272
+ command: z.ZodLiteral<"layout.list">;
273
+ }, "strict", z.ZodTypeAny, {
274
+ command: "layout.list";
275
+ }, {
276
+ command: "layout.list";
277
+ }>, z.ZodObject<{
278
+ command: z.ZodLiteral<"layout.undo">;
279
+ scope: z.ZodString;
280
+ revision: z.ZodString;
281
+ }, "strict", z.ZodTypeAny, {
282
+ scope: string;
283
+ revision: string;
284
+ command: "layout.undo";
285
+ }, {
286
+ scope: string;
287
+ revision: string;
288
+ command: "layout.undo";
289
+ }>, z.ZodObject<{
290
+ command: z.ZodLiteral<"layout.update">;
291
+ scope: z.ZodString;
292
+ revision: z.ZodString;
293
+ items: z.ZodEffects<z.ZodArray<z.ZodObject<{
294
+ id: z.ZodEffects<z.ZodString, string, string>;
295
+ label: z.ZodOptional<z.ZodString>;
296
+ pinned: z.ZodOptional<z.ZodBoolean>;
297
+ }, "strict", z.ZodTypeAny, {
298
+ id: string;
299
+ pinned?: boolean | undefined;
300
+ label?: string | undefined;
301
+ }, {
302
+ id: string;
303
+ pinned?: boolean | undefined;
304
+ label?: string | undefined;
305
+ }>, "many">, {
306
+ id: string;
307
+ pinned?: boolean | undefined;
308
+ label?: string | undefined;
309
+ }[], {
310
+ id: string;
311
+ pinned?: boolean | undefined;
312
+ label?: string | undefined;
313
+ }[]>;
314
+ }, "strict", z.ZodTypeAny, {
315
+ scope: string;
316
+ revision: string;
317
+ command: "layout.update";
318
+ items: {
319
+ id: string;
320
+ pinned?: boolean | undefined;
321
+ label?: string | undefined;
322
+ }[];
323
+ }, {
324
+ scope: string;
325
+ revision: string;
326
+ command: "layout.update";
327
+ items: {
328
+ id: string;
329
+ pinned?: boolean | undefined;
330
+ label?: string | undefined;
331
+ }[];
332
+ }>, z.ZodObject<{
333
+ command: z.ZodLiteral<"edit.propose">;
334
+ resource: z.ZodEnum<["file", "document"]>;
335
+ baseRevision: z.ZodString;
336
+ draftRevision: z.ZodNumber;
337
+ content: z.ZodString;
338
+ mode: z.ZodEnum<["append", "replace", "replace-selection"]>;
339
+ }, "strict", z.ZodTypeAny, {
340
+ mode: "replace" | "append" | "replace-selection";
341
+ draftRevision: number;
342
+ command: "edit.propose";
343
+ resource: "file" | "document";
344
+ baseRevision: string;
345
+ content: string;
346
+ }, {
347
+ mode: "replace" | "append" | "replace-selection";
348
+ draftRevision: number;
349
+ command: "edit.propose";
350
+ resource: "file" | "document";
351
+ baseRevision: string;
352
+ content: string;
353
+ }>]>;
354
+ export type AppHostRequest = z.infer<typeof appHostRequestSchema>;
355
+ //# sourceMappingURL=app-contributions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"app-contributions.d.ts","sourceRoot":"","sources":["../../../src/plugins/schema/app-cont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