@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.
- package/LICENSE +21 -0
- package/README.md +23 -0
- package/dist/.pikku/addon/pikku-addon-types.gen.d.ts +1 -1
- package/dist/.pikku/addon/pikku-addon-types.gen.js +1 -1
- package/dist/.pikku/addon/pikku-package.gen.js +1 -1
- package/dist/.pikku/agent/pikku-agent-map.gen.d.ts +1 -1
- package/dist/.pikku/agent/pikku-agent-types.gen.d.ts +4 -2
- package/dist/.pikku/agent/pikku-agent-types.gen.d.ts.map +1 -1
- package/dist/.pikku/agent/pikku-agent-types.gen.js.map +1 -1
- package/dist/.pikku/channel/pikku-channel-types.gen.d.ts +1 -1
- package/dist/.pikku/channel/pikku-channel-types.gen.js +1 -1
- package/dist/.pikku/console/pikku-node-types.gen.d.ts +1 -1
- package/dist/.pikku/function/pikku-function-types.gen.d.ts +30 -26
- package/dist/.pikku/function/pikku-function-types.gen.d.ts.map +1 -1
- package/dist/.pikku/function/pikku-function-types.gen.js +3 -12
- package/dist/.pikku/function/pikku-function-types.gen.js.map +1 -1
- package/dist/.pikku/function/pikku-functions-meta.gen.js +1 -1
- package/dist/.pikku/function/pikku-functions-meta.gen.json +350 -33
- package/dist/.pikku/function/pikku-functions.gen.js +19 -1
- package/dist/.pikku/function/pikku-functions.gen.js.map +1 -1
- package/dist/.pikku/http/pikku-http-types.gen.d.ts +2 -24
- package/dist/.pikku/http/pikku-http-types.gen.d.ts.map +1 -1
- package/dist/.pikku/http/pikku-http-types.gen.js +2 -24
- package/dist/.pikku/http/pikku-http-types.gen.js.map +1 -1
- package/dist/.pikku/mcp/pikku-mcp-types.gen.d.ts +1 -1
- package/dist/.pikku/mcp/pikku-mcp-types.gen.js +1 -1
- package/dist/.pikku/pikku-bootstrap-scenarios.gen.d.ts +10 -0
- package/dist/.pikku/pikku-bootstrap-scenarios.gen.d.ts.map +1 -0
- package/dist/.pikku/pikku-bootstrap-scenarios.gen.js +10 -0
- package/dist/.pikku/pikku-bootstrap-scenarios.gen.js.map +1 -0
- package/dist/.pikku/pikku-bootstrap.gen.d.ts +1 -1
- package/dist/.pikku/pikku-bootstrap.gen.js +1 -1
- package/dist/.pikku/pikku-meta-service.gen.d.ts +1 -1
- package/dist/.pikku/pikku-meta-service.gen.js +1 -1
- package/dist/.pikku/pikku-services.gen.d.ts +6 -1
- package/dist/.pikku/pikku-services.gen.d.ts.map +1 -1
- package/dist/.pikku/pikku-services.gen.js +5 -0
- package/dist/.pikku/pikku-services.gen.js.map +1 -1
- package/dist/.pikku/pikku-types.gen.d.ts +2 -1
- package/dist/.pikku/pikku-types.gen.d.ts.map +1 -1
- package/dist/.pikku/pikku-types.gen.js +3 -1
- package/dist/.pikku/pikku-types.gen.js.map +1 -1
- package/dist/.pikku/queue/pikku-queue-types.gen.d.ts +1 -1
- package/dist/.pikku/queue/pikku-queue-types.gen.js +1 -1
- package/dist/.pikku/rpc/pikku-rpc-wirings-map.gen.d.ts +163 -7
- package/dist/.pikku/rpc/pikku-rpc-wirings-map.internal.gen.d.ts +172 -7
- package/dist/.pikku/rpc/pikku-rpc-wirings-map.remote.gen.d.ts +652 -0
- package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.js +1 -1
- package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.json +10 -1
- package/dist/.pikku/scenarios/pikku-scenario-functions-meta.gen.d.ts +2 -0
- package/dist/.pikku/scenarios/pikku-scenario-functions-meta.gen.d.ts.map +1 -0
- package/dist/.pikku/scenarios/pikku-scenario-functions-meta.gen.js +11 -0
- package/dist/.pikku/scenarios/pikku-scenario-functions-meta.gen.js.map +1 -0
- package/dist/.pikku/scenarios/pikku-scenario-functions-meta.gen.json +1 -0
- package/dist/.pikku/scenarios/pikku-scenario-functions.gen.d.ts +5 -0
- package/dist/.pikku/scenarios/pikku-scenario-functions.gen.d.ts.map +1 -0
- package/dist/.pikku/scenarios/pikku-scenario-functions.gen.js +2 -0
- package/dist/.pikku/scenarios/pikku-scenario-functions.gen.js.map +1 -0
- package/dist/.pikku/scenarios/pikku-scenario-wirings-meta.gen.d.ts +2 -0
- package/dist/.pikku/scenarios/pikku-scenario-wirings-meta.gen.d.ts.map +1 -0
- package/dist/.pikku/scenarios/pikku-scenario-wirings-meta.gen.js +11 -0
- package/dist/.pikku/scenarios/pikku-scenario-wirings-meta.gen.js.map +1 -0
- package/dist/.pikku/scenarios/pikku-scenario-wirings.gen.d.ts +5 -0
- package/dist/.pikku/scenarios/pikku-scenario-wirings.gen.d.ts.map +1 -0
- package/dist/.pikku/scenarios/pikku-scenario-wirings.gen.js +2 -0
- package/dist/.pikku/scenarios/pikku-scenario-wirings.gen.js.map +1 -0
- package/dist/.pikku/scenarios/schemas/register.gen.d.ts +5 -0
- package/dist/.pikku/scenarios/schemas/register.gen.d.ts.map +1 -0
- package/dist/.pikku/scenarios/schemas/register.gen.js +5 -0
- package/dist/.pikku/scenarios/schemas/register.gen.js.map +1 -0
- package/dist/.pikku/scheduler/pikku-scheduler-types.gen.d.ts +1 -1
- package/dist/.pikku/scheduler/pikku-scheduler-types.gen.js +1 -1
- package/dist/.pikku/schemas/register.gen.js +37 -1
- package/dist/.pikku/schemas/register.gen.js.map +1 -1
- package/dist/.pikku/schemas/schemas/AggregateInput.schema.json +1 -1
- package/dist/.pikku/schemas/schemas/BranchInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/BranchOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ConcatInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ConcatOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/DateTimeInput.schema.json +1 -1
- package/dist/.pikku/schemas/schemas/EditFieldsOutput.schema.json +1 -1
- package/dist/.pikku/schemas/schemas/FanoutInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/FanoutOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/HttpRequestInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/HttpRequestOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ReadFileInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ReadFileOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/SplitTextInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/SplitTextOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/StopAndErrorInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/StopAndErrorOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/WaitInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/WaitOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/WriteFileInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/WriteFileOutput.schema.json +1 -0
- package/dist/.pikku/scopes/pikku-scope-types.gen.d.ts +6 -0
- package/dist/.pikku/scopes/pikku-scope-types.gen.d.ts.map +1 -0
- package/dist/.pikku/scopes/pikku-scope-types.gen.js +5 -0
- package/dist/.pikku/scopes/pikku-scope-types.gen.js.map +1 -0
- package/dist/.pikku/scopes/pikku-scopes-meta.gen.json +1 -0
- package/dist/.pikku/scopes/pikku-scopes.gen.d.ts +36 -0
- package/dist/.pikku/scopes/pikku-scopes.gen.d.ts.map +1 -0
- package/dist/.pikku/scopes/pikku-scopes.gen.js +28 -0
- package/dist/.pikku/scopes/pikku-scopes.gen.js.map +1 -0
- package/dist/.pikku/secrets/pikku-secret-types.gen.d.ts +1 -1
- package/dist/.pikku/secrets/pikku-secret-types.gen.js +1 -1
- package/dist/.pikku/secrets/pikku-secrets-meta.gen.json +1 -0
- package/dist/.pikku/secrets/pikku-secrets.gen.d.ts +11 -1
- package/dist/.pikku/secrets/pikku-secrets.gen.d.ts.map +1 -1
- package/dist/.pikku/secrets/pikku-secrets.gen.js +11 -1
- package/dist/.pikku/secrets/pikku-secrets.gen.js.map +1 -1
- package/dist/.pikku/trigger/pikku-trigger-types.gen.d.ts +1 -1
- package/dist/.pikku/trigger/pikku-trigger-types.gen.js +1 -1
- package/dist/.pikku/variables/pikku-variable-types.gen.d.ts +1 -1
- package/dist/.pikku/variables/pikku-variable-types.gen.js +1 -1
- package/dist/.pikku/variables/pikku-variables-meta.gen.json +1 -0
- package/dist/.pikku/variables/pikku-variables.gen.d.ts +11 -1
- package/dist/.pikku/variables/pikku-variables.gen.d.ts.map +1 -1
- package/dist/.pikku/variables/pikku-variables.gen.js +13 -3
- package/dist/.pikku/variables/pikku-variables.gen.js.map +1 -1
- package/dist/.pikku/workflow/pikku-scenario-actors.gen.d.ts +20 -0
- package/dist/.pikku/workflow/pikku-scenario-actors.gen.d.ts.map +1 -0
- package/dist/.pikku/workflow/pikku-scenario-actors.gen.js +18 -0
- package/dist/.pikku/workflow/pikku-scenario-actors.gen.js.map +1 -0
- package/dist/.pikku/workflow/pikku-scenario-step-map.gen.d.ts +18 -0
- package/dist/.pikku/workflow/pikku-workflow-map.gen.d.ts +1 -1
- package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts +177 -5
- package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts.map +1 -1
- package/dist/.pikku/workflow/pikku-workflow-types.gen.js +42 -1
- package/dist/.pikku/workflow/pikku-workflow-types.gen.js.map +1 -1
- package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.js +1 -1
- package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.js.map +1 -1
- package/dist/.pikku/workflow/pikku-workflow-wirings.gen.d.ts +1 -1
- package/dist/.pikku/workflow/pikku-workflow-wirings.gen.js +1 -1
- package/dist/src/functions/array/aggregate.function.d.ts +35 -6
- package/dist/src/functions/array/aggregate.function.d.ts.map +1 -1
- package/dist/src/functions/array/aggregate.function.js +47 -14
- package/dist/src/functions/array/aggregate.function.js.map +1 -1
- package/dist/src/functions/array/aggregate.function.test.d.ts +2 -0
- package/dist/src/functions/array/aggregate.function.test.d.ts.map +1 -0
- package/dist/src/functions/array/aggregate.function.test.js +42 -0
- package/dist/src/functions/array/aggregate.function.test.js.map +1 -0
- package/dist/src/functions/array/chunk.function.d.ts +2 -2
- package/dist/src/functions/array/chunk.function.d.ts.map +1 -1
- package/dist/src/functions/array/fanout.function.d.ts +32 -0
- package/dist/src/functions/array/fanout.function.d.ts.map +1 -0
- package/dist/src/functions/array/fanout.function.js +80 -0
- package/dist/src/functions/array/fanout.function.js.map +1 -0
- package/dist/src/functions/array/fanout.function.test.d.ts +2 -0
- package/dist/src/functions/array/fanout.function.test.d.ts.map +1 -0
- package/dist/src/functions/array/fanout.function.test.js +66 -0
- package/dist/src/functions/array/fanout.function.test.js.map +1 -0
- package/dist/src/functions/array/find.function.d.ts +2 -2
- package/dist/src/functions/array/find.function.d.ts.map +1 -1
- package/dist/src/functions/array/group-by.function.d.ts +2 -2
- package/dist/src/functions/array/group-by.function.d.ts.map +1 -1
- package/dist/src/functions/array/limit.function.d.ts +2 -2
- package/dist/src/functions/array/limit.function.d.ts.map +1 -1
- package/dist/src/functions/array/remove-duplicates.function.d.ts +2 -2
- package/dist/src/functions/array/remove-duplicates.function.d.ts.map +1 -1
- package/dist/src/functions/array/reverse.function.d.ts +2 -2
- package/dist/src/functions/array/reverse.function.d.ts.map +1 -1
- package/dist/src/functions/array/sort.function.d.ts +2 -2
- package/dist/src/functions/array/sort.function.d.ts.map +1 -1
- package/dist/src/functions/array/split-out.function.d.ts +2 -2
- package/dist/src/functions/array/split-out.function.d.ts.map +1 -1
- package/dist/src/functions/array/summarize.function.d.ts +6 -6
- package/dist/src/functions/array/summarize.function.d.ts.map +1 -1
- package/dist/src/functions/array/unique.function.d.ts +2 -2
- package/dist/src/functions/array/unique.function.d.ts.map +1 -1
- package/dist/src/functions/data/coalesce.function.d.ts +2 -2
- package/dist/src/functions/data/coalesce.function.d.ts.map +1 -1
- package/dist/src/functions/data/crypto.function.d.ts +2 -2
- package/dist/src/functions/data/crypto.function.d.ts.map +1 -1
- package/dist/src/functions/data/date-time.function.d.ts +19 -5
- package/dist/src/functions/data/date-time.function.d.ts.map +1 -1
- package/dist/src/functions/data/date-time.function.js +46 -0
- package/dist/src/functions/data/date-time.function.js.map +1 -1
- package/dist/src/functions/data/jwt.function.d.ts +8 -8
- package/dist/src/functions/data/jwt.function.d.ts.map +1 -1
- package/dist/src/functions/data/math.function.d.ts +2 -2
- package/dist/src/functions/data/math.function.d.ts.map +1 -1
- package/dist/src/functions/data/read-file.function.d.ts +40 -0
- package/dist/src/functions/data/read-file.function.d.ts.map +1 -0
- package/dist/src/functions/data/read-file.function.js +39 -0
- package/dist/src/functions/data/read-file.function.js.map +1 -0
- package/dist/src/functions/data/sleep.function.d.ts +2 -2
- package/dist/src/functions/data/sleep.function.d.ts.map +1 -1
- package/dist/src/functions/data/string-transform.function.d.ts +2 -2
- package/dist/src/functions/data/string-transform.function.d.ts.map +1 -1
- package/dist/src/functions/data/type-convert.function.d.ts +6 -6
- package/dist/src/functions/data/type-convert.function.d.ts.map +1 -1
- package/dist/src/functions/data/wait.function.d.ts +26 -0
- package/dist/src/functions/data/wait.function.d.ts.map +1 -0
- package/dist/src/functions/data/wait.function.js +29 -0
- package/dist/src/functions/data/wait.function.js.map +1 -0
- package/dist/src/functions/data/write-file.function.d.ts +40 -0
- package/dist/src/functions/data/write-file.function.d.ts.map +1 -0
- package/dist/src/functions/data/write-file.function.js +37 -0
- package/dist/src/functions/data/write-file.function.js.map +1 -0
- package/dist/src/functions/logic/branch.function.d.ts +71 -0
- package/dist/src/functions/logic/branch.function.d.ts.map +1 -0
- package/dist/src/functions/logic/branch.function.js +213 -0
- package/dist/src/functions/logic/branch.function.js.map +1 -0
- package/dist/src/functions/logic/stop-and-error.function.d.ts +13 -0
- package/dist/src/functions/logic/stop-and-error.function.d.ts.map +1 -0
- package/dist/src/functions/logic/stop-and-error.function.js +18 -0
- package/dist/src/functions/logic/stop-and-error.function.js.map +1 -0
- package/dist/src/functions/network/http-request.function.d.ts +105 -0
- package/dist/src/functions/network/http-request.function.d.ts.map +1 -0
- package/dist/src/functions/network/http-request.function.js +142 -0
- package/dist/src/functions/network/http-request.function.js.map +1 -0
- package/dist/src/functions/network/http-request.function.test.d.ts +2 -0
- package/dist/src/functions/network/http-request.function.test.d.ts.map +1 -0
- package/dist/src/functions/network/http-request.function.test.js +119 -0
- package/dist/src/functions/network/http-request.function.test.js.map +1 -0
- package/dist/src/functions/transform/concat.function.d.ts +21 -0
- package/dist/src/functions/transform/concat.function.d.ts.map +1 -0
- package/dist/src/functions/transform/concat.function.js +22 -0
- package/dist/src/functions/transform/concat.function.js.map +1 -0
- package/dist/src/functions/transform/concat.function.test.d.ts +2 -0
- package/dist/src/functions/transform/concat.function.test.d.ts.map +1 -0
- package/dist/src/functions/transform/concat.function.test.js +23 -0
- package/dist/src/functions/transform/concat.function.test.js.map +1 -0
- package/dist/src/functions/transform/edit-fields.function.d.ts +9 -12
- package/dist/src/functions/transform/edit-fields.function.d.ts.map +1 -1
- package/dist/src/functions/transform/edit-fields.function.js +9 -4
- package/dist/src/functions/transform/edit-fields.function.js.map +1 -1
- package/dist/src/functions/transform/merge.function.d.ts +2 -2
- package/dist/src/functions/transform/merge.function.d.ts.map +1 -1
- package/dist/src/functions/transform/omit.function.d.ts +2 -2
- package/dist/src/functions/transform/omit.function.d.ts.map +1 -1
- package/dist/src/functions/transform/pick.function.d.ts +2 -2
- package/dist/src/functions/transform/pick.function.d.ts.map +1 -1
- package/dist/src/functions/transform/rename-keys.function.d.ts +2 -2
- package/dist/src/functions/transform/rename-keys.function.d.ts.map +1 -1
- package/dist/src/functions/transform/split-text.function.d.ts +41 -0
- package/dist/src/functions/transform/split-text.function.d.ts.map +1 -0
- package/dist/src/functions/transform/split-text.function.js +116 -0
- package/dist/src/functions/transform/split-text.function.js.map +1 -0
- package/dist/src/functions/transform/split-text.function.test.d.ts +2 -0
- package/dist/src/functions/transform/split-text.function.test.d.ts.map +1 -0
- package/dist/src/functions/transform/split-text.function.test.js +66 -0
- package/dist/src/functions/transform/split-text.function.test.js.map +1 -0
- 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,EAAE,EAAE,CAAE,SAAiB,CAAC,IAAI,CAAC,EAAE,EAAE,IAAI,CAAC,CAAA;AAE7D,QAAQ,CAAC,iBAAiB,EAAE,G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AM,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.
|
|
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.
|
|
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
|
}
|