@pikku/addon-graph 0.12.5 → 0.12.7

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 (245) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +23 -0
  3. package/dist/.pikku/addon/pikku-addon-types.gen.d.ts +1 -1
  4. package/dist/.pikku/addon/pikku-addon-types.gen.js +1 -1
  5. package/dist/.pikku/addon/pikku-package.gen.js +1 -1
  6. package/dist/.pikku/agent/pikku-agent-map.gen.d.ts +1 -1
  7. package/dist/.pikku/agent/pikku-agent-types.gen.d.ts +4 -2
  8. package/dist/.pikku/agent/pikku-agent-types.gen.d.ts.map +1 -1
  9. package/dist/.pikku/agent/pikku-agent-types.gen.js.map +1 -1
  10. package/dist/.pikku/channel/pikku-channel-types.gen.d.ts +1 -1
  11. package/dist/.pikku/channel/pikku-channel-types.gen.js +1 -1
  12. package/dist/.pikku/console/pikku-node-types.gen.d.ts +1 -1
  13. package/dist/.pikku/function/pikku-function-types.gen.d.ts +30 -26
  14. package/dist/.pikku/function/pikku-function-types.gen.d.ts.map +1 -1
  15. package/dist/.pikku/function/pikku-function-types.gen.js +3 -12
  16. package/dist/.pikku/function/pikku-function-types.gen.js.map +1 -1
  17. package/dist/.pikku/function/pikku-functions-meta.gen.js +1 -1
  18. package/dist/.pikku/function/pikku-functions-meta.gen.json +350 -33
  19. package/dist/.pikku/function/pikku-functions.gen.js +19 -1
  20. package/dist/.pikku/function/pikku-functions.gen.js.map +1 -1
  21. package/dist/.pikku/http/pikku-http-types.gen.d.ts +2 -24
  22. package/dist/.pikku/http/pikku-http-types.gen.d.ts.map +1 -1
  23. package/dist/.pikku/http/pikku-http-types.gen.js +2 -24
  24. package/dist/.pikku/http/pikku-http-types.gen.js.map +1 -1
  25. package/dist/.pikku/mcp/pikku-mcp-types.gen.d.ts +1 -1
  26. package/dist/.pikku/mcp/pikku-mcp-types.gen.js +1 -1
  27. package/dist/.pikku/pikku-bootstrap-scenarios.gen.d.ts +10 -0
  28. package/dist/.pikku/pikku-bootstrap-scenarios.gen.d.ts.map +1 -0
  29. package/dist/.pikku/pikku-bootstrap-scenarios.gen.js +10 -0
  30. package/dist/.pikku/pikku-bootstrap-scenarios.gen.js.map +1 -0
  31. package/dist/.pikku/pikku-bootstrap.gen.d.ts +1 -1
  32. package/dist/.pikku/pikku-bootstrap.gen.js +1 -1
  33. package/dist/.pikku/pikku-meta-service.gen.d.ts +1 -1
  34. package/dist/.pikku/pikku-meta-service.gen.js +1 -1
  35. package/dist/.pikku/pikku-services.gen.d.ts +6 -1
  36. package/dist/.pikku/pikku-services.gen.d.ts.map +1 -1
  37. package/dist/.pikku/pikku-services.gen.js +5 -0
  38. package/dist/.pikku/pikku-services.gen.js.map +1 -1
  39. package/dist/.pikku/pikku-types.gen.d.ts +2 -1
  40. package/dist/.pikku/pikku-types.gen.d.ts.map +1 -1
  41. package/dist/.pikku/pikku-types.gen.js +3 -1
  42. package/dist/.pikku/pikku-types.gen.js.map +1 -1
  43. package/dist/.pikku/queue/pikku-queue-types.gen.d.ts +1 -1
  44. package/dist/.pikku/queue/pikku-queue-types.gen.js +1 -1
  45. package/dist/.pikku/rpc/pikku-rpc-wirings-map.gen.d.ts +163 -7
  46. package/dist/.pikku/rpc/pikku-rpc-wirings-map.internal.gen.d.ts +172 -7
  47. package/dist/.pikku/rpc/pikku-rpc-wirings-map.remote.gen.d.ts +652 -0
  48. package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.js +1 -1
  49. package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.json +10 -1
  50. package/dist/.pikku/scenarios/pikku-scenario-functions-meta.gen.d.ts +2 -0
  51. package/dist/.pikku/scenarios/pikku-scenario-functions-meta.gen.d.ts.map +1 -0
  52. package/dist/.pikku/scenarios/pikku-scenario-functions-meta.gen.js +11 -0
  53. package/dist/.pikku/scenarios/pikku-scenario-functions-meta.gen.js.map +1 -0
  54. package/dist/.pikku/scenarios/pikku-scenario-functions-meta.gen.json +1 -0
  55. package/dist/.pikku/scenarios/pikku-scenario-functions.gen.d.ts +5 -0
  56. package/dist/.pikku/scenarios/pikku-scenario-functions.gen.d.ts.map +1 -0
  57. package/dist/.pikku/scenarios/pikku-scenario-functions.gen.js +2 -0
  58. package/dist/.pikku/scenarios/pikku-scenario-functions.gen.js.map +1 -0
  59. package/dist/.pikku/scenarios/pikku-scenario-wirings-meta.gen.d.ts +2 -0
  60. package/dist/.pikku/scenarios/pikku-scenario-wirings-meta.gen.d.ts.map +1 -0
  61. package/dist/.pikku/scenarios/pikku-scenario-wirings-meta.gen.js +11 -0
  62. package/dist/.pikku/scenarios/pikku-scenario-wirings-meta.gen.js.map +1 -0
  63. package/dist/.pikku/scenarios/pikku-scenario-wirings.gen.d.ts +5 -0
  64. package/dist/.pikku/scenarios/pikku-scenario-wirings.gen.d.ts.map +1 -0
  65. package/dist/.pikku/scenarios/pikku-scenario-wirings.gen.js +2 -0
  66. package/dist/.pikku/scenarios/pikku-scenario-wirings.gen.js.map +1 -0
  67. package/dist/.pikku/scenarios/schemas/register.gen.d.ts +5 -0
  68. package/dist/.pikku/scenarios/schemas/register.gen.d.ts.map +1 -0
  69. package/dist/.pikku/scenarios/schemas/register.gen.js +5 -0
  70. package/dist/.pikku/scenarios/schemas/register.gen.js.map +1 -0
  71. package/dist/.pikku/scheduler/pikku-scheduler-types.gen.d.ts +1 -1
  72. package/dist/.pikku/scheduler/pikku-scheduler-types.gen.js +1 -1
  73. package/dist/.pikku/schemas/register.gen.js +37 -1
  74. package/dist/.pikku/schemas/register.gen.js.map +1 -1
  75. package/dist/.pikku/schemas/schemas/AggregateInput.schema.json +1 -1
  76. package/dist/.pikku/schemas/schemas/BranchInput.schema.json +1 -0
  77. package/dist/.pikku/schemas/schemas/BranchOutput.schema.json +1 -0
  78. package/dist/.pikku/schemas/schemas/ConcatInput.schema.json +1 -0
  79. package/dist/.pikku/schemas/schemas/ConcatOutput.schema.json +1 -0
  80. package/dist/.pikku/schemas/schemas/DateTimeInput.schema.json +1 -1
  81. package/dist/.pikku/schemas/schemas/EditFieldsOutput.schema.json +1 -1
  82. package/dist/.pikku/schemas/schemas/FanoutInput.schema.json +1 -0
  83. package/dist/.pikku/schemas/schemas/FanoutOutput.schema.json +1 -0
  84. package/dist/.pikku/schemas/schemas/HttpRequestInput.schema.json +1 -0
  85. package/dist/.pikku/schemas/schemas/HttpRequestOutput.schema.json +1 -0
  86. package/dist/.pikku/schemas/schemas/ReadFileInput.schema.json +1 -0
  87. package/dist/.pikku/schemas/schemas/ReadFileOutput.schema.json +1 -0
  88. package/dist/.pikku/schemas/schemas/SplitTextInput.schema.json +1 -0
  89. package/dist/.pikku/schemas/schemas/SplitTextOutput.schema.json +1 -0
  90. package/dist/.pikku/schemas/schemas/StopAndErrorInput.schema.json +1 -0
  91. package/dist/.pikku/schemas/schemas/StopAndErrorOutput.schema.json +1 -0
  92. package/dist/.pikku/schemas/schemas/WaitInput.schema.json +1 -0
  93. package/dist/.pikku/schemas/schemas/WaitOutput.schema.json +1 -0
  94. package/dist/.pikku/schemas/schemas/WriteFileInput.schema.json +1 -0
  95. package/dist/.pikku/schemas/schemas/WriteFileOutput.schema.json +1 -0
  96. package/dist/.pikku/scopes/pikku-scope-types.gen.d.ts +6 -0
  97. package/dist/.pikku/scopes/pikku-scope-types.gen.d.ts.map +1 -0
  98. package/dist/.pikku/scopes/pikku-scope-types.gen.js +5 -0
  99. package/dist/.pikku/scopes/pikku-scope-types.gen.js.map +1 -0
  100. package/dist/.pikku/scopes/pikku-scopes-meta.gen.json +1 -0
  101. package/dist/.pikku/scopes/pikku-scopes.gen.d.ts +36 -0
  102. package/dist/.pikku/scopes/pikku-scopes.gen.d.ts.map +1 -0
  103. package/dist/.pikku/scopes/pikku-scopes.gen.js +28 -0
  104. package/dist/.pikku/scopes/pikku-scopes.gen.js.map +1 -0
  105. package/dist/.pikku/secrets/pikku-secret-types.gen.d.ts +1 -1
  106. package/dist/.pikku/secrets/pikku-secret-types.gen.js +1 -1
  107. package/dist/.pikku/secrets/pikku-secrets-meta.gen.json +1 -0
  108. package/dist/.pikku/secrets/pikku-secrets.gen.d.ts +11 -1
  109. package/dist/.pikku/secrets/pikku-secrets.gen.d.ts.map +1 -1
  110. package/dist/.pikku/secrets/pikku-secrets.gen.js +11 -1
  111. package/dist/.pikku/secrets/pikku-secrets.gen.js.map +1 -1
  112. package/dist/.pikku/trigger/pikku-trigger-types.gen.d.ts +1 -1
  113. package/dist/.pikku/trigger/pikku-trigger-types.gen.js +1 -1
  114. package/dist/.pikku/variables/pikku-variable-types.gen.d.ts +1 -1
  115. package/dist/.pikku/variables/pikku-variable-types.gen.js +1 -1
  116. package/dist/.pikku/variables/pikku-variables-meta.gen.json +1 -0
  117. package/dist/.pikku/variables/pikku-variables.gen.d.ts +11 -1
  118. package/dist/.pikku/variables/pikku-variables.gen.d.ts.map +1 -1
  119. package/dist/.pikku/variables/pikku-variables.gen.js +13 -3
  120. package/dist/.pikku/variables/pikku-variables.gen.js.map +1 -1
  121. package/dist/.pikku/workflow/pikku-scenario-actors.gen.d.ts +20 -0
  122. package/dist/.pikku/workflow/pikku-scenario-actors.gen.d.ts.map +1 -0
  123. package/dist/.pikku/workflow/pikku-scenario-actors.gen.js +18 -0
  124. package/dist/.pikku/workflow/pikku-scenario-actors.gen.js.map +1 -0
  125. package/dist/.pikku/workflow/pikku-scenario-step-map.gen.d.ts +18 -0
  126. package/dist/.pikku/workflow/pikku-workflow-map.gen.d.ts +1 -1
  127. package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts +177 -5
  128. package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts.map +1 -1
  129. package/dist/.pikku/workflow/pikku-workflow-types.gen.js +42 -1
  130. package/dist/.pikku/workflow/pikku-workflow-types.gen.js.map +1 -1
  131. package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.js +1 -1
  132. package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.js.map +1 -1
  133. package/dist/.pikku/workflow/pikku-workflow-wirings.gen.d.ts +1 -1
  134. package/dist/.pikku/workflow/pikku-workflow-wirings.gen.js +1 -1
  135. package/dist/src/functions/array/aggregate.function.d.ts +35 -6
  136. package/dist/src/functions/array/aggregate.function.d.ts.map +1 -1
  137. package/dist/src/functions/array/aggregate.function.js +47 -14
  138. package/dist/src/functions/array/aggregate.function.js.map +1 -1
  139. package/dist/src/functions/array/aggregate.function.test.d.ts +2 -0
  140. package/dist/src/functions/array/aggregate.function.test.d.ts.map +1 -0
  141. package/dist/src/functions/array/aggregate.function.test.js +42 -0
  142. package/dist/src/functions/array/aggregate.function.test.js.map +1 -0
  143. package/dist/src/functions/array/chunk.function.d.ts +2 -2
  144. package/dist/src/functions/array/chunk.function.d.ts.map +1 -1
  145. package/dist/src/functions/array/fanout.function.d.ts +32 -0
  146. package/dist/src/functions/array/fanout.function.d.ts.map +1 -0
  147. package/dist/src/functions/array/fanout.function.js +80 -0
  148. package/dist/src/functions/array/fanout.function.js.map +1 -0
  149. package/dist/src/functions/array/fanout.function.test.d.ts +2 -0
  150. package/dist/src/functions/array/fanout.function.test.d.ts.map +1 -0
  151. package/dist/src/functions/array/fanout.function.test.js +66 -0
  152. package/dist/src/functions/array/fanout.function.test.js.map +1 -0
  153. package/dist/src/functions/array/find.function.d.ts +2 -2
  154. package/dist/src/functions/array/find.function.d.ts.map +1 -1
  155. package/dist/src/functions/array/group-by.function.d.ts +2 -2
  156. package/dist/src/functions/array/group-by.function.d.ts.map +1 -1
  157. package/dist/src/functions/array/limit.function.d.ts +2 -2
  158. package/dist/src/functions/array/limit.function.d.ts.map +1 -1
  159. package/dist/src/functions/array/remove-duplicates.function.d.ts +2 -2
  160. package/dist/src/functions/array/remove-duplicates.function.d.ts.map +1 -1
  161. package/dist/src/functions/array/reverse.function.d.ts +2 -2
  162. package/dist/src/functions/array/reverse.function.d.ts.map +1 -1
  163. package/dist/src/functions/array/sort.function.d.ts +2 -2
  164. package/dist/src/functions/array/sort.function.d.ts.map +1 -1
  165. package/dist/src/functions/array/split-out.function.d.ts +2 -2
  166. package/dist/src/functions/array/split-out.function.d.ts.map +1 -1
  167. package/dist/src/functions/array/summarize.function.d.ts +6 -6
  168. package/dist/src/functions/array/summarize.function.d.ts.map +1 -1
  169. package/dist/src/functions/array/unique.function.d.ts +2 -2
  170. package/dist/src/functions/array/unique.function.d.ts.map +1 -1
  171. package/dist/src/functions/data/coalesce.function.d.ts +2 -2
  172. package/dist/src/functions/data/coalesce.function.d.ts.map +1 -1
  173. package/dist/src/functions/data/crypto.function.d.ts +2 -2
  174. package/dist/src/functions/data/crypto.function.d.ts.map +1 -1
  175. package/dist/src/functions/data/date-time.function.d.ts +19 -5
  176. package/dist/src/functions/data/date-time.function.d.ts.map +1 -1
  177. package/dist/src/functions/data/date-time.function.js +46 -0
  178. package/dist/src/functions/data/date-time.function.js.map +1 -1
  179. package/dist/src/functions/data/jwt.function.d.ts +8 -8
  180. package/dist/src/functions/data/jwt.function.d.ts.map +1 -1
  181. package/dist/src/functions/data/math.function.d.ts +2 -2
  182. package/dist/src/functions/data/math.function.d.ts.map +1 -1
  183. package/dist/src/functions/data/read-file.function.d.ts +40 -0
  184. package/dist/src/functions/data/read-file.function.d.ts.map +1 -0
  185. package/dist/src/functions/data/read-file.function.js +39 -0
  186. package/dist/src/functions/data/read-file.function.js.map +1 -0
  187. package/dist/src/functions/data/sleep.function.d.ts +2 -2
  188. package/dist/src/functions/data/sleep.function.d.ts.map +1 -1
  189. package/dist/src/functions/data/string-transform.function.d.ts +2 -2
  190. package/dist/src/functions/data/string-transform.function.d.ts.map +1 -1
  191. package/dist/src/functions/data/type-convert.function.d.ts +6 -6
  192. package/dist/src/functions/data/type-convert.function.d.ts.map +1 -1
  193. package/dist/src/functions/data/wait.function.d.ts +26 -0
  194. package/dist/src/functions/data/wait.function.d.ts.map +1 -0
  195. package/dist/src/functions/data/wait.function.js +29 -0
  196. package/dist/src/functions/data/wait.function.js.map +1 -0
  197. package/dist/src/functions/data/write-file.function.d.ts +40 -0
  198. package/dist/src/functions/data/write-file.function.d.ts.map +1 -0
  199. package/dist/src/functions/data/write-file.function.js +37 -0
  200. package/dist/src/functions/data/write-file.function.js.map +1 -0
  201. package/dist/src/functions/logic/branch.function.d.ts +71 -0
  202. package/dist/src/functions/logic/branch.function.d.ts.map +1 -0
  203. package/dist/src/functions/logic/branch.function.js +213 -0
  204. package/dist/src/functions/logic/branch.function.js.map +1 -0
  205. package/dist/src/functions/logic/stop-and-error.function.d.ts +13 -0
  206. package/dist/src/functions/logic/stop-and-error.function.d.ts.map +1 -0
  207. package/dist/src/functions/logic/stop-and-error.function.js +18 -0
  208. package/dist/src/functions/logic/stop-and-error.function.js.map +1 -0
  209. package/dist/src/functions/network/http-request.function.d.ts +105 -0
  210. package/dist/src/functions/network/http-request.function.d.ts.map +1 -0
  211. package/dist/src/functions/network/http-request.function.js +142 -0
  212. package/dist/src/functions/network/http-request.function.js.map +1 -0
  213. package/dist/src/functions/network/http-request.function.test.d.ts +2 -0
  214. package/dist/src/functions/network/http-request.function.test.d.ts.map +1 -0
  215. package/dist/src/functions/network/http-request.function.test.js +119 -0
  216. package/dist/src/functions/network/http-request.function.test.js.map +1 -0
  217. package/dist/src/functions/transform/concat.function.d.ts +21 -0
  218. package/dist/src/functions/transform/concat.function.d.ts.map +1 -0
  219. package/dist/src/functions/transform/concat.function.js +22 -0
  220. package/dist/src/functions/transform/concat.function.js.map +1 -0
  221. package/dist/src/functions/transform/concat.function.test.d.ts +2 -0
  222. package/dist/src/functions/transform/concat.function.test.d.ts.map +1 -0
  223. package/dist/src/functions/transform/concat.function.test.js +23 -0
  224. package/dist/src/functions/transform/concat.function.test.js.map +1 -0
  225. package/dist/src/functions/transform/edit-fields.function.d.ts +9 -12
  226. package/dist/src/functions/transform/edit-fields.function.d.ts.map +1 -1
  227. package/dist/src/functions/transform/edit-fields.function.js +9 -4
  228. package/dist/src/functions/transform/edit-fields.function.js.map +1 -1
  229. package/dist/src/functions/transform/merge.function.d.ts +2 -2
  230. package/dist/src/functions/transform/merge.function.d.ts.map +1 -1
  231. package/dist/src/functions/transform/omit.function.d.ts +2 -2
  232. package/dist/src/functions/transform/omit.function.d.ts.map +1 -1
  233. package/dist/src/functions/transform/pick.function.d.ts +2 -2
  234. package/dist/src/functions/transform/pick.function.d.ts.map +1 -1
  235. package/dist/src/functions/transform/rename-keys.function.d.ts +2 -2
  236. package/dist/src/functions/transform/rename-keys.function.d.ts.map +1 -1
  237. package/dist/src/functions/transform/split-text.function.d.ts +41 -0
  238. package/dist/src/functions/transform/split-text.function.d.ts.map +1 -0
  239. package/dist/src/functions/transform/split-text.function.js +116 -0
  240. package/dist/src/functions/transform/split-text.function.js.map +1 -0
  241. package/dist/src/functions/transform/split-text.function.test.d.ts +2 -0
  242. package/dist/src/functions/transform/split-text.function.test.d.ts.map +1 -0
  243. package/dist/src/functions/transform/split-text.function.test.js +66 -0
  244. package/dist/src/functions/transform/split-text.function.test.js.map +1 -0
  245. package/package.json +5 -3
@@ -0,0 +1,66 @@
1
+ import { describe, test } from 'node:test';
2
+ import assert from 'node:assert/strict';
3
+ import { splitText } from './split-text.function.js';
4
+ const call = (data) => splitText.func({}, data);
5
+ describe('graph:splitText', () => {
6
+ test('text shorter than chunkSize returns a single chunk', async () => {
7
+ const out = await call({ text: 'hello world', chunkSize: 100 });
8
+ assert.deepEqual(out, { chunks: ['hello world'] });
9
+ });
10
+ test('recursive strategy splits on paragraph boundaries into bounded chunks', async () => {
11
+ const para = 'a'.repeat(40);
12
+ const text = [para, para, para].join('\n\n');
13
+ const out = await call({
14
+ text,
15
+ strategy: 'recursive',
16
+ chunkSize: 50,
17
+ chunkOverlap: 0,
18
+ });
19
+ assert.ok(out.chunks.length >= 3, 'expected each 40-char paragraph in its own chunk');
20
+ for (const c of out.chunks) {
21
+ assert.ok(c.length <= 50, `chunk exceeded chunkSize: ${c.length}`);
22
+ }
23
+ // reconstructable content — every paragraph survives
24
+ assert.ok(out.chunks.every((c) => c.includes('a')));
25
+ });
26
+ test('default strategy behaves as recursive', async () => {
27
+ const text = ['x'.repeat(30), 'y'.repeat(30)].join('\n\n');
28
+ const withDefault = await call({ text, chunkSize: 40, chunkOverlap: 0 });
29
+ const withRecursive = await call({
30
+ text,
31
+ strategy: 'recursive',
32
+ chunkSize: 40,
33
+ chunkOverlap: 0,
34
+ });
35
+ assert.deepEqual(withDefault, withRecursive);
36
+ });
37
+ test('overlap carries trailing content into the next chunk', async () => {
38
+ const words = Array.from({ length: 12 }, (_, i) => `w${i}`).join(' ');
39
+ const out = await call({
40
+ text: words,
41
+ strategy: 'recursive',
42
+ chunkSize: 12,
43
+ chunkOverlap: 6,
44
+ });
45
+ assert.ok(out.chunks.length > 1, 'expected multiple chunks');
46
+ // consecutive chunks share at least one word due to overlap
47
+ const first = out.chunks[0].split(' ');
48
+ const second = out.chunks[1].split(' ');
49
+ assert.ok(first.some((w) => second.includes(w)), 'expected overlapping word between consecutive chunks');
50
+ });
51
+ test('character strategy splits on the double-newline separator', async () => {
52
+ const text = ['one', 'two', 'three'].join('\n\n');
53
+ const out = await call({
54
+ text,
55
+ strategy: 'character',
56
+ chunkSize: 3,
57
+ chunkOverlap: 0,
58
+ });
59
+ assert.deepEqual(out.chunks, ['one', 'two', 'three']);
60
+ });
61
+ test('empty text yields no chunks', async () => {
62
+ const out = await call({ text: '', chunkSize: 100 });
63
+ assert.deepEqual(out, { chunks: [] });
64
+ });
65
+ });
66
+ //# sourceMappingURL=split-text.function.test.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"split-text.function.test.js","sourceRoot":"","sources":["../../../../src/functions/transform/split-text.function.test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,WAAW,CAAA;AAC1C,OAAO,MAAM,MAAM,oBAAoB,CAAA;AAEvC,OAAO,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAA;AAEpD,MAAM,IAAI,GAAG,CAAC,IAAS,EA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AC,GAAG,CAAC,CAAA;QACvC,MAAM,CAAC,EAAE,CACP,KAAK,CAAC,IAAI,CAAC,CAAC,CAAS,EAAE,EAAE,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,EAC7C,sDAAsD,CACvD,CAAA;IACH,CAAC,CAAC,CAAA;IAEF,IAAI,CAAC,2DAA2D,EAAE,KAAK,IAAI,EAAE;QAC3E,MAAM,IAAI,GAAG,CAAC,KAAK,EAAE,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAA;QACjD,MAAM,GAAG,GAAG,MAAM,IAAI,CAAC;YACrB,IAAI;YACJ,QAAQ,EAAE,WAAW;YACrB,SAAS,EAAE,CAAC;YACZ,YAAY,EAAE,CAAC;SAChB,CAAC,CAAA;QACF,MAAM,CAAC,SAAS,CAAC,GAAG,CAAC,MAAM,EAAE,CAAC,KAAK,EAAE,KAAK,EAAE,OAAO,CAAC,CAAC,CAAA;IACvD,CAAC,CAAC,CAAA;IAEF,IAAI,CAAC,6BAA6B,EAAE,KAAK,IAAI,EAAE;QAC7C,MAAM,GAAG,GAAG,MAAM,IAAI,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE,SAAS,EAAE,GAAG,EAAE,CAAC,CAAA;QACpD,MAAM,CAAC,SAAS,CAAC,GAAG,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC,CAAA;IACvC,CAAC,CAAC,CAAA;AACJ,CAAC,CAAC,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "name": "@pikku/addon-graph",
3
- "version": "0.12.5",
3
+ "version": "0.12.7",
4
+ "description": "Graph addon for Pikku — built-in graph:* primitives for workflow graphs",
4
5
  "type": "module",
5
6
  "imports": {
6
7
  "#pikku": {
@@ -31,12 +32,13 @@
31
32
  "zod": "^4"
32
33
  },
33
34
  "devDependencies": {
34
- "@pikku/cli": "^0.12.61",
35
+ "@pikku/cli": "^0.12.92",
35
36
  "@pikku/core": "*",
36
37
  "typescript": "^6.0.3",
37
38
  "zod": "^4"
38
39
  },
39
40
  "dependencies": {
40
41
  "dayjs": "^1.11.19"
41
- }
42
+ },
43
+ "license": "MIT"
42
44
  }