@pikku/cli 0.12.11 → 0.12.13
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/dist/.pikku/agent/pikku-agent-types.gen.d.ts +1 -1
- package/dist/.pikku/agent/pikku-agent-wirings-meta.gen.js +1 -1
- package/dist/.pikku/agent/pikku-agent-wirings.gen.d.ts +1 -1
- package/dist/.pikku/agent/pikku-agent-wirings.gen.js +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/channel/pikku-channels-meta.gen.js +1 -1
- package/dist/.pikku/channel/pikku-channels.gen.d.ts +1 -1
- package/dist/.pikku/channel/pikku-channels.gen.js +1 -1
- package/dist/.pikku/cli/pikku-cli-channel.js +1 -1
- package/dist/.pikku/cli/pikku-cli-client.gen.d.ts +1 -1
- package/dist/.pikku/cli/pikku-cli-client.gen.js +1 -1
- package/dist/.pikku/cli/pikku-cli-types.gen.d.ts +1 -1
- package/dist/.pikku/cli/pikku-cli-types.gen.js +1 -1
- package/dist/.pikku/cli/pikku-cli-wirings-meta.gen.js +1 -1
- package/dist/.pikku/cli/pikku-cli-wirings.gen.d.ts +1 -1
- package/dist/.pikku/cli/pikku-cli-wirings.gen.js +1 -1
- package/dist/.pikku/cli/pikku-cli.gen.d.ts +1 -1
- package/dist/.pikku/cli/pikku-cli.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 +1 -1
- package/dist/.pikku/function/pikku-function-types.gen.js +1 -1
- package/dist/.pikku/function/pikku-functions-meta.gen.js +1 -1
- package/dist/.pikku/function/pikku-functions-meta.gen.json +134 -134
- package/dist/.pikku/function/pikku-functions.gen.js +1 -1
- package/dist/.pikku/http/pikku-http-types.gen.d.ts +1 -1
- package/dist/.pikku/http/pikku-http-types.gen.js +1 -1
- package/dist/.pikku/http/pikku-http-wirings-meta.gen.js +1 -1
- package/dist/.pikku/http/pikku-http-wirings.gen.d.ts +1 -1
- package/dist/.pikku/http/pikku-http-wirings.gen.js +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/mcp/pikku-mcp-wirings-meta.gen.js +1 -1
- package/dist/.pikku/mcp/pikku-mcp-wirings.gen.d.ts +1 -1
- package/dist/.pikku/mcp/pikku-mcp-wirings.gen.js +1 -1
- package/dist/.pikku/pikku-bootstrap.gen.js +1 -1
- package/dist/.pikku/pikku-services.gen.d.ts +1 -1
- package/dist/.pikku/pikku-types.gen.d.ts +1 -1
- package/dist/.pikku/pikku-types.gen.js +1 -1
- package/dist/.pikku/pikku-websocket.gen.d.ts +1 -1
- package/dist/.pikku/pikku-websocket.gen.js +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/queue/pikku-queue-workers-wirings-meta.gen.js +1 -1
- package/dist/.pikku/queue/pikku-queue-workers-wirings.gen.d.ts +1 -1
- package/dist/.pikku/queue/pikku-queue-workers-wirings.gen.js +1 -1
- package/dist/.pikku/rpc/pikku-remote-rpc-workers.gen.js +1 -1
- package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.js +1 -1
- package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.json +5 -5
- 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/scheduler/pikku-schedulers-wirings-meta.gen.js +1 -1
- package/dist/.pikku/scheduler/pikku-schedulers-wirings.gen.d.ts +1 -1
- package/dist/.pikku/scheduler/pikku-schedulers-wirings.gen.js +1 -1
- package/dist/.pikku/schemas/register.gen.js +7 -7
- 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.gen.d.ts +1 -1
- package/dist/.pikku/secrets/pikku-secrets.gen.js +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.gen.d.ts +1 -1
- package/dist/.pikku/variables/pikku-variables.gen.js +1 -1
- package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts +1 -1
- package/dist/.pikku/workflow/pikku-workflow-types.gen.js +1 -1
- package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.js +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/wirings/functions/serialize-addon-types.js +7 -3
- package/package.json +4 -4
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This file was generated by @pikku/cli@0.12.
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.13
|
|
3
3
|
*/
|
|
4
4
|
import { CoreAIAgent, PikkuAIMiddlewareHooks } from '@pikku/core/ai-agent';
|
|
5
5
|
import type { PikkuPermission, PikkuMiddleware, Services, PikkuFunctionConfig } from '../function/pikku-function-types.gen.js';
|
|
@@ -541,16 +541,18 @@
|
|
|
541
541
|
"inputHash": "c0a04edb",
|
|
542
542
|
"outputHash": "aca3832e"
|
|
543
543
|
},
|
|
544
|
-
"
|
|
545
|
-
"pikkuFuncId": "
|
|
544
|
+
"pikkuChannels": {
|
|
545
|
+
"pikkuFuncId": "pikkuChannels",
|
|
546
546
|
"functionType": "user",
|
|
547
547
|
"funcWrapper": "pikkuSessionlessFunc",
|
|
548
548
|
"sessionless": true,
|
|
549
|
-
"name": "
|
|
549
|
+
"name": "pikkuChannels",
|
|
550
550
|
"inputSchemaName": null,
|
|
551
|
-
"outputSchemaName":
|
|
551
|
+
"outputSchemaName": "PikkuChannelsOutput",
|
|
552
552
|
"inputs": [],
|
|
553
|
-
"outputs": [
|
|
553
|
+
"outputs": [
|
|
554
|
+
"PikkuChannelsOutput"
|
|
555
|
+
],
|
|
554
556
|
"middleware": [
|
|
555
557
|
{
|
|
556
558
|
"type": "wire",
|
|
@@ -558,16 +560,16 @@
|
|
|
558
560
|
"inline": false
|
|
559
561
|
}
|
|
560
562
|
],
|
|
561
|
-
"contractHash": "
|
|
562
|
-
"inputHash": "
|
|
563
|
-
"outputHash": "
|
|
563
|
+
"contractHash": "122168631511180b",
|
|
564
|
+
"inputHash": "adc31f8a",
|
|
565
|
+
"outputHash": "910d220a"
|
|
564
566
|
},
|
|
565
|
-
"
|
|
566
|
-
"pikkuFuncId": "
|
|
567
|
+
"pikkuChannelTypes": {
|
|
568
|
+
"pikkuFuncId": "pikkuChannelTypes",
|
|
567
569
|
"functionType": "user",
|
|
568
570
|
"funcWrapper": "pikkuSessionlessFunc",
|
|
569
571
|
"sessionless": true,
|
|
570
|
-
"name": "
|
|
572
|
+
"name": "pikkuChannelTypes",
|
|
571
573
|
"inputSchemaName": null,
|
|
572
574
|
"outputSchemaName": null,
|
|
573
575
|
"inputs": [],
|
|
@@ -579,22 +581,20 @@
|
|
|
579
581
|
"inline": false
|
|
580
582
|
}
|
|
581
583
|
],
|
|
582
|
-
"contractHash": "
|
|
583
|
-
"inputHash": "
|
|
584
|
-
"outputHash": "
|
|
584
|
+
"contractHash": "2b2bc06bcbe06e22",
|
|
585
|
+
"inputHash": "161b06fb",
|
|
586
|
+
"outputHash": "bc44e48a"
|
|
585
587
|
},
|
|
586
|
-
"
|
|
587
|
-
"pikkuFuncId": "
|
|
588
|
+
"pikkuChannelsMap": {
|
|
589
|
+
"pikkuFuncId": "pikkuChannelsMap",
|
|
588
590
|
"functionType": "user",
|
|
589
591
|
"funcWrapper": "pikkuSessionlessFunc",
|
|
590
592
|
"sessionless": true,
|
|
591
|
-
"name": "
|
|
593
|
+
"name": "pikkuChannelsMap",
|
|
592
594
|
"inputSchemaName": null,
|
|
593
|
-
"outputSchemaName":
|
|
595
|
+
"outputSchemaName": null,
|
|
594
596
|
"inputs": [],
|
|
595
|
-
"outputs": [
|
|
596
|
-
"PikkuCLIOutput"
|
|
597
|
-
],
|
|
597
|
+
"outputs": [],
|
|
598
598
|
"middleware": [
|
|
599
599
|
{
|
|
600
600
|
"type": "wire",
|
|
@@ -602,9 +602,9 @@
|
|
|
602
602
|
"inline": false
|
|
603
603
|
}
|
|
604
604
|
],
|
|
605
|
-
"contractHash": "
|
|
606
|
-
"inputHash": "
|
|
607
|
-
"outputHash": "
|
|
605
|
+
"contractHash": "b6068160a2079ff6",
|
|
606
|
+
"inputHash": "b3525fa4",
|
|
607
|
+
"outputHash": "283f1aa2"
|
|
608
608
|
},
|
|
609
609
|
"pikkuConsoleFunctions": {
|
|
610
610
|
"pikkuFuncId": "pikkuConsoleFunctions",
|
|
@@ -673,71 +673,6 @@
|
|
|
673
673
|
"inputHash": "4be7b8bd",
|
|
674
674
|
"outputHash": "fca2b5eb"
|
|
675
675
|
},
|
|
676
|
-
"pikkuChannels": {
|
|
677
|
-
"pikkuFuncId": "pikkuChannels",
|
|
678
|
-
"functionType": "user",
|
|
679
|
-
"funcWrapper": "pikkuSessionlessFunc",
|
|
680
|
-
"sessionless": true,
|
|
681
|
-
"name": "pikkuChannels",
|
|
682
|
-
"inputSchemaName": null,
|
|
683
|
-
"outputSchemaName": "PikkuChannelsOutput",
|
|
684
|
-
"inputs": [],
|
|
685
|
-
"outputs": [
|
|
686
|
-
"PikkuChannelsOutput"
|
|
687
|
-
],
|
|
688
|
-
"middleware": [
|
|
689
|
-
{
|
|
690
|
-
"type": "wire",
|
|
691
|
-
"name": "logCommandInfoAndTime",
|
|
692
|
-
"inline": false
|
|
693
|
-
}
|
|
694
|
-
],
|
|
695
|
-
"contractHash": "122168631511180b",
|
|
696
|
-
"inputHash": "adc31f8a",
|
|
697
|
-
"outputHash": "910d220a"
|
|
698
|
-
},
|
|
699
|
-
"pikkuChannelTypes": {
|
|
700
|
-
"pikkuFuncId": "pikkuChannelTypes",
|
|
701
|
-
"functionType": "user",
|
|
702
|
-
"funcWrapper": "pikkuSessionlessFunc",
|
|
703
|
-
"sessionless": true,
|
|
704
|
-
"name": "pikkuChannelTypes",
|
|
705
|
-
"inputSchemaName": null,
|
|
706
|
-
"outputSchemaName": null,
|
|
707
|
-
"inputs": [],
|
|
708
|
-
"outputs": [],
|
|
709
|
-
"middleware": [
|
|
710
|
-
{
|
|
711
|
-
"type": "wire",
|
|
712
|
-
"name": "logCommandInfoAndTime",
|
|
713
|
-
"inline": false
|
|
714
|
-
}
|
|
715
|
-
],
|
|
716
|
-
"contractHash": "2b2bc06bcbe06e22",
|
|
717
|
-
"inputHash": "161b06fb",
|
|
718
|
-
"outputHash": "bc44e48a"
|
|
719
|
-
},
|
|
720
|
-
"pikkuChannelsMap": {
|
|
721
|
-
"pikkuFuncId": "pikkuChannelsMap",
|
|
722
|
-
"functionType": "user",
|
|
723
|
-
"funcWrapper": "pikkuSessionlessFunc",
|
|
724
|
-
"sessionless": true,
|
|
725
|
-
"name": "pikkuChannelsMap",
|
|
726
|
-
"inputSchemaName": null,
|
|
727
|
-
"outputSchemaName": null,
|
|
728
|
-
"inputs": [],
|
|
729
|
-
"outputs": [],
|
|
730
|
-
"middleware": [
|
|
731
|
-
{
|
|
732
|
-
"type": "wire",
|
|
733
|
-
"name": "logCommandInfoAndTime",
|
|
734
|
-
"inline": false
|
|
735
|
-
}
|
|
736
|
-
],
|
|
737
|
-
"contractHash": "b6068160a2079ff6",
|
|
738
|
-
"inputHash": "b3525fa4",
|
|
739
|
-
"outputHash": "283f1aa2"
|
|
740
|
-
},
|
|
741
676
|
"pikkuCredentials": {
|
|
742
677
|
"pikkuFuncId": "pikkuCredentials",
|
|
743
678
|
"functionType": "user",
|
|
@@ -889,12 +824,12 @@
|
|
|
889
824
|
"inputHash": "a5477eae",
|
|
890
825
|
"outputHash": "b5ea8b47"
|
|
891
826
|
},
|
|
892
|
-
"
|
|
893
|
-
"pikkuFuncId": "
|
|
827
|
+
"pikkuCLIEntry": {
|
|
828
|
+
"pikkuFuncId": "pikkuCLIEntry",
|
|
894
829
|
"functionType": "user",
|
|
895
830
|
"funcWrapper": "pikkuSessionlessFunc",
|
|
896
831
|
"sessionless": true,
|
|
897
|
-
"name": "
|
|
832
|
+
"name": "pikkuCLIEntry",
|
|
898
833
|
"inputSchemaName": null,
|
|
899
834
|
"outputSchemaName": null,
|
|
900
835
|
"inputs": [],
|
|
@@ -906,22 +841,20 @@
|
|
|
906
841
|
"inline": false
|
|
907
842
|
}
|
|
908
843
|
],
|
|
909
|
-
"contractHash": "
|
|
910
|
-
"inputHash": "
|
|
911
|
-
"outputHash": "
|
|
844
|
+
"contractHash": "a7a080e8c9ebb27e",
|
|
845
|
+
"inputHash": "3e5aa4e1",
|
|
846
|
+
"outputHash": "40088e16"
|
|
912
847
|
},
|
|
913
|
-
"
|
|
914
|
-
"pikkuFuncId": "
|
|
848
|
+
"pikkuCLITypes": {
|
|
849
|
+
"pikkuFuncId": "pikkuCLITypes",
|
|
915
850
|
"functionType": "user",
|
|
916
851
|
"funcWrapper": "pikkuSessionlessFunc",
|
|
917
852
|
"sessionless": true,
|
|
918
|
-
"name": "
|
|
853
|
+
"name": "pikkuCLITypes",
|
|
919
854
|
"inputSchemaName": null,
|
|
920
|
-
"outputSchemaName":
|
|
855
|
+
"outputSchemaName": null,
|
|
921
856
|
"inputs": [],
|
|
922
|
-
"outputs": [
|
|
923
|
-
"PikkuHTTPOutput"
|
|
924
|
-
],
|
|
857
|
+
"outputs": [],
|
|
925
858
|
"middleware": [
|
|
926
859
|
{
|
|
927
860
|
"type": "wire",
|
|
@@ -929,20 +862,22 @@
|
|
|
929
862
|
"inline": false
|
|
930
863
|
}
|
|
931
864
|
],
|
|
932
|
-
"contractHash": "
|
|
933
|
-
"inputHash": "
|
|
934
|
-
"outputHash": "
|
|
865
|
+
"contractHash": "a1b70be4e58bcf3a",
|
|
866
|
+
"inputHash": "82619193",
|
|
867
|
+
"outputHash": "b3bd794b"
|
|
935
868
|
},
|
|
936
|
-
"
|
|
937
|
-
"pikkuFuncId": "
|
|
869
|
+
"pikkuCLI": {
|
|
870
|
+
"pikkuFuncId": "pikkuCLI",
|
|
938
871
|
"functionType": "user",
|
|
939
872
|
"funcWrapper": "pikkuSessionlessFunc",
|
|
940
873
|
"sessionless": true,
|
|
941
|
-
"name": "
|
|
874
|
+
"name": "pikkuCLI",
|
|
942
875
|
"inputSchemaName": null,
|
|
943
|
-
"outputSchemaName":
|
|
876
|
+
"outputSchemaName": "PikkuCLIOutput",
|
|
944
877
|
"inputs": [],
|
|
945
|
-
"outputs": [
|
|
878
|
+
"outputs": [
|
|
879
|
+
"PikkuCLIOutput"
|
|
880
|
+
],
|
|
946
881
|
"middleware": [
|
|
947
882
|
{
|
|
948
883
|
"type": "wire",
|
|
@@ -950,9 +885,9 @@
|
|
|
950
885
|
"inline": false
|
|
951
886
|
}
|
|
952
887
|
],
|
|
953
|
-
"contractHash": "
|
|
954
|
-
"inputHash": "
|
|
955
|
-
"outputHash": "
|
|
888
|
+
"contractHash": "3932cb0e6b7de268",
|
|
889
|
+
"inputHash": "fef4d62b",
|
|
890
|
+
"outputHash": "7d42c9e1"
|
|
956
891
|
},
|
|
957
892
|
"pikkuMCPJSON": {
|
|
958
893
|
"pikkuFuncId": "pikkuMCPJSON",
|
|
@@ -1130,6 +1065,71 @@
|
|
|
1130
1065
|
"inputHash": "d7b18af5",
|
|
1131
1066
|
"outputHash": "09d7f16a"
|
|
1132
1067
|
},
|
|
1068
|
+
"pikkuHTTPMap": {
|
|
1069
|
+
"pikkuFuncId": "pikkuHTTPMap",
|
|
1070
|
+
"functionType": "user",
|
|
1071
|
+
"funcWrapper": "pikkuSessionlessFunc",
|
|
1072
|
+
"sessionless": true,
|
|
1073
|
+
"name": "pikkuHTTPMap",
|
|
1074
|
+
"inputSchemaName": null,
|
|
1075
|
+
"outputSchemaName": null,
|
|
1076
|
+
"inputs": [],
|
|
1077
|
+
"outputs": [],
|
|
1078
|
+
"middleware": [
|
|
1079
|
+
{
|
|
1080
|
+
"type": "wire",
|
|
1081
|
+
"name": "logCommandInfoAndTime",
|
|
1082
|
+
"inline": false
|
|
1083
|
+
}
|
|
1084
|
+
],
|
|
1085
|
+
"contractHash": "4d4bc90bf8b55253",
|
|
1086
|
+
"inputHash": "18c3cb6e",
|
|
1087
|
+
"outputHash": "53470b3b"
|
|
1088
|
+
},
|
|
1089
|
+
"pikkuHTTP": {
|
|
1090
|
+
"pikkuFuncId": "pikkuHTTP",
|
|
1091
|
+
"functionType": "user",
|
|
1092
|
+
"funcWrapper": "pikkuSessionlessFunc",
|
|
1093
|
+
"sessionless": true,
|
|
1094
|
+
"name": "pikkuHTTP",
|
|
1095
|
+
"inputSchemaName": null,
|
|
1096
|
+
"outputSchemaName": "PikkuHTTPOutput",
|
|
1097
|
+
"inputs": [],
|
|
1098
|
+
"outputs": [
|
|
1099
|
+
"PikkuHTTPOutput"
|
|
1100
|
+
],
|
|
1101
|
+
"middleware": [
|
|
1102
|
+
{
|
|
1103
|
+
"type": "wire",
|
|
1104
|
+
"name": "logCommandInfoAndTime",
|
|
1105
|
+
"inline": false
|
|
1106
|
+
}
|
|
1107
|
+
],
|
|
1108
|
+
"contractHash": "4a287055ab7c5ff6",
|
|
1109
|
+
"inputHash": "08a0d2b8",
|
|
1110
|
+
"outputHash": "87c39a83"
|
|
1111
|
+
},
|
|
1112
|
+
"pikkuHTTPTypes": {
|
|
1113
|
+
"pikkuFuncId": "pikkuHTTPTypes",
|
|
1114
|
+
"functionType": "user",
|
|
1115
|
+
"funcWrapper": "pikkuSessionlessFunc",
|
|
1116
|
+
"sessionless": true,
|
|
1117
|
+
"name": "pikkuHTTPTypes",
|
|
1118
|
+
"inputSchemaName": null,
|
|
1119
|
+
"outputSchemaName": null,
|
|
1120
|
+
"inputs": [],
|
|
1121
|
+
"outputs": [],
|
|
1122
|
+
"middleware": [
|
|
1123
|
+
{
|
|
1124
|
+
"type": "wire",
|
|
1125
|
+
"name": "logCommandInfoAndTime",
|
|
1126
|
+
"inline": false
|
|
1127
|
+
}
|
|
1128
|
+
],
|
|
1129
|
+
"contractHash": "43004f108dc879d2",
|
|
1130
|
+
"inputHash": "d9ca67f8",
|
|
1131
|
+
"outputHash": "1ca4e877"
|
|
1132
|
+
},
|
|
1133
1133
|
"pikkuQueueMap": {
|
|
1134
1134
|
"pikkuFuncId": "pikkuQueueMap",
|
|
1135
1135
|
"functionType": "user",
|
|
@@ -1371,6 +1371,27 @@
|
|
|
1371
1371
|
"inputHash": "838055cb",
|
|
1372
1372
|
"outputHash": "c749587a"
|
|
1373
1373
|
},
|
|
1374
|
+
"pikkuVariables": {
|
|
1375
|
+
"pikkuFuncId": "pikkuVariables",
|
|
1376
|
+
"functionType": "user",
|
|
1377
|
+
"funcWrapper": "pikkuSessionlessFunc",
|
|
1378
|
+
"sessionless": true,
|
|
1379
|
+
"name": "pikkuVariables",
|
|
1380
|
+
"inputSchemaName": null,
|
|
1381
|
+
"outputSchemaName": null,
|
|
1382
|
+
"inputs": [],
|
|
1383
|
+
"outputs": [],
|
|
1384
|
+
"middleware": [
|
|
1385
|
+
{
|
|
1386
|
+
"type": "wire",
|
|
1387
|
+
"name": "logCommandInfoAndTime",
|
|
1388
|
+
"inline": false
|
|
1389
|
+
}
|
|
1390
|
+
],
|
|
1391
|
+
"contractHash": "a26bc48e31b3d5d5",
|
|
1392
|
+
"inputHash": "114143f9",
|
|
1393
|
+
"outputHash": "75594b2d"
|
|
1394
|
+
},
|
|
1374
1395
|
"pikkuTriggerTypes": {
|
|
1375
1396
|
"pikkuFuncId": "pikkuTriggerTypes",
|
|
1376
1397
|
"functionType": "user",
|
|
@@ -1415,27 +1436,6 @@
|
|
|
1415
1436
|
"inputHash": "164d65e7",
|
|
1416
1437
|
"outputHash": "3ac7247c"
|
|
1417
1438
|
},
|
|
1418
|
-
"pikkuVariables": {
|
|
1419
|
-
"pikkuFuncId": "pikkuVariables",
|
|
1420
|
-
"functionType": "user",
|
|
1421
|
-
"funcWrapper": "pikkuSessionlessFunc",
|
|
1422
|
-
"sessionless": true,
|
|
1423
|
-
"name": "pikkuVariables",
|
|
1424
|
-
"inputSchemaName": null,
|
|
1425
|
-
"outputSchemaName": null,
|
|
1426
|
-
"inputs": [],
|
|
1427
|
-
"outputs": [],
|
|
1428
|
-
"middleware": [
|
|
1429
|
-
{
|
|
1430
|
-
"type": "wire",
|
|
1431
|
-
"name": "logCommandInfoAndTime",
|
|
1432
|
-
"inline": false
|
|
1433
|
-
}
|
|
1434
|
-
],
|
|
1435
|
-
"contractHash": "a26bc48e31b3d5d5",
|
|
1436
|
-
"inputHash": "114143f9",
|
|
1437
|
-
"outputHash": "75594b2d"
|
|
1438
|
-
},
|
|
1439
1439
|
"pikkuWorkflow": {
|
|
1440
1440
|
"pikkuFuncId": "pikkuWorkflow",
|
|
1441
1441
|
"functionType": "user",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This file was generated by @pikku/cli@0.12.
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.13
|
|
3
3
|
*/
|
|
4
4
|
import { CorePikkuWebsocket, CorePikkuRouteHandler } from '@pikku/websocket';
|
|
5
5
|
import { ChannelDefaultHandlerOf, ChannelWiringHandlerOf, ChannelsMap } from './channel/pikku-channels-map.gen.d.js';
|
|
@@ -41,22 +41,22 @@
|
|
|
41
41
|
"pikkuNodeTypes": "pikkuNodeTypes",
|
|
42
42
|
"pikkuNodesMeta": "pikkuNodesMeta",
|
|
43
43
|
"pikkuCredentials": "pikkuCredentials",
|
|
44
|
-
"pikkuGateway": "pikkuGateway",
|
|
45
|
-
"pikkuHTTPMap": "pikkuHTTPMap",
|
|
46
|
-
"pikkuHTTP": "pikkuHTTP",
|
|
47
|
-
"pikkuHTTPTypes": "pikkuHTTPTypes",
|
|
48
44
|
"pikkuAddonTypes": "pikkuAddonTypes",
|
|
49
45
|
"pikkuFunctionTypesSplit": "pikkuFunctionTypesSplit",
|
|
50
46
|
"pikkuFunctionTypes": "pikkuFunctionTypes",
|
|
51
47
|
"pikkuFunctions": "pikkuFunctions",
|
|
52
48
|
"pikkuServices": "pikkuServices",
|
|
49
|
+
"pikkuHTTPMap": "pikkuHTTPMap",
|
|
50
|
+
"pikkuHTTP": "pikkuHTTP",
|
|
51
|
+
"pikkuHTTPTypes": "pikkuHTTPTypes",
|
|
52
|
+
"pikkuGateway": "pikkuGateway",
|
|
53
53
|
"pikkuMCPJSON": "pikkuMCPJSON",
|
|
54
54
|
"pikkuMCPTypes": "pikkuMCPTypes",
|
|
55
55
|
"pikkuMCP": "pikkuMCP",
|
|
56
|
+
"pikkuMiddleware": "pikkuMiddleware",
|
|
56
57
|
"pikkuSecretDefinitionTypes": "pikkuSecretDefinitionTypes",
|
|
57
58
|
"pikkuVariableDefinitionTypes": "pikkuVariableDefinitionTypes",
|
|
58
59
|
"pikkuPackage": "pikkuPackage",
|
|
59
|
-
"pikkuMiddleware": "pikkuMiddleware",
|
|
60
60
|
"pikkuPermissions": "pikkuPermissions",
|
|
61
61
|
"pikkuQueueMap": "pikkuQueueMap",
|
|
62
62
|
"pikkuQueueTypes": "pikkuQueueTypes",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This file was generated by @pikku/cli@0.12.
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.13
|
|
3
3
|
*/
|
|
4
4
|
import { addSchema } from '@pikku/core/schema';
|
|
5
5
|
import * as PikkuSchemasOutput from './schemas/PikkuSchemasOutput.schema.json' with { type: 'json' };
|
|
@@ -26,20 +26,18 @@ import * as PikkuAIAgentOutput from './schemas/PikkuAIAgentOutput.schema.json' w
|
|
|
26
26
|
addSchema('PikkuAIAgentOutput', PikkuAIAgentOutput);
|
|
27
27
|
import * as PikkuPublicAgentOutput from './schemas/PikkuPublicAgentOutput.schema.json' with { type: 'json' };
|
|
28
28
|
addSchema('PikkuPublicAgentOutput', PikkuPublicAgentOutput);
|
|
29
|
-
import * as
|
|
30
|
-
addSchema('
|
|
29
|
+
import * as PikkuChannelsOutput from './schemas/PikkuChannelsOutput.schema.json' with { type: 'json' };
|
|
30
|
+
addSchema('PikkuChannelsOutput', PikkuChannelsOutput);
|
|
31
31
|
import * as PikkuConsoleFunctionsOutput from './schemas/PikkuConsoleFunctionsOutput.schema.json' with { type: 'json' };
|
|
32
32
|
addSchema('PikkuConsoleFunctionsOutput', PikkuConsoleFunctionsOutput);
|
|
33
33
|
import * as PikkuNodesMetaOutput from './schemas/PikkuNodesMetaOutput.schema.json' with { type: 'json' };
|
|
34
34
|
addSchema('PikkuNodesMetaOutput', PikkuNodesMetaOutput);
|
|
35
|
-
import * as PikkuChannelsOutput from './schemas/PikkuChannelsOutput.schema.json' with { type: 'json' };
|
|
36
|
-
addSchema('PikkuChannelsOutput', PikkuChannelsOutput);
|
|
37
35
|
import * as PikkuFunctionsOutput from './schemas/PikkuFunctionsOutput.schema.json' with { type: 'json' };
|
|
38
36
|
addSchema('PikkuFunctionsOutput', PikkuFunctionsOutput);
|
|
39
37
|
import * as PikkuGatewayOutput from './schemas/PikkuGatewayOutput.schema.json' with { type: 'json' };
|
|
40
38
|
addSchema('PikkuGatewayOutput', PikkuGatewayOutput);
|
|
41
|
-
import * as
|
|
42
|
-
addSchema('
|
|
39
|
+
import * as PikkuCLIOutput from './schemas/PikkuCLIOutput.schema.json' with { type: 'json' };
|
|
40
|
+
addSchema('PikkuCLIOutput', PikkuCLIOutput);
|
|
43
41
|
import * as PikkuMCPOutput from './schemas/PikkuMCPOutput.schema.json' with { type: 'json' };
|
|
44
42
|
addSchema('PikkuMCPOutput', PikkuMCPOutput);
|
|
45
43
|
import * as PikkuMiddlewareOutput from './schemas/PikkuMiddlewareOutput.schema.json' with { type: 'json' };
|
|
@@ -48,6 +46,8 @@ import * as PikkuPackageOutput from './schemas/PikkuPackageOutput.schema.json' w
|
|
|
48
46
|
addSchema('PikkuPackageOutput', PikkuPackageOutput);
|
|
49
47
|
import * as PikkuPermissionsOutput from './schemas/PikkuPermissionsOutput.schema.json' with { type: 'json' };
|
|
50
48
|
addSchema('PikkuPermissionsOutput', PikkuPermissionsOutput);
|
|
49
|
+
import * as PikkuHTTPOutput from './schemas/PikkuHTTPOutput.schema.json' with { type: 'json' };
|
|
50
|
+
addSchema('PikkuHTTPOutput', PikkuHTTPOutput);
|
|
51
51
|
import * as PikkuQueueOutput from './schemas/PikkuQueueOutput.schema.json' with { type: 'json' };
|
|
52
52
|
addSchema('PikkuQueueOutput', PikkuQueueOutput);
|
|
53
53
|
import * as PikkuPublicRPCOutput from './schemas/PikkuPublicRPCOutput.schema.json' with { type: 'json' };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This file was generated by @pikku/cli@0.12.
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.13
|
|
3
3
|
*/
|
|
4
4
|
export { wireVariable } from '@pikku/core/variable';
|
|
5
5
|
export type { CoreVariable, VariableDefinitionMeta, VariableDefinitionsMeta } from '@pikku/core/variable';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This file was generated by @pikku/cli@0.12.
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.13
|
|
3
3
|
*/
|
|
4
4
|
import { WorkflowCancelledException } from '@pikku/core/workflow';
|
|
5
5
|
import { workflow as coreWorkflow, workflowStart as coreWorkflowStart, workflowStatus as coreWorkflowStatus, graphStart as coreGraphStart, } from '@pikku/core/workflow';
|
|
@@ -92,10 +92,14 @@ export const pikkuAddonServices = <T extends Record<string, any>, ExistingServic
|
|
|
92
92
|
* })
|
|
93
93
|
* \`\`\`
|
|
94
94
|
*/
|
|
95
|
-
export const pikkuAddonWireServices = (
|
|
96
|
-
func: (services:
|
|
95
|
+
export const pikkuAddonWireServices = <ExistingServices extends Omit<Partial<SingletonServices>, 'variables' | 'secrets'> & AddonBaseServices>(
|
|
96
|
+
func: (services: ExistingServices, wire: any) => Promise<Record<string, any>>
|
|
97
97
|
) => {
|
|
98
|
-
return
|
|
98
|
+
return (services: SingletonServices, wire: any) => {
|
|
99
|
+
const typedVariables = new TypedVariablesService(services.variables)
|
|
100
|
+
const typedSecrets = new TypedSecretService(services.secrets)
|
|
101
|
+
return func({ ...services, variables: typedVariables, secrets: typedSecrets } as ExistingServices, wire)
|
|
102
|
+
}
|
|
99
103
|
}
|
|
100
104
|
`;
|
|
101
105
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pikku/cli",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.13",
|
|
4
4
|
"author": "yasser.fadl@gmail.com",
|
|
5
5
|
"license": "BUSL-1.1",
|
|
6
6
|
"imports": {
|
|
@@ -26,9 +26,9 @@
|
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@openapi-contrib/json-schema-to-openapi-schema": "^4.3.1",
|
|
29
|
-
"@pikku/core": "^0.12.
|
|
30
|
-
"@pikku/inspector": "^0.12.
|
|
31
|
-
"@pikku/openapi-parser": "^0.12.
|
|
29
|
+
"@pikku/core": "^0.12.13",
|
|
30
|
+
"@pikku/inspector": "^0.12.7",
|
|
31
|
+
"@pikku/openapi-parser": "^0.12.9",
|
|
32
32
|
"@types/cookie": "^1.0.0",
|
|
33
33
|
"@types/json-schema": "^7.0.15",
|
|
34
34
|
"chalk": "^5.6.2",
|