@nodetool-ai/protocol 0.8.13 → 0.8.16

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 (215) hide show
  1. package/dist/.nodetool-build-stamp +1 -1
  2. package/dist/agent-model-fit.d.ts +35 -0
  3. package/dist/agent-model-fit.d.ts.map +1 -0
  4. package/dist/agent-model-fit.js +62 -0
  5. package/dist/agent-model-fit.js.map +1 -0
  6. package/dist/api-schemas/agent-access.d.ts +40 -0
  7. package/dist/api-schemas/agent-access.d.ts.map +1 -1
  8. package/dist/api-schemas/agent-access.js +24 -1
  9. package/dist/api-schemas/agent-access.js.map +1 -1
  10. package/dist/api-schemas/api-error-code.d.ts +35 -1
  11. package/dist/api-schemas/api-error-code.d.ts.map +1 -1
  12. package/dist/api-schemas/api-error-code.js +34 -0
  13. package/dist/api-schemas/api-error-code.js.map +1 -1
  14. package/dist/api-schemas/applications.js +1 -1
  15. package/dist/api-schemas/applications.js.map +1 -1
  16. package/dist/api-schemas/asset-editor-tool-contracts.d.ts +10 -0
  17. package/dist/api-schemas/asset-editor-tool-contracts.d.ts.map +1 -1
  18. package/dist/api-schemas/asset-editor-tool-contracts.js +27 -0
  19. package/dist/api-schemas/asset-editor-tool-contracts.js.map +1 -1
  20. package/dist/api-schemas/assets.d.ts +99 -0
  21. package/dist/api-schemas/assets.d.ts.map +1 -1
  22. package/dist/api-schemas/assets.js +101 -11
  23. package/dist/api-schemas/assets.js.map +1 -1
  24. package/dist/api-schemas/cloud-local.d.ts +194 -0
  25. package/dist/api-schemas/cloud-local.d.ts.map +1 -0
  26. package/dist/api-schemas/cloud-local.js +88 -0
  27. package/dist/api-schemas/cloud-local.js.map +1 -0
  28. package/dist/api-schemas/cloud-transfer-local.d.ts +1110 -0
  29. package/dist/api-schemas/cloud-transfer-local.d.ts.map +1 -0
  30. package/dist/api-schemas/cloud-transfer-local.js +251 -0
  31. package/dist/api-schemas/cloud-transfer-local.js.map +1 -0
  32. package/dist/api-schemas/deleted-documents.d.ts +45 -0
  33. package/dist/api-schemas/deleted-documents.d.ts.map +1 -0
  34. package/dist/api-schemas/deleted-documents.js +30 -0
  35. package/dist/api-schemas/deleted-documents.js.map +1 -0
  36. package/dist/api-schemas/document-sharing.d.ts +171 -1
  37. package/dist/api-schemas/document-sharing.d.ts.map +1 -1
  38. package/dist/api-schemas/document-sharing.js +37 -5
  39. package/dist/api-schemas/document-sharing.js.map +1 -1
  40. package/dist/api-schemas/index.d.ts +8 -0
  41. package/dist/api-schemas/index.d.ts.map +1 -1
  42. package/dist/api-schemas/index.js +8 -0
  43. package/dist/api-schemas/index.js.map +1 -1
  44. package/dist/api-schemas/messages.d.ts +30 -0
  45. package/dist/api-schemas/messages.d.ts.map +1 -1
  46. package/dist/api-schemas/messages.js +32 -1
  47. package/dist/api-schemas/messages.js.map +1 -1
  48. package/dist/api-schemas/openverse.d.ts +2 -0
  49. package/dist/api-schemas/openverse.d.ts.map +1 -1
  50. package/dist/api-schemas/projects.d.ts +412 -0
  51. package/dist/api-schemas/projects.d.ts.map +1 -1
  52. package/dist/api-schemas/projects.js +212 -2
  53. package/dist/api-schemas/projects.js.map +1 -1
  54. package/dist/api-schemas/receive.d.ts +113 -0
  55. package/dist/api-schemas/receive.d.ts.map +1 -0
  56. package/dist/api-schemas/receive.js +86 -0
  57. package/dist/api-schemas/receive.js.map +1 -0
  58. package/dist/api-schemas/sdk-execution-v1.d.ts +0 -2
  59. package/dist/api-schemas/sdk-execution-v1.d.ts.map +1 -1
  60. package/dist/api-schemas/sdk-v1-http-operations.d.ts.map +1 -1
  61. package/dist/api-schemas/sdk-v1-http-operations.js +7 -1
  62. package/dist/api-schemas/sdk-v1-http-operations.js.map +1 -1
  63. package/dist/api-schemas/search.d.ts +306 -0
  64. package/dist/api-schemas/search.d.ts.map +1 -0
  65. package/dist/api-schemas/search.js +145 -0
  66. package/dist/api-schemas/search.js.map +1 -0
  67. package/dist/api-schemas/settings.d.ts +129 -0
  68. package/dist/api-schemas/settings.d.ts.map +1 -1
  69. package/dist/api-schemas/settings.js +66 -2
  70. package/dist/api-schemas/settings.js.map +1 -1
  71. package/dist/api-schemas/storage.d.ts +236 -0
  72. package/dist/api-schemas/storage.d.ts.map +1 -1
  73. package/dist/api-schemas/storage.js +133 -0
  74. package/dist/api-schemas/storage.js.map +1 -1
  75. package/dist/api-schemas/storyboards.d.ts +55 -0
  76. package/dist/api-schemas/storyboards.d.ts.map +1 -1
  77. package/dist/api-schemas/storyboards.js +55 -8
  78. package/dist/api-schemas/storyboards.js.map +1 -1
  79. package/dist/api-schemas/sync.d.ts +78 -0
  80. package/dist/api-schemas/sync.d.ts.map +1 -0
  81. package/dist/api-schemas/sync.js +78 -0
  82. package/dist/api-schemas/sync.js.map +1 -0
  83. package/dist/api-schemas/text-documents.d.ts +145 -0
  84. package/dist/api-schemas/text-documents.d.ts.map +1 -0
  85. package/dist/api-schemas/text-documents.js +98 -0
  86. package/dist/api-schemas/text-documents.js.map +1 -0
  87. package/dist/api-schemas/timeline-tool-contracts.d.ts +42 -2
  88. package/dist/api-schemas/timeline-tool-contracts.d.ts.map +1 -1
  89. package/dist/api-schemas/timeline-tool-contracts.js +54 -3
  90. package/dist/api-schemas/timeline-tool-contracts.js.map +1 -1
  91. package/dist/api-schemas/timeline-tool-params.d.ts +1 -1
  92. package/dist/api-schemas/timeline-tool-params.d.ts.map +1 -1
  93. package/dist/api-schemas/timeline-tool-params.js +5 -0
  94. package/dist/api-schemas/timeline-tool-params.js.map +1 -1
  95. package/dist/api-schemas/timeline.d.ts +2 -0
  96. package/dist/api-schemas/timeline.d.ts.map +1 -1
  97. package/dist/api-schemas/timeline.js +7 -2
  98. package/dist/api-schemas/timeline.js.map +1 -1
  99. package/dist/api-schemas/transfer.d.ts +890 -0
  100. package/dist/api-schemas/transfer.d.ts.map +1 -0
  101. package/dist/api-schemas/transfer.js +297 -0
  102. package/dist/api-schemas/transfer.js.map +1 -0
  103. package/dist/api-schemas/workflows.d.ts +301 -1
  104. package/dist/api-schemas/workflows.d.ts.map +1 -1
  105. package/dist/api-schemas/workflows.js +110 -8
  106. package/dist/api-schemas/workflows.js.map +1 -1
  107. package/dist/api-schemas/workspace.d.ts +0 -22
  108. package/dist/api-schemas/workspace.d.ts.map +1 -1
  109. package/dist/api-schemas/workspace.js +0 -21
  110. package/dist/api-schemas/workspace.js.map +1 -1
  111. package/dist/api-types.d.ts +67 -6
  112. package/dist/api-types.d.ts.map +1 -1
  113. package/dist/api-types.js +3 -0
  114. package/dist/api-types.js.map +1 -1
  115. package/dist/asset-file-name.d.ts +3 -2
  116. package/dist/asset-file-name.d.ts.map +1 -1
  117. package/dist/asset-file-name.js +6 -3
  118. package/dist/asset-file-name.js.map +1 -1
  119. package/dist/bridge-frames.js +1 -1
  120. package/dist/bridge-frames.js.map +1 -1
  121. package/dist/chat-attachment.d.ts +28 -0
  122. package/dist/chat-attachment.d.ts.map +1 -0
  123. package/dist/chat-attachment.js +101 -0
  124. package/dist/chat-attachment.js.map +1 -0
  125. package/dist/closure.d.ts +39 -0
  126. package/dist/closure.d.ts.map +1 -0
  127. package/dist/closure.js +142 -0
  128. package/dist/closure.js.map +1 -0
  129. package/dist/cloud-profile.d.ts +4 -6
  130. package/dist/cloud-profile.d.ts.map +1 -1
  131. package/dist/cloud-profile.js +19 -16
  132. package/dist/cloud-profile.js.map +1 -1
  133. package/dist/comfy-graph.js +1 -1
  134. package/dist/comfy-graph.js.map +1 -1
  135. package/dist/creative.d.ts +23 -0
  136. package/dist/creative.d.ts.map +1 -1
  137. package/dist/creative.js +7 -0
  138. package/dist/creative.js.map +1 -1
  139. package/dist/document-embeds.d.ts +25 -0
  140. package/dist/document-embeds.d.ts.map +1 -0
  141. package/dist/document-embeds.js +74 -0
  142. package/dist/document-embeds.js.map +1 -0
  143. package/dist/graph.d.ts +12 -0
  144. package/dist/graph.d.ts.map +1 -1
  145. package/dist/graph.js +63 -5
  146. package/dist/graph.js.map +1 -1
  147. package/dist/identity-encoding.d.ts +2 -0
  148. package/dist/identity-encoding.d.ts.map +1 -0
  149. package/dist/identity-encoding.js +56 -0
  150. package/dist/identity-encoding.js.map +1 -0
  151. package/dist/index.d.ts +9 -0
  152. package/dist/index.d.ts.map +1 -1
  153. package/dist/index.js +9 -0
  154. package/dist/index.js.map +1 -1
  155. package/dist/markdown-blocks.d.ts +154 -0
  156. package/dist/markdown-blocks.d.ts.map +1 -0
  157. package/dist/markdown-blocks.js +585 -0
  158. package/dist/markdown-blocks.js.map +1 -0
  159. package/dist/messages.d.ts +2 -9
  160. package/dist/messages.d.ts.map +1 -1
  161. package/dist/messages.js +19 -2
  162. package/dist/messages.js.map +1 -1
  163. package/dist/missing-runtime-package.d.ts +1 -3
  164. package/dist/missing-runtime-package.d.ts.map +1 -1
  165. package/dist/missing-runtime-package.js +1 -3
  166. package/dist/missing-runtime-package.js.map +1 -1
  167. package/dist/processing-messages.schema.json +0 -2
  168. package/dist/project-directories.d.ts +127 -0
  169. package/dist/project-directories.d.ts.map +1 -0
  170. package/dist/project-directories.js +208 -0
  171. package/dist/project-directories.js.map +1 -0
  172. package/dist/python-packs.d.ts +10 -1
  173. package/dist/python-packs.d.ts.map +1 -1
  174. package/dist/python-packs.js +13 -2
  175. package/dist/python-packs.js.map +1 -1
  176. package/dist/run-trace.js +1 -1
  177. package/dist/run-trace.js.map +1 -1
  178. package/dist/runtime-npm-packages.d.ts +3 -13
  179. package/dist/runtime-npm-packages.d.ts.map +1 -1
  180. package/dist/runtime-npm-packages.js +3 -37
  181. package/dist/runtime-npm-packages.js.map +1 -1
  182. package/dist/sandbox-host.d.ts +1 -1
  183. package/dist/sandbox-host.d.ts.map +1 -1
  184. package/dist/sandbox-host.js +1 -50
  185. package/dist/sandbox-host.js.map +1 -1
  186. package/dist/search-metadata.d.ts +137 -0
  187. package/dist/search-metadata.d.ts.map +1 -0
  188. package/dist/search-metadata.js +122 -0
  189. package/dist/search-metadata.js.map +1 -0
  190. package/dist/storyboard-markdown.d.ts +154 -0
  191. package/dist/storyboard-markdown.d.ts.map +1 -0
  192. package/dist/storyboard-markdown.js +905 -0
  193. package/dist/storyboard-markdown.js.map +1 -0
  194. package/dist/toolSchemas.d.ts +46 -0
  195. package/dist/toolSchemas.d.ts.map +1 -1
  196. package/dist/toolSchemas.js +87 -3
  197. package/dist/toolSchemas.js.map +1 -1
  198. package/dist/triggers.d.ts +6 -0
  199. package/dist/triggers.d.ts.map +1 -1
  200. package/dist/triggers.js +10 -1
  201. package/dist/triggers.js.map +1 -1
  202. package/dist/workflow-document-revision.d.ts +1 -1
  203. package/dist/workflow-document-revision.d.ts.map +1 -1
  204. package/dist/workflow-document-revision.js +2 -1
  205. package/dist/workflow-document-revision.js.map +1 -1
  206. package/dist/ws-commands.d.ts +21 -1
  207. package/dist/ws-commands.d.ts.map +1 -1
  208. package/dist/ws-commands.js +15 -1
  209. package/dist/ws-commands.js.map +1 -1
  210. package/dist/zod-schema.d.ts.map +1 -1
  211. package/dist/zod-schema.js +15 -3
  212. package/dist/zod-schema.js.map +1 -1
  213. package/package.json +7 -1
  214. package/schema/sdk-v1.execution.schema.json +0 -4
  215. package/schema/sdk-v1.manifest.json +1 -1
@@ -0,0 +1,137 @@
1
+ /**
2
+ * The library index's description of one item: an asset, a document of any
3
+ * kind, or an entity. Every item gets the same shape, so one filter and one
4
+ * hit format serve every kind. See `docs/plans/library-search.md` (D5).
5
+ */
6
+ import { z } from "zod";
7
+ /** What an indexed item is, as a filter and on a hit. */
8
+ export declare const SEARCH_KINDS: readonly ["image", "video", "audio", "model_3d", "document", "workflow", "application", "sketch", "script", "storyboard", "timeline", "jsscript", "game", "entity", "file"];
9
+ export declare const SearchKind: z.ZodEnum<{
10
+ application: "application";
11
+ audio: "audio";
12
+ document: "document";
13
+ entity: "entity";
14
+ file: "file";
15
+ game: "game";
16
+ image: "image";
17
+ jsscript: "jsscript";
18
+ model_3d: "model_3d";
19
+ script: "script";
20
+ sketch: "sketch";
21
+ storyboard: "storyboard";
22
+ timeline: "timeline";
23
+ video: "video";
24
+ workflow: "workflow";
25
+ }>;
26
+ export type SearchKind = z.infer<typeof SearchKind>;
27
+ /**
28
+ * The table an item comes from. Assets and entities share `asset`. A
29
+ * `project_file` is a file in a project folder that no row names, with the
30
+ * resource id `<project id>:<path>`.
31
+ */
32
+ export declare const SEARCH_RESOURCE_TYPES: readonly ["asset", "workflow", "application", "image_document", "script", "storyboard", "timeline_sequence", "js_script", "game", "project_file"];
33
+ export declare const SearchResourceType: z.ZodEnum<{
34
+ application: "application";
35
+ asset: "asset";
36
+ game: "game";
37
+ image_document: "image_document";
38
+ js_script: "js_script";
39
+ project_file: "project_file";
40
+ script: "script";
41
+ storyboard: "storyboard";
42
+ timeline_sequence: "timeline_sequence";
43
+ workflow: "workflow";
44
+ }>;
45
+ export type SearchResourceType = z.infer<typeof SearchResourceType>;
46
+ /** The part of an item a chunk of text came from. */
47
+ export declare const SEARCH_FIELDS: readonly ["title", "prompt", "description", "body", "caption", "transcript"];
48
+ export declare const SearchField: z.ZodEnum<{
49
+ body: "body";
50
+ caption: "caption";
51
+ description: "description";
52
+ prompt: "prompt";
53
+ title: "title";
54
+ transcript: "transcript";
55
+ }>;
56
+ export type SearchField = z.infer<typeof SearchField>;
57
+ /** How an item came to exist. */
58
+ export declare const SearchOrigin: z.ZodEnum<{
59
+ external: "external";
60
+ folder_file: "folder_file";
61
+ generated: "generated";
62
+ imported: "imported";
63
+ }>;
64
+ export type SearchOrigin = z.infer<typeof SearchOrigin>;
65
+ /**
66
+ * Where an indexed item stands in the indexing queue. `pending` items wait
67
+ * for the indexer to extract their content. `failed` and `skipped` items
68
+ * could not be extracted, and stay findable by name and metadata. An
69
+ * `excluded` row is not a library item, such as a shipped entity preset, and
70
+ * no query returns it.
71
+ */
72
+ export declare const SearchItemState: z.ZodEnum<{
73
+ excluded: "excluded";
74
+ failed: "failed";
75
+ pending: "pending";
76
+ ready: "ready";
77
+ skipped: "skipped";
78
+ }>;
79
+ export type SearchItemState = z.infer<typeof SearchItemState>;
80
+ /** Normalize asset tags: trimmed, lower case, no empties, no duplicates, in order. */
81
+ export declare function normalizeSearchTags(tags: readonly unknown[]): string[];
82
+ /**
83
+ * The metadata document stored on every item row. Fields that do not apply to
84
+ * a kind are absent. The groups follow the plan's D5 table: identity, media,
85
+ * provenance, usage, entity and time. Derived fields (caption, languages)
86
+ * arrive with enrichment and are not part of this shape yet.
87
+ */
88
+ export declare const SearchMetadata: z.ZodObject<{
89
+ kind: z.ZodEnum<{
90
+ application: "application";
91
+ audio: "audio";
92
+ document: "document";
93
+ entity: "entity";
94
+ file: "file";
95
+ game: "game";
96
+ image: "image";
97
+ jsscript: "jsscript";
98
+ model_3d: "model_3d";
99
+ script: "script";
100
+ sketch: "sketch";
101
+ storyboard: "storyboard";
102
+ timeline: "timeline";
103
+ video: "video";
104
+ workflow: "workflow";
105
+ }>;
106
+ title: z.ZodString;
107
+ content_type: z.ZodOptional<z.ZodString>;
108
+ project_id: z.ZodString;
109
+ folder_path: z.ZodOptional<z.ZodString>;
110
+ uri: z.ZodOptional<z.ZodString>;
111
+ width: z.ZodOptional<z.ZodNumber>;
112
+ height: z.ZodOptional<z.ZodNumber>;
113
+ duration: z.ZodOptional<z.ZodNumber>;
114
+ size: z.ZodOptional<z.ZodNumber>;
115
+ page_count: z.ZodOptional<z.ZodNumber>;
116
+ origin: z.ZodOptional<z.ZodEnum<{
117
+ external: "external";
118
+ folder_file: "folder_file";
119
+ generated: "generated";
120
+ imported: "imported";
121
+ }>>;
122
+ prompt: z.ZodOptional<z.ZodString>;
123
+ provider: z.ZodOptional<z.ZodString>;
124
+ model: z.ZodOptional<z.ZodString>;
125
+ capability: z.ZodOptional<z.ZodString>;
126
+ workflow_id: z.ZodOptional<z.ZodString>;
127
+ node_type: z.ZodOptional<z.ZodString>;
128
+ job_id: z.ZodOptional<z.ZodString>;
129
+ favorite: z.ZodOptional<z.ZodBoolean>;
130
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
131
+ entity_kind: z.ZodOptional<z.ZodString>;
132
+ descriptor: z.ZodOptional<z.ZodString>;
133
+ created_at: z.ZodString;
134
+ updated_at: z.ZodString;
135
+ }, z.core.$strip>;
136
+ export type SearchMetadata = z.infer<typeof SearchMetadata>;
137
+ //# sourceMappingURL=search-metadata.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"search-metadata.d.ts","sourceRoot":"","sources":["../src/search-metadata.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,yDAAyD;AACzD,eAAO,MAAM,YAAY,YACvB,OAAO,EACP,OAAO,EACP,OAAO,EACP,UAAU,EACV,UAAU,EACV,UAAU,EACV,aAAa,EACb,QAAQ,EACR,QAAQ,EACR,YAAY,EACZ,UAAU,EACV,UAAU,EACV,MAAM,EACN,QAAQ,EACR,MAAM,CACE,CAAC;AAEX,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;EAAuB,CAAC;AAC/C,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,UAAU,CAAC,CAAC;AAEpD;;;;GAIG;AACH,eAAO,MAAM,qBAAqB,YAChC,OAAO,EACP,UAAU,EACV,aAAa,EACb,gBAAgB,EAChB,QAAQ,EACR,YAAY,EACZ,mBAAmB,EACnB,WAAW,EACX,MAAM,EACN,cAAc,CACN,CAAC;AAEX,eAAO,MAAM,kBAAkB;;;;;;;;;;;EAAgC,CAAC;AAChE,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAEpE,qDAAqD;AACrD,eAAO,MAAM,aAAa,YACxB,OAAO,EACP,QAAQ,EACR,aAAa,EACb,MAAM,EACN,SAAS,EACT,YAAY,CACJ,CAAC;AAEX,eAAO,MAAM,WAAW;;;;;;;EAAwB,CAAC;AACjD,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,WAAW,CAAC,CAAC;AAEtD,iCAAiC;AACjC,eAAO,MAAM,YAAY;;;;;EAKvB,CAAC;AACH,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAC;AAExD;;;;;;GAMG;AACH,eAAO,MAAM,eAAe;;;;;;EAAgE,CAAC;AAC7F,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AAE9D,sFAAsF;AACtF,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,SAAS,OAAO,EAAE,GAAG,MAAM,EAAE,CAUtE;AAED;;;;;GAKG;AACH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAgCzB,CAAC;AACH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC"}
@@ -0,0 +1,122 @@
1
+ /**
2
+ * The library index's description of one item: an asset, a document of any
3
+ * kind, or an entity. Every item gets the same shape, so one filter and one
4
+ * hit format serve every kind. See `docs/plans/library-search.md` (D5).
5
+ */
6
+ import { z } from "zod";
7
+ /** What an indexed item is, as a filter and on a hit. */
8
+ export const SEARCH_KINDS = [
9
+ "image",
10
+ "video",
11
+ "audio",
12
+ "model_3d",
13
+ "document",
14
+ "workflow",
15
+ "application",
16
+ "sketch",
17
+ "script",
18
+ "storyboard",
19
+ "timeline",
20
+ "jsscript",
21
+ "game",
22
+ "entity",
23
+ "file"
24
+ ];
25
+ export const SearchKind = z.enum(SEARCH_KINDS);
26
+ /**
27
+ * The table an item comes from. Assets and entities share `asset`. A
28
+ * `project_file` is a file in a project folder that no row names, with the
29
+ * resource id `<project id>:<path>`.
30
+ */
31
+ export const SEARCH_RESOURCE_TYPES = [
32
+ "asset",
33
+ "workflow",
34
+ "application",
35
+ "image_document",
36
+ "script",
37
+ "storyboard",
38
+ "timeline_sequence",
39
+ "js_script",
40
+ "game",
41
+ "project_file"
42
+ ];
43
+ export const SearchResourceType = z.enum(SEARCH_RESOURCE_TYPES);
44
+ /** The part of an item a chunk of text came from. */
45
+ export const SEARCH_FIELDS = [
46
+ "title",
47
+ "prompt",
48
+ "description",
49
+ "body",
50
+ "caption",
51
+ "transcript"
52
+ ];
53
+ export const SearchField = z.enum(SEARCH_FIELDS);
54
+ /** How an item came to exist. */
55
+ export const SearchOrigin = z.enum([
56
+ "generated",
57
+ "imported",
58
+ "external",
59
+ "folder_file"
60
+ ]);
61
+ /**
62
+ * Where an indexed item stands in the indexing queue. `pending` items wait
63
+ * for the indexer to extract their content. `failed` and `skipped` items
64
+ * could not be extracted, and stay findable by name and metadata. An
65
+ * `excluded` row is not a library item, such as a shipped entity preset, and
66
+ * no query returns it.
67
+ */
68
+ export const SearchItemState = z.enum(["pending", "ready", "failed", "skipped", "excluded"]);
69
+ /** Normalize asset tags: trimmed, lower case, no empties, no duplicates, in order. */
70
+ export function normalizeSearchTags(tags) {
71
+ const out = [];
72
+ for (const tag of tags) {
73
+ // Stored metadata is JSON a caller wrote, so a tag may be anything.
74
+ const parsed = z.string().safeParse(tag);
75
+ if (!parsed.success)
76
+ continue;
77
+ const normalized = parsed.data.trim().toLowerCase();
78
+ if (normalized && !out.includes(normalized))
79
+ out.push(normalized);
80
+ }
81
+ return out;
82
+ }
83
+ /**
84
+ * The metadata document stored on every item row. Fields that do not apply to
85
+ * a kind are absent. The groups follow the plan's D5 table: identity, media,
86
+ * provenance, usage, entity and time. Derived fields (caption, languages)
87
+ * arrive with enrichment and are not part of this shape yet.
88
+ */
89
+ export const SearchMetadata = z.object({
90
+ // Identity
91
+ kind: SearchKind,
92
+ title: z.string(),
93
+ content_type: z.string().optional(),
94
+ project_id: z.string(),
95
+ folder_path: z.string().optional(),
96
+ uri: z.string().optional(),
97
+ // Media
98
+ width: z.number().optional(),
99
+ height: z.number().optional(),
100
+ duration: z.number().optional(),
101
+ size: z.number().optional(),
102
+ page_count: z.number().optional(),
103
+ // Provenance
104
+ origin: SearchOrigin.optional(),
105
+ prompt: z.string().optional(),
106
+ provider: z.string().optional(),
107
+ model: z.string().optional(),
108
+ capability: z.string().optional(),
109
+ workflow_id: z.string().optional(),
110
+ node_type: z.string().optional(),
111
+ job_id: z.string().optional(),
112
+ // Usage
113
+ favorite: z.boolean().optional(),
114
+ tags: z.array(z.string()).optional(),
115
+ // Entity
116
+ entity_kind: z.string().optional(),
117
+ descriptor: z.string().optional(),
118
+ // Time
119
+ created_at: z.string(),
120
+ updated_at: z.string()
121
+ });
122
+ //# sourceMappingURL=search-metadata.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"search-metadata.js","sourceRoot":"","sources":["../src/search-metadata.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,yDAAyD;AACzD,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B,OAAO;IACP,OAAO;IACP,OAAO;IACP,UAAU;IACV,UAAU;IACV,UAAU;IACV,aAAa;IACb,QAAQ;IACR,QAAQ;IACR,YAAY;IACZ,UAAU;IACV,UAAU;IACV,MAAM;IACN,QAAQ;IACR,MAAM;CACE,CAAC;AAEX,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;AAG/C;;;;GAIG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAG;IACnC,OAAO;IACP,UAAU;IACV,aAAa;IACb,gBAAgB;IAChB,QAAQ;IACR,YAAY;IACZ,mBAAmB;IACnB,WAAW;IACX,MAAM;IACN,cAAc;CACN,CAAC;AAEX,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,CAAC,IAAI,CAAC,qBAAqB,CAAC,CAAC;AAGhE,qDAAqD;AACrD,MAAM,CAAC,MAAM,aAAa,GAAG;IAC3B,OAAO;IACP,QAAQ;IACR,aAAa;IACb,MAAM;IACN,SAAS;IACT,YAAY;CACJ,CAAC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U,EAAE,CAAC,CAAC,MAAM,EAAE;CACvB,CAAC,CAAC"}
@@ -0,0 +1,154 @@
1
+ /**
2
+ * A storyboard document written as Markdown, and read back.
3
+ *
4
+ * The Markdown is a view of {@link StoryboardDocumentSchema}. Every line maps
5
+ * to a key the schema already has, and references use the encodings NodeTool
6
+ * already stores:
7
+ *
8
+ * ```
9
+ * # Title {#screenplay-id} screenplay.title, screenplay.id
10
+ * Text under the title document.brief
11
+ * - **Style:** … document.style (board fields: BOARD_FIELDS)
12
+ * # Act I (Exposition) {#act-id} screenplay.acts[]; text under it is the objective
13
+ * ## Slugline {#scene-id} screenplay.scenes[], with the act above as act_id
14
+ * - **Lighting:** … scene.lighting
15
+ * ### Slug {#shot-id} a shot: slug, id; index is its position
16
+ * ![Still](asset://<id>.png) shot.keyframe (a video file: shot.clip)
17
+ * Text under a shot shot.action
18
+ * - **Motion:** … shot.motion (shot fields: SHOT_FIELDS)
19
+ * [Nova](entity://<id>) an entity mention: the id joins shot.entity_ids
20
+ * [Shot 4](#<shot-id>) a shot reference, used by transitions and continuities
21
+ * ```
22
+ *
23
+ * `{#id}` is the Pandoc heading attribute. It is the join key with the stored
24
+ * document: what the text does not show (takes, render records, status,
25
+ * models, script links) is kept from `base` by id. Shot numbers are computed.
26
+ *
27
+ * Pure and dependency-free, so the web editor and the server read the text the
28
+ * same way. The native editor uses a C++ port,
29
+ * native/storyboard/src/StoryboardMarkdown.cpp. Its oracle test runs both on
30
+ * the same boards and fails on any difference, so change them together.
31
+ */
32
+ import type { StoryboardDocumentSchema } from "./api-schemas/storyboards.js";
33
+ /** The entity fields the Markdown needs: the name for links, the kind for chips. */
34
+ export interface StoryboardMarkdownEntity {
35
+ id: string;
36
+ name: string;
37
+ kind: string;
38
+ descriptor?: string;
39
+ }
40
+ export type StoryboardMarkdownEntities = ReadonlyMap<string, StoryboardMarkdownEntity>;
41
+ /** What one line of the Markdown became. The editor draws from this. */
42
+ export interface StoryboardMarkdownLine {
43
+ /** Line number, 0-based. */
44
+ line: number;
45
+ role: "blank" | "title" | "act" | "scene" | "shot" | "field" | "cont" | "text" | "still" | "clip" | "stray";
46
+ /** Where the line's content starts, after its syntax. */
47
+ bodyStart: number;
48
+ /** Where a heading's content ends, before its `{#id}`. */
49
+ bodyEnd?: number;
50
+ /** Width of a heading's syntax in characters, so it can hang in the margin. */
51
+ syntaxWidth?: number;
52
+ /** The key the line writes, e.g. `motion`, `action`, `brief`, or `unknown`. */
53
+ key?: string;
54
+ /** Lines that write the same value share a group. */
55
+ group?: string;
56
+ /** "Shot 3 · Motion" */
57
+ scope?: string;
58
+ /** A shot's computed number, 1-based. */
59
+ shotNumber?: number;
60
+ shotId?: string;
61
+ status?: string;
62
+ /** The media reference of a still or clip line. */
63
+ media?: string;
64
+ warning?: StoryboardMarkdownWarning;
65
+ }
66
+ /** Why a line does not map cleanly. `code` and `params` let a surface word the message itself. */
67
+ export type StoryboardMarkdownWarningCode = "media_outside_shot" | "second_media" | "unknown_shot_field" | "unknown_field" | "text_in_scene" | "bad_duration" | "bad_render" | "no_next_shot" | "missing_action";
68
+ export interface StoryboardMarkdownWarning {
69
+ line: number;
70
+ code: StoryboardMarkdownWarningCode;
71
+ params: Record<string, string | number>;
72
+ /** The message in English. */
73
+ message: string;
74
+ }
75
+ /** A heading that has no id yet, and the id to write into it. */
76
+ export interface StoryboardMarkdownMissingId {
77
+ line: number;
78
+ id: string;
79
+ /** An existing `{#id}` to replace, when the id was a duplicate. */
80
+ replace: {
81
+ start: number;
82
+ text: string;
83
+ } | null;
84
+ }
85
+ export interface StoryboardMarkdownResult {
86
+ document: StoryboardDocumentSchema;
87
+ lines: StoryboardMarkdownLine[];
88
+ warnings: StoryboardMarkdownWarning[];
89
+ missingIds: StoryboardMarkdownMissingId[];
90
+ /** Shot ids in board order. */
91
+ shotOrder: string[];
92
+ }
93
+ export interface ParseStoryboardMarkdownOptions {
94
+ /** The stored document. What the text does not show is kept from it by id. */
95
+ base?: StoryboardDocumentSchema | null;
96
+ entities?: StoryboardMarkdownEntities;
97
+ /** Mints an id for a heading without one. Defaults to 32 hex characters. */
98
+ generateId?: () => string;
99
+ }
100
+ export declare const STORYBOARD_MARKDOWN_ID = "[A-Za-z0-9._~-]+";
101
+ interface HeadingMatch {
102
+ mark: string;
103
+ level: number;
104
+ prefix: string;
105
+ body: string;
106
+ bodyStart: number;
107
+ anchor: {
108
+ id: string;
109
+ start: number;
110
+ text: string;
111
+ } | null;
112
+ }
113
+ export declare function matchStoryboardHeading(text: string): HeadingMatch | null;
114
+ interface FieldMatch {
115
+ pre: string;
116
+ label: string;
117
+ post: string;
118
+ gap: string;
119
+ body: string;
120
+ bodyStart: number;
121
+ }
122
+ export declare function matchStoryboardField(text: string): FieldMatch | null;
123
+ /** Entity mentions in a value, and the value with each mention written as its name. */
124
+ export declare function readEntityMentions(value: string, entities?: StoryboardMarkdownEntities): {
125
+ text: string;
126
+ ids: string[];
127
+ };
128
+ /**
129
+ * One styled run of a line. `syntax` runs are Markdown punctuation, `label` a
130
+ * field label, `entity` a mention (with the entity kind, or `missing`),
131
+ * `shotref` a shot reference and `id` a `{#id}`. `hidden` runs are the link
132
+ * targets an editor shows only on the active line.
133
+ */
134
+ export interface StoryboardMarkdownToken {
135
+ kind: "text" | "syntax" | "hidden" | "label" | "bold" | "italic" | "entity" | "shotref" | "id";
136
+ text: string;
137
+ entityKind?: string;
138
+ }
139
+ /** Split one line into styled runs. The run texts always add up to the line. */
140
+ export declare function tokenizeStoryboardLine(text: string, entities?: StoryboardMarkdownEntities): StoryboardMarkdownToken[];
141
+ /**
142
+ * Read a storyboard document out of its Markdown.
143
+ *
144
+ * Returns the document, what each line became, the warnings, and the headings
145
+ * that need an id written into them. The result validates against
146
+ * `storyboardDocument` for any input text.
147
+ */
148
+ export declare function parseStoryboardMarkdown(markdown: string | readonly string[], options?: ParseStoryboardMarkdownOptions): StoryboardMarkdownResult;
149
+ /** Write a storyboard document as Markdown. */
150
+ export declare function storyboardToMarkdown(document: StoryboardDocumentSchema, options?: {
151
+ entities?: StoryboardMarkdownEntities;
152
+ }): string;
153
+ export {};
154
+ //# sourceMappingURL=storyboard-markdown.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"storyboard-markdown.d.ts","sourceRoot":"","sources":["../src/storyboard-markdown.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AAEH,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,8BAA8B,CAAC;AAG7E,oFAAoF;AACpF,MAAM,WAAW,wBAAwB;IACvC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AACD,MAAM,MAAM,0BAA0B,GAAG,WAAW,CAAC,MAAM,EAAE,wBAAwB,CAAC,CAAC;AAEvF,wEAAwE;AACxE,MAAM,WAAW,sBAAsB;IACrC,4BAA4B;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,OAAO,GAAG,OAAO,GAAG,KAAK,GAAG,OAAO,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC;IAC5G,yDAAyD;IACzD,SAAS,EAAE,MAAM,CAAC;IAClB,0DAA0D;IAC1D,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,+EAA+E;IAC/E,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,+EAA+E;IAC/E,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,qDAAqD;IACrD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,wBAAwB;IACxB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,yCAAyC;IACzC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,mDAAmD;IACnD,KA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