@pikku/addon-console 0.12.34 → 0.12.38

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (159) hide show
  1. package/dist/.pikku/addon/pikku-addon-types.gen.d.ts +2 -2
  2. package/dist/.pikku/addon/pikku-addon-types.gen.js +2 -2
  3. package/dist/.pikku/addon/pikku-package.gen.js +2 -2
  4. package/dist/.pikku/addon/pikku-package.gen.js.map +1 -1
  5. package/dist/.pikku/agent/pikku-agent-map.gen.d.ts +1 -1
  6. package/dist/.pikku/agent/pikku-agent-types.gen.d.ts +1 -1
  7. package/dist/.pikku/auth/auth.types.d.ts +1 -1
  8. package/dist/.pikku/auth/auth.types.js +1 -1
  9. package/dist/.pikku/channel/pikku-channel-types.gen.d.ts +1 -1
  10. package/dist/.pikku/channel/pikku-channel-types.gen.js +1 -1
  11. package/dist/.pikku/console/pikku-node-types.gen.d.ts +1 -1
  12. package/dist/.pikku/function/pikku-function-types.gen.d.ts +64 -23
  13. package/dist/.pikku/function/pikku-function-types.gen.d.ts.map +1 -1
  14. package/dist/.pikku/function/pikku-function-types.gen.js +27 -1
  15. package/dist/.pikku/function/pikku-function-types.gen.js.map +1 -1
  16. package/dist/.pikku/function/pikku-functions-meta-verbose.gen.json +2263 -0
  17. package/dist/.pikku/function/pikku-functions-meta.gen.js +1 -1
  18. package/dist/.pikku/function/pikku-functions-meta.gen.json +104 -31
  19. package/dist/.pikku/function/pikku-functions.gen.js +5 -1
  20. package/dist/.pikku/function/pikku-functions.gen.js.map +1 -1
  21. package/dist/.pikku/http/pikku-http-types.gen.d.ts +1 -1
  22. package/dist/.pikku/http/pikku-http-types.gen.js +1 -1
  23. package/dist/.pikku/mcp/pikku-mcp-types.gen.d.ts +1 -1
  24. package/dist/.pikku/mcp/pikku-mcp-types.gen.js +1 -1
  25. package/dist/.pikku/pikku-bootstrap-scenarios.gen.d.ts +1 -1
  26. package/dist/.pikku/pikku-bootstrap-scenarios.gen.js +1 -1
  27. package/dist/.pikku/pikku-bootstrap.gen.d.ts +1 -1
  28. package/dist/.pikku/pikku-bootstrap.gen.js +1 -1
  29. package/dist/.pikku/pikku-meta-service.gen.d.ts +1 -1
  30. package/dist/.pikku/pikku-meta-service.gen.js +1 -1
  31. package/dist/.pikku/pikku-services.gen.d.ts +6 -5
  32. package/dist/.pikku/pikku-services.gen.d.ts.map +1 -1
  33. package/dist/.pikku/pikku-services.gen.js +4 -3
  34. package/dist/.pikku/pikku-services.gen.js.map +1 -1
  35. package/dist/.pikku/pikku-types.gen.d.ts +1 -1
  36. package/dist/.pikku/pikku-types.gen.js +1 -1
  37. package/dist/.pikku/queue/pikku-queue-types.gen.d.ts +1 -1
  38. package/dist/.pikku/queue/pikku-queue-types.gen.js +1 -1
  39. package/dist/.pikku/rpc/pikku-rpc-wirings-map.gen.d.ts +8 -2
  40. package/dist/.pikku/rpc/pikku-rpc-wirings-map.internal.gen.d.ts +8 -2
  41. package/dist/.pikku/rpc/pikku-rpc-wirings-map.remote.gen.d.ts +4 -2
  42. package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.js +1 -1
  43. package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.json +2 -0
  44. package/dist/.pikku/scenarios/pikku-scenario-functions-meta.gen.js +1 -1
  45. package/dist/.pikku/scenarios/pikku-scenario-functions.gen.d.ts +1 -1
  46. package/dist/.pikku/scenarios/pikku-scenario-wirings-meta.gen.js +1 -1
  47. package/dist/.pikku/scenarios/pikku-scenario-wirings.gen.d.ts +1 -1
  48. package/dist/.pikku/scenarios/schemas/register.gen.d.ts +1 -1
  49. package/dist/.pikku/scenarios/schemas/register.gen.js +1 -1
  50. package/dist/.pikku/scheduler/pikku-scheduler-types.gen.d.ts +1 -1
  51. package/dist/.pikku/scheduler/pikku-scheduler-types.gen.js +1 -1
  52. package/dist/.pikku/schemas/register.gen.js +7 -1
  53. package/dist/.pikku/schemas/register.gen.js.map +1 -1
  54. package/dist/.pikku/schemas/schemas/AddonMetaPage.schema.json +1 -1
  55. package/dist/.pikku/schemas/schemas/AddonPackageInfo.schema.json +1 -1
  56. package/dist/.pikku/schemas/schemas/AllMeta.schema.json +1 -1
  57. package/dist/.pikku/schemas/schemas/GetAuditFiltersOutput.schema.json +1 -0
  58. package/dist/.pikku/schemas/schemas/GetAuditsInput.schema.json +1 -0
  59. package/dist/.pikku/schemas/schemas/GetAuditsOutput.schema.json +1 -0
  60. package/dist/.pikku/schemas/schemas/GetFunctionsMetaOutput.schema.json +1 -1
  61. package/dist/.pikku/schemas/schemas/GetWorkflowMetaByIdOutput.schema.json +1 -1
  62. package/dist/.pikku/schemas/schemas/ListWebhookDeliveriesOutput.schema.json +1 -1
  63. package/dist/.pikku/schemas/schemas/ScopeListRolesOutput.schema.json +1 -1
  64. package/dist/.pikku/schemas/schemas/SecurityAuditReport.schema.json +1 -1
  65. package/dist/.pikku/schemas/schemas/WebhookDeliveryWithAttempts.schema.json +1 -1
  66. package/dist/.pikku/scopes/pikku-personas-meta.gen.json +1 -0
  67. package/dist/.pikku/scopes/pikku-personas.gen.d.ts +37 -0
  68. package/dist/.pikku/scopes/pikku-personas.gen.d.ts.map +1 -0
  69. package/dist/.pikku/scopes/pikku-personas.gen.js +18 -0
  70. package/dist/.pikku/scopes/pikku-personas.gen.js.map +1 -0
  71. package/dist/.pikku/scopes/pikku-roles-meta.gen.json +1 -0
  72. package/dist/.pikku/scopes/pikku-roles.gen.d.ts +31 -0
  73. package/dist/.pikku/scopes/pikku-roles.gen.d.ts.map +1 -0
  74. package/dist/.pikku/scopes/pikku-roles.gen.js +19 -0
  75. package/dist/.pikku/scopes/pikku-roles.gen.js.map +1 -0
  76. package/dist/.pikku/scopes/pikku-scope-types.gen.d.ts +4 -2
  77. package/dist/.pikku/scopes/pikku-scope-types.gen.d.ts.map +1 -1
  78. package/dist/.pikku/scopes/pikku-scope-types.gen.js +3 -2
  79. package/dist/.pikku/scopes/pikku-scope-types.gen.js.map +1 -1
  80. package/dist/.pikku/scopes/pikku-scopes-meta.gen.json +8 -0
  81. package/dist/.pikku/scopes/pikku-scopes.gen.d.ts +2 -2
  82. package/dist/.pikku/scopes/pikku-scopes.gen.d.ts.map +1 -1
  83. package/dist/.pikku/scopes/pikku-scopes.gen.js.map +1 -1
  84. package/dist/.pikku/secrets/pikku-secret-types.gen.d.ts +2 -2
  85. package/dist/.pikku/secrets/pikku-secret-types.gen.d.ts.map +1 -1
  86. package/dist/.pikku/secrets/pikku-secret-types.gen.js +2 -2
  87. package/dist/.pikku/secrets/pikku-secret-types.gen.js.map +1 -1
  88. package/dist/.pikku/secrets/pikku-secrets.gen.d.ts +1 -1
  89. package/dist/.pikku/secrets/pikku-secrets.gen.js +1 -1
  90. package/dist/.pikku/trigger/pikku-trigger-types.gen.d.ts +1 -1
  91. package/dist/.pikku/trigger/pikku-trigger-types.gen.js +1 -1
  92. package/dist/.pikku/variables/pikku-variable-types.gen.d.ts +2 -2
  93. package/dist/.pikku/variables/pikku-variable-types.gen.d.ts.map +1 -1
  94. package/dist/.pikku/variables/pikku-variable-types.gen.js +2 -2
  95. package/dist/.pikku/variables/pikku-variable-types.gen.js.map +1 -1
  96. package/dist/.pikku/variables/pikku-variables.gen.d.ts +1 -1
  97. package/dist/.pikku/variables/pikku-variables.gen.js +1 -1
  98. package/dist/.pikku/workflow/pikku-personas.gen.d.ts +16 -0
  99. package/dist/.pikku/workflow/pikku-personas.gen.d.ts.map +1 -0
  100. package/dist/.pikku/workflow/pikku-personas.gen.js +18 -0
  101. package/dist/.pikku/workflow/pikku-personas.gen.js.map +1 -0
  102. package/dist/.pikku/workflow/pikku-scenario-step-map.gen.d.ts +2 -2
  103. package/dist/.pikku/workflow/pikku-workflow-map.gen.d.ts +1 -1
  104. package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts +101 -24
  105. package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts.map +1 -1
  106. package/dist/.pikku/workflow/pikku-workflow-types.gen.js +22 -2
  107. package/dist/.pikku/workflow/pikku-workflow-types.gen.js.map +1 -1
  108. package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.js +1 -1
  109. package/dist/.pikku/workflow/pikku-workflow-wirings.gen.d.ts +1 -1
  110. package/dist/.pikku/workflow/pikku-workflow-wirings.gen.js +1 -1
  111. package/dist/src/functions/get-agent-threads.function.d.ts.map +1 -1
  112. package/dist/src/functions/get-agent-threads.function.js +9 -2
  113. package/dist/src/functions/get-agent-threads.function.js.map +1 -1
  114. package/dist/src/functions/get-agent-threads.function.test.d.ts +2 -0
  115. package/dist/src/functions/get-agent-threads.function.test.d.ts.map +1 -0
  116. package/dist/src/functions/get-agent-threads.function.test.js +52 -0
  117. package/dist/src/functions/get-agent-threads.function.test.js.map +1 -0
  118. package/dist/src/functions/get-audit-filters.function.d.ts +23 -0
  119. package/dist/src/functions/get-audit-filters.function.d.ts.map +1 -0
  120. package/dist/src/functions/get-audit-filters.function.js +31 -0
  121. package/dist/src/functions/get-audit-filters.function.js.map +1 -0
  122. package/dist/src/functions/get-audits.function.d.ts +34 -0
  123. package/dist/src/functions/get-audits.function.d.ts.map +1 -0
  124. package/dist/src/functions/get-audits.function.js +24 -0
  125. package/dist/src/functions/get-audits.function.js.map +1 -0
  126. package/dist/src/functions/get-workflow-meta-by-id.function.d.ts +3 -0
  127. package/dist/src/functions/get-workflow-meta-by-id.function.d.ts.map +1 -1
  128. package/dist/src/functions/install-addon.function.d.ts +2 -2
  129. package/dist/src/functions/install-addon.function.d.ts.map +1 -1
  130. package/dist/src/functions/install-addon.function.js +5 -4
  131. package/dist/src/functions/install-addon.function.js.map +1 -1
  132. package/dist/src/functions/install-addon.function.test.d.ts +2 -0
  133. package/dist/src/functions/install-addon.function.test.d.ts.map +1 -0
  134. package/dist/src/functions/install-addon.function.test.js +28 -0
  135. package/dist/src/functions/install-addon.function.test.js.map +1 -0
  136. package/dist/src/functions/install-openapi-addon.function.d.ts +2 -2
  137. package/dist/src/functions/install-openapi-addon.function.d.ts.map +1 -1
  138. package/dist/src/functions/install-openapi-addon.function.js +4 -3
  139. package/dist/src/functions/install-openapi-addon.function.js.map +1 -1
  140. package/dist/src/lib/resolve-audit-users.d.ts +37 -0
  141. package/dist/src/lib/resolve-audit-users.d.ts.map +1 -0
  142. package/dist/src/lib/resolve-audit-users.js +56 -0
  143. package/dist/src/lib/resolve-audit-users.js.map +1 -0
  144. package/dist/src/lib/resolve-audit-users.test.d.ts +2 -0
  145. package/dist/src/lib/resolve-audit-users.test.d.ts.map +1 -0
  146. package/dist/src/lib/resolve-audit-users.test.js +91 -0
  147. package/dist/src/lib/resolve-audit-users.test.js.map +1 -0
  148. package/dist/src/scopes.js +11 -3
  149. package/dist/src/scopes.js.map +1 -1
  150. package/dist/src/services/wiring.service.d.ts +11 -6
  151. package/dist/src/services/wiring.service.d.ts.map +1 -1
  152. package/dist/src/services/wiring.service.js +5 -3
  153. package/dist/src/services/wiring.service.js.map +1 -1
  154. package/dist/src/services/wiring.service.test.js +2 -0
  155. package/dist/src/services/wiring.service.test.js.map +1 -1
  156. package/dist/src/services.d.ts.map +1 -1
  157. package/dist/src/services.js +6 -1
  158. package/dist/src/services.js.map +1 -1
  159. package/package.json +8 -8
@@ -0,0 +1,2263 @@
1
+ {
2
+ "agentCredentialCheck": {
3
+ "pikkuFuncId": "agentCredentialCheck",
4
+ "functionType": "user",
5
+ "funcWrapper": "pikkuFunc",
6
+ "sessionless": false,
7
+ "name": "agentCredentialCheck",
8
+ "services": {
9
+ "optimized": true,
10
+ "services": [
11
+ "credentialService",
12
+ "wiringService"
13
+ ]
14
+ },
15
+ "wires": {
16
+ "optimized": true,
17
+ "wires": [
18
+ "session"
19
+ ]
20
+ },
21
+ "inputSchemaName": "AgentCredentialCheckInput",
22
+ "outputSchemaName": "AgentCredentialCheckOutput",
23
+ "inputs": [
24
+ "AgentCredentialCheckInput"
25
+ ],
26
+ "outputs": [
27
+ "AgentCredentialCheckOutput"
28
+ ],
29
+ "expose": true,
30
+ "implementationHash": "4ae243f8ce4235da",
31
+ "title": "Agent Credential Check",
32
+ "description": "Checks which OAuth credentials an agent needs and whether the authenticated user has connected them.",
33
+ "isDirectFunction": false,
34
+ "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-console/src/functions/agent-credential-check.function.ts",
35
+ "exportedName": "agentCredentialCheck",
36
+ "bodyStart": 26,
37
+ "bodyEnd": 73,
38
+ "contractHash": "07bf36af4e1b26cd",
39
+ "inputHash": "5b191655",
40
+ "outputHash": "eeff398a"
41
+ },
42
+ "credentialDelete": {
43
+ "pikkuFuncId": "credentialDelete",
44
+ "functionType": "user",
45
+ "funcWrapper": "pikkuFunc",
46
+ "sessionless": false,
47
+ "name": "credentialDelete",
48
+ "services": {
49
+ "optimized": true,
50
+ "services": [
51
+ "credentialService"
52
+ ]
53
+ },
54
+ "inputSchemaName": "CredentialDeleteInput",
55
+ "outputSchemaName": "CredentialDeleteOutput",
56
+ "inputs": [
57
+ "CredentialDeleteInput"
58
+ ],
59
+ "outputs": [
60
+ "CredentialDeleteOutput"
61
+ ],
62
+ "expose": true,
63
+ "implementationHash": "c1adc37855c0b0e1",
64
+ "title": "Delete Credential",
65
+ "description": "Deletes a credential, optionally scoped to a user.",
66
+ "isDirectFunction": false,
67
+ "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-console/src/functions/credential-delete.function.ts",
68
+ "exportedName": "credentialDelete",
69
+ "bodyStart": 11,
70
+ "bodyEnd": 12,
71
+ "contractHash": "c0c0129a197c5bed",
72
+ "inputHash": "e5f90226",
73
+ "outputHash": "d380569d"
74
+ },
75
+ "credentialGet": {
76
+ "pikkuFuncId": "credentialGet",
77
+ "functionType": "user",
78
+ "funcWrapper": "pikkuFunc",
79
+ "sessionless": false,
80
+ "name": "credentialGet",
81
+ "services": {
82
+ "optimized": true,
83
+ "services": [
84
+ "credentialService"
85
+ ]
86
+ },
87
+ "inputSchemaName": "CredentialGetInput",
88
+ "outputSchemaName": "CredentialGetOutput",
89
+ "inputs": [
90
+ "CredentialGetInput"
91
+ ],
92
+ "outputs": [
93
+ "CredentialGetOutput"
94
+ ],
95
+ "expose": true,
96
+ "implementationHash": "35bcfa960b0d439e",
97
+ "title": "Get Credential",
98
+ "description": "Retrieves a credential value, optionally scoped to a user.",
99
+ "isDirectFunction": false,
100
+ "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-console/src/functions/credential-get.function.ts",
101
+ "exportedName": "credentialGet",
102
+ "bodyStart": 11,
103
+ "bodyEnd": 12,
104
+ "contractHash": "20ae6fc72986b883",
105
+ "inputHash": "1162de3d",
106
+ "outputHash": "7f6b0ebf"
107
+ },
108
+ "credentialListUsers": {
109
+ "pikkuFuncId": "credentialListUsers",
110
+ "functionType": "user",
111
+ "funcWrapper": "pikkuFunc",
112
+ "sessionless": false,
113
+ "name": "credentialListUsers",
114
+ "services": {
115
+ "optimized": true,
116
+ "services": [
117
+ "credentialService",
118
+ "metaService"
119
+ ]
120
+ },
121
+ "inputSchemaName": null,
122
+ "outputSchemaName": "CredentialListUsersOutput",
123
+ "inputs": [],
124
+ "outputs": [
125
+ "CredentialListUsersOutput"
126
+ ],
127
+ "expose": true,
128
+ "implementationHash": "96315b9ae55ee8bd",
129
+ "title": "List Credential Users",
130
+ "description": "Lists all users and their credential status for each declared credential.",
131
+ "isDirectFunction": false,
132
+ "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-console/src/functions/credential-list-users.function.ts",
133
+ "exportedName": "credentialListUsers",
134
+ "bodyStart": 17,
135
+ "bodyEnd": 35,
136
+ "contractHash": "0b3e0e99cc0fe325",
137
+ "inputHash": "13b79bd2",
138
+ "outputHash": "5bf6ba22"
139
+ },
140
+ "credentialSet": {
141
+ "pikkuFuncId": "credentialSet",
142
+ "functionType": "user",
143
+ "funcWrapper": "pikkuFunc",
144
+ "sessionless": false,
145
+ "name": "credentialSet",
146
+ "services": {
147
+ "optimized": true,
148
+ "services": [
149
+ "credentialService"
150
+ ]
151
+ },
152
+ "inputSchemaName": "CredentialSetInput",
153
+ "outputSchemaName": "CredentialSetOutput",
154
+ "inputs": [
155
+ "CredentialSetInput"
156
+ ],
157
+ "outputs": [
158
+ "CredentialSetOutput"
159
+ ],
160
+ "expose": true,
161
+ "implementationHash": "75a1560247e99655",
162
+ "title": "Set Credential",
163
+ "description": "Stores a credential value, optionally scoped to a user.",
164
+ "isDirectFunction": false,
165
+ "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-console/src/functions/credential-set.function.ts",
166
+ "exportedName": "credentialSet",
167
+ "bodyStart": 11,
168
+ "bodyEnd": 12,
169
+ "contractHash": "1cf24418020be4f5",
170
+ "inputHash": "411710ba",
171
+ "outputHash": "d17478ee"
172
+ },
173
+ "credentialStatus": {
174
+ "pikkuFuncId": "credentialStatus",
175
+ "functionType": "user",
176
+ "funcWrapper": "pikkuFunc",
177
+ "sessionless": false,
178
+ "name": "credentialStatus",
179
+ "services": {
180
+ "optimized": true,
181
+ "services": [
182
+ "credentialService"
183
+ ]
184
+ },
185
+ "inputSchemaName": "CredentialStatusInput",
186
+ "outputSchemaName": "CredentialStatusOutput",
187
+ "inputs": [
188
+ "CredentialStatusInput"
189
+ ],
190
+ "outputs": [
191
+ "CredentialStatusOutput"
192
+ ],
193
+ "expose": true,
194
+ "implementationHash": "18e0af3ea331ec7a",
195
+ "title": "Credential Status",
196
+ "description": "Checks which of the given credential names are configured. Optionally scoped to a user.",
197
+ "isDirectFunction": false,
198
+ "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-console/src/functions/credential-status.function.ts",
199
+ "exportedName": "credentialStatus",
200
+ "bodyStart": 12,
201
+ "bodyEnd": 16,
202
+ "contractHash": "54c549aa89a51ad1",
203
+ "inputHash": "e5e1d5fa",
204
+ "outputHash": "d90abe74"
205
+ },
206
+ "credentialUsers": {
207
+ "pikkuFuncId": "credentialUsers",
208
+ "functionType": "user",
209
+ "funcWrapper": "pikkuFunc",
210
+ "sessionless": false,
211
+ "name": "credentialUsers",
212
+ "services": {
213
+ "optimized": true,
214
+ "services": [
215
+ "credentialService"
216
+ ]
217
+ },
218
+ "inputSchemaName": "CredentialUsersInput",
219
+ "outputSchemaName": "CredentialUsersOutput",
220
+ "inputs": [
221
+ "CredentialUsersInput"
222
+ ],
223
+ "outputs": [
224
+ "CredentialUsersOutput"
225
+ ],
226
+ "expose": true,
227
+ "implementationHash": "e8ce71c17b4e2253",
228
+ "title": "Credential Users",
229
+ "description": "Lists all user IDs that have a specific credential configured.",
230
+ "isDirectFunction": false,
231
+ "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-console/src/functions/credential-users.function.ts",
232
+ "exportedName": "credentialUsers",
233
+ "bodyStart": 11,
234
+ "bodyEnd": 12,
235
+ "contractHash": "3978cc43086f3ba9",
236
+ "inputHash": "3ece4aca",
237
+ "outputHash": "ad9afc4a"
238
+ },
239
+ "deleteAgentThread": {
240
+ "pikkuFuncId": "deleteAgentThread",
241
+ "functionType": "user",
242
+ "funcWrapper": "pikkuFunc",
243
+ "sessionless": false,
244
+ "name": "deleteAgentThread",
245
+ "services": {
246
+ "optimized": true,
247
+ "services": [
248
+ "agentRunService"
249
+ ]
250
+ },
251
+ "inputSchemaName": "DeleteAgentThreadInput",
252
+ "outputSchemaName": "DeleteAgentThreadOutput",
253
+ "inputs": [
254
+ "DeleteAgentThreadInput"
255
+ ],
256
+ "outputs": [
257
+ "DeleteAgentThreadOutput"
258
+ ],
259
+ "expose": true,
260
+ "implementationHash": "458d54717e1ba2cb",
261
+ "title": "Delete Agent Thread",
262
+ "description": "Deletes an AI agent thread and all its associated messages and runs via cascade.",
263
+ "isDirectFunction": false,
264
+ "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-console/src/functions/delete-agent-thread.function.ts",
265
+ "exportedName": "deleteAgentThread",
266
+ "bodyStart": 12,
267
+ "bodyEnd": 13,
268
+ "contractHash": "4a965a6fb8ee9447",
269
+ "inputHash": "a375c07d",
270
+ "outputHash": "a2094cc1"
271
+ },
272
+ "deleteWorkflowRun": {
273
+ "pikkuFuncId": "deleteWorkflowRun",
274
+ "functionType": "user",
275
+ "funcWrapper": "pikkuFunc",
276
+ "sessionless": false,
277
+ "name": "deleteWorkflowRun",
278
+ "services": {
279
+ "optimized": true,
280
+ "services": [
281
+ "workflowRunService"
282
+ ]
283
+ },
284
+ "inputSchemaName": "DeleteWorkflowRunInput",
285
+ "outputSchemaName": "DeleteWorkflowRunOutput",
286
+ "inputs": [
287
+ "DeleteWorkflowRunInput"
288
+ ],
289
+ "outputs": [
290
+ "DeleteWorkflowRunOutput"
291
+ ],
292
+ "expose": true,
293
+ "implementationHash": "ef700a005caf64a7",
294
+ "title": "Delete Workflow Run",
295
+ "description": "Deletes a workflow run and all its associated steps and history.",
296
+ "isDirectFunction": false,
297
+ "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-console/src/functions/delete-workflow-run.function.ts",
298
+ "exportedName": "deleteWorkflowRun",
299
+ "bodyStart": 12,
300
+ "bodyEnd": 13,
301
+ "contractHash": "ad8307eecdc7ad6a",
302
+ "inputHash": "9c70c523",
303
+ "outputHash": "15f13ae6"
304
+ },
305
+ "getAddonCategories": {
306
+ "pikkuFuncId": "getAddonCategories",
307
+ "functionType": "user",
308
+ "funcWrapper": "pikkuFunc",
309
+ "sessionless": false,
310
+ "name": "getAddonCategories",
311
+ "services": {
312
+ "optimized": true,
313
+ "services": [
314
+ "addonService"
315
+ ]
316
+ },
317
+ "inputSchemaName": null,
318
+ "outputSchemaName": "GetAddonCategoriesOutput",
319
+ "inputs": [],
320
+ "outputs": [
321
+ "GetAddonCategoriesOutput"
322
+ ],
323
+ "expose": true,
324
+ "implementationHash": "cdb84c378a117052",
325
+ "title": "Get Addon Categories",
326
+ "description": "Category counts across the whole addon catalogue, for the gallery category rail. Counted by the registry — deriving them from the loaded rows would undercount everything the user has not scrolled to yet.",
327
+ "isDirectFunction": false,
328
+ "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-console/src/functions/get-addon-categories.function.ts",
329
+ "exportedName": "getAddonCategories",
330
+ "bodyStart": 9,
331
+ "bodyEnd": 9,
332
+ "contractHash": "71fbb74fbafa3971",
333
+ "inputHash": "671c08eb",
334
+ "outputHash": "67a958be"
335
+ },
336
+ "getAddonIcon": {
337
+ "pikkuFuncId": "getAddonIcon",
338
+ "functionType": "user",
339
+ "funcWrapper": "pikkuFunc",
340
+ "sessionless": false,
341
+ "name": "getAddonIcon",
342
+ "services": {
343
+ "optimized": true,
344
+ "services": [
345
+ "addonService"
346
+ ]
347
+ },
348
+ "inputSchemaName": "GetAddonIconInput",
349
+ "outputSchemaName": "string",
350
+ "inputs": [
351
+ "GetAddonIconInput"
352
+ ],
353
+ "outputs": [
354
+ "string"
355
+ ],
356
+ "expose": true,
357
+ "implementationHash": "cb9396ee6d1c080c",
358
+ "title": "Get Addon Icon",
359
+ "description": "Returns the icon for an addon from its metadata",
360
+ "isDirectFunction": false,
361
+ "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-console/src/functions/get-addon-icon.function.ts",
362
+ "exportedName": "getAddonIcon",
363
+ "bodyStart": 11,
364
+ "bodyEnd": 12,
365
+ "contractHash": "941bcb3964361cb3",
366
+ "inputHash": "c9486bc8",
367
+ "outputHash": "e7ab44d1"
368
+ },
369
+ "getAddonInstances": {
370
+ "pikkuFuncId": "getAddonInstances",
371
+ "functionType": "user",
372
+ "funcWrapper": "pikkuFunc",
373
+ "sessionless": false,
374
+ "name": "getAddonInstances",
375
+ "services": {
376
+ "optimized": true,
377
+ "services": []
378
+ },
379
+ "inputSchemaName": "GetAddonInstancesInput",
380
+ "outputSchemaName": "GetAddonInstancesOutput",
381
+ "inputs": [
382
+ "GetAddonInstancesInput"
383
+ ],
384
+ "outputs": [
385
+ "GetAddonInstancesOutput"
386
+ ],
387
+ "expose": true,
388
+ "implementationHash": "aaf21504c28464f8",
389
+ "title": "Get Addon Instances",
390
+ "description": "Returns the wired instances of an addon package and their per-instance overrides.",
391
+ "isDirectFunction": false,
392
+ "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-console/src/functions/get-addon-instances.function.ts",
393
+ "exportedName": "getAddonInstances",
394
+ "bodyStart": 31,
395
+ "bodyEnd": 42,
396
+ "contractHash": "a0f0bba74c363c18",
397
+ "inputHash": "71254e9e",
398
+ "outputHash": "9f2fff5a"
399
+ },
400
+ "getAddonMeta": {
401
+ "pikkuFuncId": "getAddonMeta",
402
+ "functionType": "user",
403
+ "funcWrapper": "pikkuFunc",
404
+ "sessionless": false,
405
+ "name": "getAddonMeta",
406
+ "services": {
407
+ "optimized": true,
408
+ "services": [
409
+ "addonService"
410
+ ]
411
+ },
412
+ "inputSchemaName": "AddonMetaQuery",
413
+ "outputSchemaName": "AddonMetaPage",
414
+ "inputs": [
415
+ "AddonMetaQuery"
416
+ ],
417
+ "outputs": [
418
+ "AddonMetaPage"
419
+ ],
420
+ "expose": true,
421
+ "implementationHash": "549de5adab237e0c",
422
+ "title": "Get Addon Metadata",
423
+ "description": "Returns one page of the addon catalogue. Search, category and sort are applied by the registry rather than the caller, so they cover every package and not just the pages already loaded.",
424
+ "isDirectFunction": false,
425
+ "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-console/src/functions/get-addon-meta.function.ts",
426
+ "exportedName": "getAddonMeta",
427
+ "bodyStart": 13,
428
+ "bodyEnd": 13,
429
+ "contractHash": "855c785d172e4ca0",
430
+ "inputHash": "bc3bf42d",
431
+ "outputHash": "de765636"
432
+ },
433
+ "getAddonCommunityPackage": {
434
+ "pikkuFuncId": "getAddonCommunityPackage",
435
+ "functionType": "user",
436
+ "funcWrapper": "pikkuFunc",
437
+ "sessionless": false,
438
+ "name": "getAddonCommunityPackage",
439
+ "services": {
440
+ "optimized": true,
441
+ "services": [
442
+ "addonService"
443
+ ]
444
+ },
445
+ "inputSchemaName": "GetAddonCommunityPackageInput",
446
+ "outputSchemaName": "AddonPackageInfo",
447
+ "inputs": [
448
+ "GetAddonCommunityPackageInput"
449
+ ],
450
+ "outputs": [
451
+ "AddonPackageInfo"
452
+ ],
453
+ "expose": true,
454
+ "implementationHash": "e5f5a6ecf3cd2c76",
455
+ "title": "Get Community Addon Package",
456
+ "description": "Returns the full details of a community addon by ID from the registry",
457
+ "isDirectFunction": false,
458
+ "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-console/src/functions/get-addon-package.function.ts",
459
+ "exportedName": "getAddonCommunityPackage",
460
+ "bodyStart": 13,
461
+ "bodyEnd": 13,
462
+ "contractHash": "687653e3c213ed35",
463
+ "inputHash": "450acb95",
464
+ "outputHash": "0f166252"
465
+ },
466
+ "getAgentThreadMessages": {
467
+ "pikkuFuncId": "getAgentThreadMessages",
468
+ "functionType": "user",
469
+ "funcWrapper": "pikkuFunc",
470
+ "sessionless": false,
471
+ "name": "getAgentThreadMessages",
472
+ "services": {
473
+ "optimized": true,
474
+ "services": [
475
+ "agentRunService"
476
+ ]
477
+ },
478
+ "inputSchemaName": "GetAgentThreadMessagesInput",
479
+ "outputSchemaName": "GetAgentThreadMessagesOutput",
480
+ "inputs": [
481
+ "GetAgentThreadMessagesInput"
482
+ ],
483
+ "outputs": [
484
+ "GetAgentThreadMessagesOutput"
485
+ ],
486
+ "expose": true,
487
+ "implementationHash": "b3199103df324fb7",
488
+ "title": "Get Agent Thread Messages",
489
+ "description": "Returns all messages for a given AI agent thread, ordered by creation time.",
490
+ "isDirectFunction": false,
491
+ "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-console/src/functions/get-agent-thread-messages.function.ts",
492
+ "exportedName": "getAgentThreadMessages",
493
+ "bodyStart": 9,
494
+ "bodyEnd": 9,
495
+ "contractHash": "16058b8da61ea056",
496
+ "inputHash": "1212abd3",
497
+ "outputHash": "04960780"
498
+ },
499
+ "getAgentThreadRuns": {
500
+ "pikkuFuncId": "getAgentThreadRuns",
501
+ "functionType": "user",
502
+ "funcWrapper": "pikkuFunc",
503
+ "sessionless": false,
504
+ "name": "getAgentThreadRuns",
505
+ "services": {
506
+ "optimized": true,
507
+ "services": [
508
+ "agentRunService"
509
+ ]
510
+ },
511
+ "inputSchemaName": "GetAgentThreadRunsInput",
512
+ "outputSchemaName": "GetAgentThreadRunsOutput",
513
+ "inputs": [
514
+ "GetAgentThreadRunsInput"
515
+ ],
516
+ "outputs": [
517
+ "GetAgentThreadRunsOutput"
518
+ ],
519
+ "expose": true,
520
+ "implementationHash": "68faa15cc84a150b",
521
+ "title": "Get Agent Thread Runs",
522
+ "description": "Returns all runs for a given AI agent thread, ordered by creation time descending.",
523
+ "isDirectFunction": false,
524
+ "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-console/src/functions/get-agent-thread-runs.function.ts",
525
+ "exportedName": "getAgentThreadRuns",
526
+ "bodyStart": 9,
527
+ "bodyEnd": 9,
528
+ "contractHash": "2e961f7a3c523dad",
529
+ "inputHash": "81647ab7",
530
+ "outputHash": "6352aca1"
531
+ },
532
+ "getAgentThreads": {
533
+ "pikkuFuncId": "getAgentThreads",
534
+ "functionType": "user",
535
+ "funcWrapper": "pikkuFunc",
536
+ "sessionless": false,
537
+ "name": "getAgentThreads",
538
+ "services": {
539
+ "optimized": true,
540
+ "services": [
541
+ "agentRunService"
542
+ ]
543
+ },
544
+ "wires": {
545
+ "optimized": true,
546
+ "wires": [
547
+ "session"
548
+ ]
549
+ },
550
+ "inputSchemaName": "GetAgentThreadsInput",
551
+ "outputSchemaName": "GetAgentThreadsOutput",
552
+ "inputs": [
553
+ "GetAgentThreadsInput"
554
+ ],
555
+ "outputs": [
556
+ "GetAgentThreadsOutput"
557
+ ],
558
+ "expose": true,
559
+ "implementationHash": "ff53a04a24d86a23",
560
+ "title": "Get Agent Threads",
561
+ "description": "Returns a list of AI agent threads from the database. Accepts optional filters: agentName, resourceId, limit, and offset for pagination. A caller without the admin scope sees only the threads its own session owns.",
562
+ "isDirectFunction": false,
563
+ "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-console/src/functions/get-agent-threads.function.ts",
564
+ "exportedName": "getAgentThreads",
565
+ "bodyStart": 16,
566
+ "bodyEnd": 25,
567
+ "contractHash": "d629208347702d27",
568
+ "inputHash": "41f5350c",
569
+ "outputHash": "6598bdff"
570
+ },
571
+ "getAllMeta": {
572
+ "pikkuFuncId": "getAllMeta",
573
+ "functionType": "user",
574
+ "funcWrapper": "pikkuFunc",
575
+ "sessionless": false,
576
+ "name": "getAllMeta",
577
+ "services": {
578
+ "optimized": true,
579
+ "services": [
580
+ "wiringService"
581
+ ]
582
+ },
583
+ "inputSchemaName": null,
584
+ "outputSchemaName": "AllMeta",
585
+ "inputs": [],
586
+ "outputs": [
587
+ "AllMeta"
588
+ ],
589
+ "expose": true,
590
+ "implementationHash": "f95d5f2fceef56bb",
591
+ "title": "Get All Metadata",
592
+ "description": "Reads and returns a combined object containing metadata for every wiring type (HTTP, RPC, channels, schedulers, queues, workflows, CLI, MCP, gateways, triggers, trigger sources, services, functions, and secrets) by delegating to wiringService.readAllMeta()",
593
+ "isDirectFunction": false,
594
+ "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-console/src/functions/get-all-meta.function.ts",
595
+ "exportedName": "getAllMeta",
596
+ "bodyStart": 10,
597
+ "bodyEnd": 10,
598
+ "contractHash": "f519b0ffbc05a4fb",
599
+ "inputHash": "bf06e182",
600
+ "outputHash": "efdef6d5"
601
+ },
602
+ "getAuditFilters": {
603
+ "pikkuFuncId": "getAuditFilters",
604
+ "functionType": "user",
605
+ "funcWrapper": "pikkuFunc",
606
+ "sessionless": false,
607
+ "name": "getAuditFilters",
608
+ "services": {
609
+ "optimized": true,
610
+ "services": [
611
+ "audit",
612
+ "auth",
613
+ "logger"
614
+ ]
615
+ },
616
+ "inputSchemaName": null,
617
+ "outputSchemaName": "GetAuditFiltersOutput",
618
+ "inputs": [],
619
+ "outputs": [
620
+ "GetAuditFiltersOutput",
621
+ "AuditUserProfile"
622
+ ],
623
+ "expose": true,
624
+ "scopes": [
625
+ "pikku:audit:read"
626
+ ],
627
+ "implementationHash": "1093adb91ed54d67",
628
+ "title": "Get Audit Filters",
629
+ "description": "Returns the distinct users and event types present in the audit trail, for populating the audit screen filters.",
630
+ "isDirectFunction": false,
631
+ "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-console/src/functions/get-audit-filters.function.ts",
632
+ "exportedName": "getAuditFilters",
633
+ "bodyStart": 33,
634
+ "bodyEnd": 44,
635
+ "contractHash": "dda1ed08cdb20234",
636
+ "inputHash": "3ef882a7",
637
+ "outputHash": "4d033a78"
638
+ },
639
+ "getAudits": {
640
+ "pikkuFuncId": "getAudits",
641
+ "functionType": "user",
642
+ "funcWrapper": "pikkuFunc",
643
+ "sessionless": false,
644
+ "name": "getAudits",
645
+ "services": {
646
+ "optimized": true,
647
+ "services": [
648
+ "audit",
649
+ "auth",
650
+ "logger"
651
+ ]
652
+ },
653
+ "inputSchemaName": "GetAuditsInput",
654
+ "outputSchemaName": "GetAuditsOutput",
655
+ "inputs": [
656
+ "GetAuditsInput"
657
+ ],
658
+ "outputs": [
659
+ "GetAuditsOutput",
660
+ "AuditEvent",
661
+ "AuditSource",
662
+ "AuditUserIdentity",
663
+ "AuditUserDirectory"
664
+ ],
665
+ "expose": true,
666
+ "scopes": [
667
+ "pikku:audit:read"
668
+ ],
669
+ "implementationHash": "88129d345d48a487",
670
+ "title": "Get Audits",
671
+ "description": "Returns a page of the audit trail, newest first, optionally filtered by user, event type, and time range. Reports readable: false when the configured audit sink is write-only.",
672
+ "isDirectFunction": false,
673
+ "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-console/src/functions/get-audits.function.ts",
674
+ "exportedName": "getAudits",
675
+ "bodyStart": 47,
676
+ "bodyEnd": 63,
677
+ "contractHash": "350278d5852ddc25",
678
+ "inputHash": "10deb076",
679
+ "outputHash": "d672dee1"
680
+ },
681
+ "getAuthProviders": {
682
+ "pikkuFuncId": "getAuthProviders",
683
+ "functionType": "user",
684
+ "funcWrapper": "pikkuFunc",
685
+ "sessionless": false,
686
+ "name": "getAuthProviders",
687
+ "services": {
688
+ "optimized": true,
689
+ "services": [
690
+ "metaService"
691
+ ]
692
+ },
693
+ "inputSchemaName": null,
694
+ "outputSchemaName": "AuthProvidersMeta",
695
+ "inputs": [],
696
+ "outputs": [
697
+ "AuthProvidersMeta"
698
+ ],
699
+ "expose": true,
700
+ "implementationHash": "28d47382959b8d6b",
701
+ "title": "Get Auth Providers",
702
+ "description": "Returns the social providers and plugins configured via pikkuBetterAuth(), read from the generated auth-meta.gen.json.",
703
+ "isDirectFunction": false,
704
+ "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-console/src/functions/get-auth-providers.function.ts",
705
+ "exportedName": "getAuthProviders",
706
+ "bodyStart": 49,
707
+ "bodyEnd": 49,
708
+ "contractHash": "206e6e045002b418",
709
+ "inputHash": "1d94c8c3",
710
+ "outputHash": "280a6c55"
711
+ },
712
+ "getChannelSnippets": {
713
+ "pikkuFuncId": "getChannelSnippets",
714
+ "functionType": "user",
715
+ "funcWrapper": "pikkuFunc",
716
+ "sessionless": false,
717
+ "name": "getChannelSnippets",
718
+ "services": {
719
+ "optimized": true,
720
+ "services": [
721
+ "metaService",
722
+ "wiringService"
723
+ ]
724
+ },
725
+ "inputSchemaName": "GetChannelSnippetsInput",
726
+ "outputSchemaName": "ChannelSnippets",
727
+ "inputs": [
728
+ "GetChannelSnippetsInput"
729
+ ],
730
+ "outputs": [
731
+ "ChannelSnippets"
732
+ ],
733
+ "expose": true,
734
+ "implementationHash": "28466fe6c70c1f0b",
735
+ "title": "Get Channel Snippets",
736
+ "description": "Given a channelName, reads channel metadata from metaService, finds the matching channel, and generates code snippets (overview, handlers, actions) for that channel. Returns empty snippets if the channel is not found.",
737
+ "isDirectFunction": false,
738
+ "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-console/src/functions/get-channel-snippets.function.ts",
739
+ "exportedName": "getChannelSnippets",
740
+ "bodyStart": 14,
741
+ "bodyEnd": 17,
742
+ "contractHash": "f29c66bdcc7eefce",
743
+ "inputHash": "6f60ad3f",
744
+ "outputHash": "044e9275"
745
+ },
746
+ "getDbSchema": {
747
+ "pikkuFuncId": "getDbSchema",
748
+ "functionType": "user",
749
+ "funcWrapper": "pikkuFunc",
750
+ "sessionless": false,
751
+ "name": "getDbSchema",
752
+ "services": {
753
+ "optimized": true,
754
+ "services": [
755
+ "dbSchemaService"
756
+ ]
757
+ },
758
+ "inputSchemaName": null,
759
+ "outputSchemaName": "DbSchema",
760
+ "inputs": [],
761
+ "outputs": [
762
+ "DbSchema"
763
+ ],
764
+ "expose": true,
765
+ "implementationHash": "3c0db47f3d609ea1",
766
+ "title": "Get Database Schema",
767
+ "description": "Introspects the local development SQLite database and returns table/column metadata enriched with data-classification annotations from db/annotations.gen.json.",
768
+ "isDirectFunction": false,
769
+ "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-console/src/functions/get-db-schema.function.ts",
770
+ "exportedName": "getDbSchema",
771
+ "bodyStart": 11,
772
+ "bodyEnd": 14,
773
+ "contractHash": "c25846d977be35cc",
774
+ "inputHash": "933c3d66",
775
+ "outputHash": "665f2f0d"
776
+ },
777
+ "getFunctionsMeta": {
778
+ "pikkuFuncId": "getFunctionsMeta",
779
+ "functionType": "user",
780
+ "funcWrapper": "pikkuFunc",
781
+ "sessionless": false,
782
+ "name": "getFunctionsMeta",
783
+ "services": {
784
+ "optimized": true,
785
+ "services": [
786
+ "metaService"
787
+ ]
788
+ },
789
+ "inputSchemaName": null,
790
+ "outputSchemaName": "GetFunctionsMetaOutput",
791
+ "inputs": [],
792
+ "outputs": [
793
+ "GetFunctionsMetaOutput"
794
+ ],
795
+ "expose": true,
796
+ "implementationHash": "67fbdf8db39fa458",
797
+ "title": "Get Functions Metadata",
798
+ "description": "Reads function metadata from metaService and returns it as a flat array of FunctionMeta objects, enriched with version history from the versions manifest if available.",
799
+ "isDirectFunction": false,
800
+ "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-console/src/functions/get-functions-meta.function.ts",
801
+ "exportedName": "getFunctionsMeta",
802
+ "bodyStart": 24,
803
+ "bodyEnd": 66,
804
+ "contractHash": "63b97fbd842d0834",
805
+ "inputHash": "f42aa828",
806
+ "outputHash": "48a49cd3"
807
+ },
808
+ "getInstalledAddons": {
809
+ "pikkuFuncId": "getInstalledAddons",
810
+ "functionType": "user",
811
+ "funcWrapper": "pikkuFunc",
812
+ "sessionless": false,
813
+ "name": "getInstalledAddons",
814
+ "services": {
815
+ "optimized": true,
816
+ "services": [
817
+ "metaService"
818
+ ]
819
+ },
820
+ "inputSchemaName": null,
821
+ "outputSchemaName": "GetInstalledAddonsOutput",
822
+ "inputs": [],
823
+ "outputs": [
824
+ "GetInstalledAddonsOutput"
825
+ ],
826
+ "expose": true,
827
+ "implementationHash": "eb77733a41119eb1",
828
+ "title": "Get Installed Addons",
829
+ "description": "Returns locally wired addons from pikkuState",
830
+ "isDirectFunction": false,
831
+ "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-console/src/functions/get-installed-addons.function.ts",
832
+ "exportedName": "getInstalledAddons",
833
+ "bodyStart": 37,
834
+ "bodyEnd": 52,
835
+ "contractHash": "cca7dbfcea9bf8b4",
836
+ "inputHash": "3bc40965",
837
+ "outputHash": "0cf9b243"
838
+ },
839
+ "getAddonInstalledPackage": {
840
+ "pikkuFuncId": "getAddonInstalledPackage",
841
+ "functionType": "user",
842
+ "funcWrapper": "pikkuFunc",
843
+ "sessionless": false,
844
+ "name": "getAddonInstalledPackage",
845
+ "services": {
846
+ "optimized": true,
847
+ "services": [
848
+ "metaService"
849
+ ]
850
+ },
851
+ "inputSchemaName": "GetAddonInstalledPackageInput",
852
+ "outputSchemaName": "AddonPackageInfo",
853
+ "inputs": [
854
+ "GetAddonInstalledPackageInput"
855
+ ],
856
+ "outputs": [
857
+ "AddonPackageInfo"
858
+ ],
859
+ "expose": true,
860
+ "implementationHash": "8c4aa9d56ff3351b",
861
+ "title": "Get Installed Addon Package",
862
+ "description": "Returns the full details of a locally installed addon by reading from pikkuState and .pikku files",
863
+ "isDirectFunction": false,
864
+ "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-console/src/functions/get-installed-package.function.ts",
865
+ "exportedName": "getAddonInstalledPackage",
866
+ "bodyStart": 15,
867
+ "bodyEnd": 131,
868
+ "contractHash": "bc332aa9df4a701a",
869
+ "inputHash": "84821b5a",
870
+ "outputHash": "4e561bc1"
871
+ },
872
+ "getKnowledge": {
873
+ "pikkuFuncId": "getKnowledge",
874
+ "functionType": "user",
875
+ "funcWrapper": "pikkuFunc",
876
+ "sessionless": false,
877
+ "name": "getKnowledge",
878
+ "services": {
879
+ "optimized": true,
880
+ "services": [
881
+ "knowledgeService"
882
+ ]
883
+ },
884
+ "inputSchemaName": null,
885
+ "outputSchemaName": "KnowledgeBundle",
886
+ "inputs": [],
887
+ "outputs": [
888
+ "KnowledgeBundle"
889
+ ],
890
+ "expose": true,
891
+ "implementationHash": "9a8a721711ba9f64",
892
+ "title": "Get Knowledge Base",
893
+ "description": "Reads the project's knowledge/ notes and returns them as a graph — each note with its links in both directions, plus the sections, tag counts, and what `pikku knowledge validate` reports.",
894
+ "isDirectFunction": false,
895
+ "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-console/src/functions/get-knowledge.function.ts",
896
+ "exportedName": "getKnowledge",
897
+ "bodyStart": 11,
898
+ "bodyEnd": 16,
899
+ "contractHash": "e61e888dbb39ab35",
900
+ "inputHash": "52889dc9",
901
+ "outputHash": "efc7f102"
902
+ },
903
+ "getMyAccess": {
904
+ "pikkuFuncId": "getMyAccess",
905
+ "functionType": "user",
906
+ "funcWrapper": "pikkuFunc",
907
+ "sessionless": false,
908
+ "name": "getMyAccess",
909
+ "services": {
910
+ "optimized": true,
911
+ "services": []
912
+ },
913
+ "wires": {
914
+ "optimized": true,
915
+ "wires": [
916
+ "session"
917
+ ]
918
+ },
919
+ "inputSchemaName": null,
920
+ "outputSchemaName": "GetMyAccessOutput",
921
+ "inputs": [],
922
+ "outputs": [
923
+ "GetMyAccessOutput"
924
+ ],
925
+ "expose": true,
926
+ "implementationHash": "e7addfe4f2786923",
927
+ "title": "Get My Access",
928
+ "description": "Returns the caller's own user id and the scopes their session carries, so a UI can decide what to render.",
929
+ "isDirectFunction": false,
930
+ "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-console/src/functions/get-my-access.function.ts",
931
+ "exportedName": "getMyAccess",
932
+ "bodyStart": 12,
933
+ "bodyEnd": 15,
934
+ "contractHash": "39340676f1c426ab",
935
+ "inputHash": "8826a3c8",
936
+ "outputHash": "92b7e520"
937
+ },
938
+ "getOpenapiCategories": {
939
+ "pikkuFuncId": "getOpenapiCategories",
940
+ "functionType": "user",
941
+ "funcWrapper": "pikkuFunc",
942
+ "sessionless": false,
943
+ "name": "getOpenapiCategories",
944
+ "services": {
945
+ "optimized": true,
946
+ "services": [
947
+ "addonService"
948
+ ]
949
+ },
950
+ "inputSchemaName": null,
951
+ "outputSchemaName": "GetOpenapiCategoriesOutput",
952
+ "inputs": [],
953
+ "outputs": [
954
+ "GetOpenapiCategoriesOutput"
955
+ ],
956
+ "expose": true,
957
+ "implementationHash": "2ec0b1029e467e37",
958
+ "title": "Get OpenAPI Categories",
959
+ "description": "Category counts across the whole OpenAPI catalogue, for the gallery category rail. Counted by the registry rather than derived from the loaded rows, which would only ever describe the pages already scrolled past.",
960
+ "isDirectFunction": false,
961
+ "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-console/src/functions/get-openapi-categories.function.ts",
962
+ "exportedName": "getOpenapiCategories",
963
+ "bodyStart": 9,
964
+ "bodyEnd": 9,
965
+ "contractHash": "7fa6f2cf2a77241f",
966
+ "inputHash": "220060aa",
967
+ "outputHash": "c6fc61e2"
968
+ },
969
+ "getOpenapiDetail": {
970
+ "pikkuFuncId": "getOpenapiDetail",
971
+ "functionType": "user",
972
+ "funcWrapper": "pikkuFunc",
973
+ "sessionless": false,
974
+ "name": "getOpenapiDetail",
975
+ "services": {
976
+ "optimized": true,
977
+ "services": [
978
+ "addonService"
979
+ ]
980
+ },
981
+ "inputSchemaName": "GetOpenapiDetailInput",
982
+ "outputSchemaName": "GetOpenapiDetailOutput",
983
+ "inputs": [
984
+ "GetOpenapiDetailInput"
985
+ ],
986
+ "outputs": [
987
+ "GetOpenapiDetailOutput"
988
+ ],
989
+ "expose": true,
990
+ "implementationHash": "89b4e3e8f7036c5d",
991
+ "title": "Get OpenAPI Detail",
992
+ "description": "Fetches a single OpenAPI spec detail from the fabric registry by name.",
993
+ "isDirectFunction": false,
994
+ "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-console/src/functions/get-openapi-detail.function.ts",
995
+ "exportedName": "getOpenapiDetail",
996
+ "bodyStart": 27,
997
+ "bodyEnd": 27,
998
+ "contractHash": "ab3426b06a677b45",
999
+ "inputHash": "c91b6280",
1000
+ "outputHash": "25720c9f"
1001
+ },
1002
+ "getOpenapis": {
1003
+ "pikkuFuncId": "getOpenapis",
1004
+ "functionType": "user",
1005
+ "funcWrapper": "pikkuFunc",
1006
+ "sessionless": false,
1007
+ "name": "getOpenapis",
1008
+ "services": {
1009
+ "optimized": true,
1010
+ "services": [
1011
+ "addonService"
1012
+ ]
1013
+ },
1014
+ "inputSchemaName": "GetOpenapisInput",
1015
+ "outputSchemaName": "GetOpenapisOutput",
1016
+ "inputs": [
1017
+ "GetOpenapisInput"
1018
+ ],
1019
+ "outputs": [
1020
+ "GetOpenapisOutput"
1021
+ ],
1022
+ "expose": true,
1023
+ "implementationHash": "23ab9d7b888a4da1",
1024
+ "title": "Get OpenAPI Specs",
1025
+ "description": "Fetches one page of the OpenAPI catalogue from the fabric registry. Search and category are applied by the registry so they cover every entry, not just the loaded pages.",
1026
+ "isDirectFunction": false,
1027
+ "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-console/src/functions/get-openapis.function.ts",
1028
+ "exportedName": "getOpenapis",
1029
+ "bodyStart": 27,
1030
+ "bodyEnd": 27,
1031
+ "contractHash": "5f015dbcdade1c8b",
1032
+ "inputHash": "f38fbddb",
1033
+ "outputHash": "b12c2699"
1034
+ },
1035
+ "getSchema": {
1036
+ "pikkuFuncId": "getSchema",
1037
+ "functionType": "user",
1038
+ "funcWrapper": "pikkuFunc",
1039
+ "sessionless": false,
1040
+ "name": "getSchema",
1041
+ "services": {
1042
+ "optimized": true,
1043
+ "services": [
1044
+ "metaService"
1045
+ ]
1046
+ },
1047
+ "inputSchemaName": "GetSchemaInput",
1048
+ "outputSchemaName": "JSONSchema7",
1049
+ "inputs": [
1050
+ "GetSchemaInput"
1051
+ ],
1052
+ "outputs": [
1053
+ "JSONSchema7"
1054
+ ],
1055
+ "expose": true,
1056
+ "implementationHash": "868246c660fefb97",
1057
+ "title": "Get Schema",
1058
+ "description": "Given a schemaName string, looks up and returns the corresponding JSONSchema7 definition from metaService.getSchema(). Returns null if the schema does not exist.",
1059
+ "isDirectFunction": false,
1060
+ "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-console/src/functions/get-schema.function.ts",
1061
+ "exportedName": "getSchema",
1062
+ "bodyStart": 13,
1063
+ "bodyEnd": 13,
1064
+ "contractHash": "d2399b70dccdcda6",
1065
+ "inputHash": "bf5548d3",
1066
+ "outputHash": "01d4dd0e"
1067
+ },
1068
+ "getSecurityAudit": {
1069
+ "pikkuFuncId": "getSecurityAudit",
1070
+ "functionType": "user",
1071
+ "funcWrapper": "pikkuFunc",
1072
+ "sessionless": false,
1073
+ "name": "getSecurityAudit",
1074
+ "services": {
1075
+ "optimized": true,
1076
+ "services": [
1077
+ "metaService"
1078
+ ]
1079
+ },
1080
+ "inputSchemaName": null,
1081
+ "outputSchemaName": "SecurityAuditReport",
1082
+ "inputs": [],
1083
+ "outputs": [
1084
+ "SecurityAuditReport"
1085
+ ],
1086
+ "expose": true,
1087
+ "implementationHash": "3abe83813a17a1bb",
1088
+ "title": "Get Security Audit",
1089
+ "description": "Returns the dependency security audit (vulnerabilities + available updates) from the generated .pikku/audit.json, or null if `pikku audit` has not been run.",
1090
+ "isDirectFunction": false,
1091
+ "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-console/src/functions/get-security-audit.function.ts",
1092
+ "exportedName": "getSecurityAudit",
1093
+ "bodyStart": 13,
1094
+ "bodyEnd": 13,
1095
+ "contractHash": "34af3b4ba494005d",
1096
+ "inputHash": "f4342c15",
1097
+ "outputHash": "b360be24"
1098
+ },
1099
+ "getStateDiff": {
1100
+ "pikkuFuncId": "getStateDiff",
1101
+ "functionType": "user",
1102
+ "funcWrapper": "pikkuFunc",
1103
+ "sessionless": false,
1104
+ "name": "getStateDiff",
1105
+ "services": {
1106
+ "optimized": true,
1107
+ "services": [
1108
+ "stateDiffService"
1109
+ ]
1110
+ },
1111
+ "inputSchemaName": "GetStateDiffInput",
1112
+ "outputSchemaName": "StateDiff",
1113
+ "inputs": [
1114
+ "GetStateDiffInput"
1115
+ ],
1116
+ "outputs": [
1117
+ "StateDiff"
1118
+ ],
1119
+ "expose": true,
1120
+ "implementationHash": "dc2de03693128686",
1121
+ "title": "Get State Diff",
1122
+ "description": "Diff the current project state (ours) against a baseline `.pikku/` directory (typically a worktree at main). Returns added/removed/modified entries per category.",
1123
+ "isDirectFunction": false,
1124
+ "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-console/src/functions/get-state-diff.function.ts",
1125
+ "exportedName": "getStateDiff",
1126
+ "bodyStart": 13,
1127
+ "bodyEnd": 16,
1128
+ "contractHash": "8518cb87a93a3e1e",
1129
+ "inputHash": "ee2d646b",
1130
+ "outputHash": "6baa567b"
1131
+ },
1132
+ "getWebhookDelivery": {
1133
+ "pikkuFuncId": "getWebhookDelivery",
1134
+ "functionType": "user",
1135
+ "funcWrapper": "pikkuFunc",
1136
+ "sessionless": false,
1137
+ "name": "getWebhookDelivery",
1138
+ "services": {
1139
+ "optimized": true,
1140
+ "services": [
1141
+ "webhookService"
1142
+ ]
1143
+ },
1144
+ "inputSchemaName": "GetWebhookDeliveryInput",
1145
+ "outputSchemaName": "WebhookDeliveryWithAttempts",
1146
+ "inputs": [
1147
+ "GetWebhookDeliveryInput"
1148
+ ],
1149
+ "outputs": [
1150
+ "WebhookDeliveryWithAttempts"
1151
+ ],
1152
+ "expose": true,
1153
+ "implementationHash": "78913ef964a87f7e",
1154
+ "title": "Get Webhook Delivery",
1155
+ "description": "Returns a single webhook delivery with its full attempt history.",
1156
+ "isDirectFunction": false,
1157
+ "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-console/src/functions/get-webhook-delivery.function.ts",
1158
+ "exportedName": "getWebhookDelivery",
1159
+ "bodyStart": 13,
1160
+ "bodyEnd": 13,
1161
+ "contractHash": "a8510b00844b1cfc",
1162
+ "inputHash": "091ce638",
1163
+ "outputHash": "4d68b3e3"
1164
+ },
1165
+ "getWorkflowMetaById": {
1166
+ "pikkuFuncId": "getWorkflowMetaById",
1167
+ "functionType": "user",
1168
+ "funcWrapper": "pikkuFunc",
1169
+ "sessionless": false,
1170
+ "name": "getWorkflowMetaById",
1171
+ "services": {
1172
+ "optimized": true,
1173
+ "services": [
1174
+ "metaService"
1175
+ ]
1176
+ },
1177
+ "inputSchemaName": "GetWorkflowMetaByIdInput",
1178
+ "outputSchemaName": "GetWorkflowMetaByIdOutput",
1179
+ "inputs": [
1180
+ "GetWorkflowMetaByIdInput"
1181
+ ],
1182
+ "outputs": [
1183
+ "GetWorkflowMetaByIdOutput"
1184
+ ],
1185
+ "expose": true,
1186
+ "implementationHash": "610083bc870fe3af",
1187
+ "title": "Get Workflow by ID",
1188
+ "description": "Given a workflowId string, reads all workflow metadata from wiringService and returns the matching workflow meta object. Returns null if no workflow matches the given ID.",
1189
+ "isDirectFunction": false,
1190
+ "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-console/src/functions/get-workflow-meta-by-id.function.ts",
1191
+ "exportedName": "getWorkflowMetaById",
1192
+ "bodyStart": 13,
1193
+ "bodyEnd": 14,
1194
+ "contractHash": "7466c667813c4118",
1195
+ "inputHash": "f967caf6",
1196
+ "outputHash": "30b64e1d"
1197
+ },
1198
+ "getWorkflowRunHistory": {
1199
+ "pikkuFuncId": "getWorkflowRunHistory",
1200
+ "functionType": "user",
1201
+ "funcWrapper": "pikkuFunc",
1202
+ "sessionless": false,
1203
+ "name": "getWorkflowRunHistory",
1204
+ "services": {
1205
+ "optimized": true,
1206
+ "services": [
1207
+ "workflowRunService"
1208
+ ]
1209
+ },
1210
+ "inputSchemaName": "GetWorkflowRunHistoryInput",
1211
+ "outputSchemaName": "GetWorkflowRunHistoryOutput",
1212
+ "inputs": [
1213
+ "GetWorkflowRunHistoryInput"
1214
+ ],
1215
+ "outputs": [
1216
+ "GetWorkflowRunHistoryOutput"
1217
+ ],
1218
+ "expose": true,
1219
+ "implementationHash": "4b4ce6f3a25fb0c7",
1220
+ "title": "Get Workflow Run History",
1221
+ "description": "Given a runId, returns the full execution history (state transitions, timestamps, errors) for a workflow run from the Postgres workflow database via workflowRunService.getRunHistory().",
1222
+ "isDirectFunction": false,
1223
+ "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-console/src/functions/get-workflow-run-history.function.ts",
1224
+ "exportedName": "getWorkflowRunHistory",
1225
+ "bodyStart": 9,
1226
+ "bodyEnd": 9,
1227
+ "contractHash": "6e2a5372a06e6c8f",
1228
+ "inputHash": "71adef8b",
1229
+ "outputHash": "d3a9b834"
1230
+ },
1231
+ "getWorkflowRunNames": {
1232
+ "pikkuFuncId": "getWorkflowRunNames",
1233
+ "functionType": "user",
1234
+ "funcWrapper": "pikkuFunc",
1235
+ "sessionless": false,
1236
+ "name": "getWorkflowRunNames",
1237
+ "services": {
1238
+ "optimized": true,
1239
+ "services": [
1240
+ "workflowRunService"
1241
+ ]
1242
+ },
1243
+ "inputSchemaName": null,
1244
+ "outputSchemaName": "GetWorkflowRunNamesOutput",
1245
+ "inputs": [],
1246
+ "outputs": [
1247
+ "GetWorkflowRunNamesOutput"
1248
+ ],
1249
+ "expose": true,
1250
+ "implementationHash": "55fb11439545e8f6",
1251
+ "title": "Get Workflow Run Names",
1252
+ "description": "Returns an array of distinct workflow names that have at least one run in the Postgres workflow database via workflowRunService.getDistinctWorkflowNames().",
1253
+ "isDirectFunction": false,
1254
+ "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-console/src/functions/get-workflow-run-names.function.ts",
1255
+ "exportedName": "getWorkflowRunNames",
1256
+ "bodyStart": 9,
1257
+ "bodyEnd": 9,
1258
+ "contractHash": "dd70bc8a66eef689",
1259
+ "inputHash": "ab5ef55e",
1260
+ "outputHash": "f7f40084"
1261
+ },
1262
+ "getWorkflowRunSteps": {
1263
+ "pikkuFuncId": "getWorkflowRunSteps",
1264
+ "functionType": "user",
1265
+ "funcWrapper": "pikkuFunc",
1266
+ "sessionless": false,
1267
+ "name": "getWorkflowRunSteps",
1268
+ "services": {
1269
+ "optimized": true,
1270
+ "services": [
1271
+ "workflowRunService"
1272
+ ]
1273
+ },
1274
+ "inputSchemaName": "GetWorkflowRunStepsInput",
1275
+ "outputSchemaName": "GetWorkflowRunStepsOutput",
1276
+ "inputs": [
1277
+ "GetWorkflowRunStepsInput"
1278
+ ],
1279
+ "outputs": [
1280
+ "GetWorkflowRunStepsOutput"
1281
+ ],
1282
+ "expose": true,
1283
+ "implementationHash": "6dd3abd61dcbfb5c",
1284
+ "title": "Get Workflow Run Steps",
1285
+ "description": "Given a runId, returns an array of all execution steps for that workflow run from the Postgres workflow database via workflowRunService.getRunSteps(). Returns an empty array if workflowRunService is not configured.",
1286
+ "isDirectFunction": false,
1287
+ "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-console/src/functions/get-workflow-run-steps.function.ts",
1288
+ "exportedName": "getWorkflowRunSteps",
1289
+ "bodyStart": 9,
1290
+ "bodyEnd": 9,
1291
+ "contractHash": "81130856082620bc",
1292
+ "inputHash": "6dfc6243",
1293
+ "outputHash": "fc160067"
1294
+ },
1295
+ "getWorkflowRun": {
1296
+ "pikkuFuncId": "getWorkflowRun",
1297
+ "functionType": "user",
1298
+ "funcWrapper": "pikkuFunc",
1299
+ "sessionless": false,
1300
+ "name": "getWorkflowRun",
1301
+ "services": {
1302
+ "optimized": true,
1303
+ "services": [
1304
+ "workflowRunService"
1305
+ ]
1306
+ },
1307
+ "inputSchemaName": "GetWorkflowRunInput",
1308
+ "outputSchemaName": "GetWorkflowRunOutput",
1309
+ "inputs": [
1310
+ "GetWorkflowRunInput"
1311
+ ],
1312
+ "outputs": [
1313
+ "GetWorkflowRunOutput"
1314
+ ],
1315
+ "expose": true,
1316
+ "implementationHash": "11f432594142a6e6",
1317
+ "title": "Get Workflow Run",
1318
+ "description": "Given a runId, fetches a single workflow run from workflowRunService and also fetches all its steps, returning the run object merged with a steps array. Returns null if workflowRunService is not configured or the run is not found.",
1319
+ "isDirectFunction": false,
1320
+ "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-console/src/functions/get-workflow-run.function.ts",
1321
+ "exportedName": "getWorkflowRun",
1322
+ "bodyStart": 12,
1323
+ "bodyEnd": 15,
1324
+ "contractHash": "af261ba6bbd86e3a",
1325
+ "inputHash": "4c364da8",
1326
+ "outputHash": "0e2eaa53"
1327
+ },
1328
+ "getWorkflowRuns": {
1329
+ "pikkuFuncId": "getWorkflowRuns",
1330
+ "functionType": "user",
1331
+ "funcWrapper": "pikkuFunc",
1332
+ "sessionless": false,
1333
+ "name": "getWorkflowRuns",
1334
+ "services": {
1335
+ "optimized": true,
1336
+ "services": [
1337
+ "workflowRunService"
1338
+ ]
1339
+ },
1340
+ "inputSchemaName": "GetWorkflowRunsInput",
1341
+ "outputSchemaName": "GetWorkflowRunsOutput",
1342
+ "inputs": [
1343
+ "GetWorkflowRunsInput"
1344
+ ],
1345
+ "outputs": [
1346
+ "GetWorkflowRunsOutput"
1347
+ ],
1348
+ "expose": true,
1349
+ "implementationHash": "cd3da712c9261551",
1350
+ "title": "Get Workflow Runs",
1351
+ "description": "Returns a list of workflow runs from the Postgres workflow database. Accepts optional filters: workflowName, status, limit, and offset for pagination. Returns an empty array if workflowRunService is not configured.",
1352
+ "isDirectFunction": false,
1353
+ "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-console/src/functions/get-workflow-runs.function.ts",
1354
+ "exportedName": "getWorkflowRuns",
1355
+ "bodyStart": 12,
1356
+ "bodyEnd": 17,
1357
+ "contractHash": "6bd77e2897f38f7c",
1358
+ "inputHash": "1dce44b4",
1359
+ "outputHash": "d91cdf81"
1360
+ },
1361
+ "getWorkflowVersion": {
1362
+ "pikkuFuncId": "getWorkflowVersion",
1363
+ "functionType": "user",
1364
+ "funcWrapper": "pikkuFunc",
1365
+ "sessionless": false,
1366
+ "name": "getWorkflowVersion",
1367
+ "services": {
1368
+ "optimized": true,
1369
+ "services": [
1370
+ "workflowRunService"
1371
+ ]
1372
+ },
1373
+ "inputSchemaName": "GetWorkflowVersionInput",
1374
+ "outputSchemaName": "GetWorkflowVersionOutput",
1375
+ "inputs": [
1376
+ "GetWorkflowVersionInput"
1377
+ ],
1378
+ "outputs": [
1379
+ "GetWorkflowVersionOutput"
1380
+ ],
1381
+ "expose": true,
1382
+ "implementationHash": "fbb727ee24018217",
1383
+ "title": "Get Workflow Version",
1384
+ "description": "Given a workflow name and graphHash, looks up the specific workflow version from the Postgres workflow database via workflowRunService.getWorkflowVersion() and returns the workflow graph definition and source code. Returns null if workflowRunService is not configured or the version is not found.",
1385
+ "isDirectFunction": false,
1386
+ "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-console/src/functions/get-workflow-version.function.ts",
1387
+ "exportedName": "getWorkflowVersion",
1388
+ "bodyStart": 12,
1389
+ "bodyEnd": 15,
1390
+ "contractHash": "a1afa3245af186ce",
1391
+ "inputHash": "4733674a",
1392
+ "outputHash": "6b9145b1"
1393
+ },
1394
+ "installAddon": {
1395
+ "pikkuFuncId": "installAddon",
1396
+ "functionType": "user",
1397
+ "funcWrapper": "pikkuFunc",
1398
+ "sessionless": false,
1399
+ "name": "installAddon",
1400
+ "services": {
1401
+ "optimized": true,
1402
+ "services": [
1403
+ "metaService"
1404
+ ]
1405
+ },
1406
+ "inputSchemaName": "InstallAddonInput",
1407
+ "outputSchemaName": "InstallAddonOutput",
1408
+ "inputs": [
1409
+ "InstallAddonInput"
1410
+ ],
1411
+ "outputs": [
1412
+ "InstallAddonOutput"
1413
+ ],
1414
+ "expose": true,
1415
+ "auth": true,
1416
+ "scopes": [
1417
+ "admin"
1418
+ ],
1419
+ "implementationHash": "f968dd4687898c9c",
1420
+ "title": "Install Addon",
1421
+ "description": "Installs a community addon package and creates the wiring file. Requires an admin session.",
1422
+ "isDirectFunction": false,
1423
+ "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-console/src/functions/install-addon.function.ts",
1424
+ "exportedName": "installAddon",
1425
+ "bodyStart": 33,
1426
+ "bodyEnd": 118,
1427
+ "contractHash": "150c3c7624b8bd6d",
1428
+ "inputHash": "b0a5b0d2",
1429
+ "outputHash": "2d935d9a"
1430
+ },
1431
+ "installOpenapiAddon": {
1432
+ "pikkuFuncId": "installOpenapiAddon",
1433
+ "functionType": "user",
1434
+ "funcWrapper": "pikkuFunc",
1435
+ "sessionless": false,
1436
+ "name": "installOpenapiAddon",
1437
+ "services": {
1438
+ "optimized": true,
1439
+ "services": [
1440
+ "metaService"
1441
+ ]
1442
+ },
1443
+ "inputSchemaName": "InstallOpenapiAddonInput",
1444
+ "outputSchemaName": "InstallOpenapiAddonOutput",
1445
+ "inputs": [
1446
+ "InstallOpenapiAddonInput"
1447
+ ],
1448
+ "outputs": [
1449
+ "InstallOpenapiAddonOutput"
1450
+ ],
1451
+ "expose": true,
1452
+ "auth": true,
1453
+ "scopes": [
1454
+ "admin"
1455
+ ],
1456
+ "implementationHash": "c2dbae6855632081",
1457
+ "title": "Install OpenAPI Addon",
1458
+ "description": "Generates an addon from an OpenAPI spec, installs it into the workspace, and wires it up.",
1459
+ "isDirectFunction": false,
1460
+ "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-console/src/functions/install-openapi-addon.function.ts",
1461
+ "exportedName": "installOpenapiAddon",
1462
+ "bodyStart": 24,
1463
+ "bodyEnd": 131,
1464
+ "contractHash": "14be886e78457f29",
1465
+ "inputHash": "e5c19fbd",
1466
+ "outputHash": "9de4b0f5"
1467
+ },
1468
+ "listWebhookDeliveries": {
1469
+ "pikkuFuncId": "listWebhookDeliveries",
1470
+ "functionType": "user",
1471
+ "funcWrapper": "pikkuFunc",
1472
+ "sessionless": false,
1473
+ "name": "listWebhookDeliveries",
1474
+ "services": {
1475
+ "optimized": true,
1476
+ "services": [
1477
+ "webhookService"
1478
+ ]
1479
+ },
1480
+ "inputSchemaName": "ListWebhookDeliveriesInput",
1481
+ "outputSchemaName": "ListWebhookDeliveriesOutput",
1482
+ "inputs": [
1483
+ "ListWebhookDeliveriesInput"
1484
+ ],
1485
+ "outputs": [
1486
+ "ListWebhookDeliveriesOutput"
1487
+ ],
1488
+ "expose": true,
1489
+ "implementationHash": "6bcf6126fbf6336d",
1490
+ "title": "List Webhook Deliveries",
1491
+ "description": "Lists outgoing webhook deliveries (most recent first), optionally scoped to an organization.",
1492
+ "isDirectFunction": false,
1493
+ "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-console/src/functions/list-webhook-deliveries.function.ts",
1494
+ "exportedName": "listWebhookDeliveries",
1495
+ "bodyStart": 13,
1496
+ "bodyEnd": 13,
1497
+ "contractHash": "a4aa94d348d78afc",
1498
+ "inputHash": "c0b15c7e",
1499
+ "outputHash": "f679e184"
1500
+ },
1501
+ "ping": {
1502
+ "pikkuFuncId": "ping",
1503
+ "functionType": "user",
1504
+ "funcWrapper": "pikkuFunc",
1505
+ "sessionless": false,
1506
+ "name": "ping",
1507
+ "services": {
1508
+ "optimized": true,
1509
+ "services": []
1510
+ },
1511
+ "inputSchemaName": null,
1512
+ "outputSchemaName": "PingOutput",
1513
+ "inputs": [],
1514
+ "outputs": [
1515
+ "PingOutput"
1516
+ ],
1517
+ "expose": true,
1518
+ "implementationHash": "f8b65cb4317cabf3",
1519
+ "title": "Ping",
1520
+ "description": "Health check endpoint for the Pikku Console.",
1521
+ "isDirectFunction": false,
1522
+ "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-console/src/functions/ping.function.ts",
1523
+ "exportedName": "ping",
1524
+ "bodyStart": 8,
1525
+ "bodyEnd": 8,
1526
+ "contractHash": "fcc0b0976330db7f",
1527
+ "inputHash": "257c0a0a",
1528
+ "outputHash": "9690bdf6"
1529
+ },
1530
+ "readAgentSource": {
1531
+ "pikkuFuncId": "readAgentSource",
1532
+ "functionType": "user",
1533
+ "funcWrapper": "pikkuFunc",
1534
+ "sessionless": false,
1535
+ "name": "readAgentSource",
1536
+ "services": {
1537
+ "optimized": true,
1538
+ "services": [
1539
+ "codeEditService"
1540
+ ]
1541
+ },
1542
+ "inputSchemaName": "ReadAgentSourceInput",
1543
+ "outputSchemaName": "ReadAgentSourceOutput",
1544
+ "inputs": [
1545
+ "ReadAgentSourceInput"
1546
+ ],
1547
+ "outputs": [
1548
+ "ReadAgentSourceOutput"
1549
+ ],
1550
+ "expose": true,
1551
+ "implementationHash": "d12de0c2a94c7e5b",
1552
+ "title": "Read Agent Source",
1553
+ "description": "Reads the source code of a pikku AI agent definition and returns its config properties.",
1554
+ "isDirectFunction": false,
1555
+ "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-console/src/functions/read-agent-source.function.ts",
1556
+ "exportedName": "readAgentSource",
1557
+ "bodyStart": 13,
1558
+ "bodyEnd": 18,
1559
+ "contractHash": "9ce87ee2b8742dfd",
1560
+ "inputHash": "83d575db",
1561
+ "outputHash": "f79bf1de"
1562
+ },
1563
+ "readFunctionBody": {
1564
+ "pikkuFuncId": "readFunctionBody",
1565
+ "functionType": "user",
1566
+ "funcWrapper": "pikkuFunc",
1567
+ "sessionless": false,
1568
+ "name": "readFunctionBody",
1569
+ "services": {
1570
+ "optimized": true,
1571
+ "services": [
1572
+ "codeEditService"
1573
+ ]
1574
+ },
1575
+ "inputSchemaName": "ReadFunctionBodyInput",
1576
+ "outputSchemaName": "ReadFunctionBodyOutput",
1577
+ "inputs": [
1578
+ "ReadFunctionBodyInput"
1579
+ ],
1580
+ "outputs": [
1581
+ "ReadFunctionBodyOutput"
1582
+ ],
1583
+ "expose": true,
1584
+ "implementationHash": "f11496021f94ed0d",
1585
+ "title": "Read Function Body",
1586
+ "description": "Reads the function body (the func: async (...) => { ... } part) from a pikku function definition.",
1587
+ "isDirectFunction": false,
1588
+ "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-console/src/functions/read-function-body.function.ts",
1589
+ "exportedName": "readFunctionBody",
1590
+ "bodyStart": 13,
1591
+ "bodyEnd": 22,
1592
+ "contractHash": "a2287f39c1eca38b",
1593
+ "inputHash": "3db64982",
1594
+ "outputHash": "3e345ceb"
1595
+ },
1596
+ "readFunctionSource": {
1597
+ "pikkuFuncId": "readFunctionSource",
1598
+ "functionType": "user",
1599
+ "funcWrapper": "pikkuFunc",
1600
+ "sessionless": false,
1601
+ "name": "readFunctionSource",
1602
+ "services": {
1603
+ "optimized": true,
1604
+ "services": [
1605
+ "codeEditService"
1606
+ ]
1607
+ },
1608
+ "inputSchemaName": "ReadFunctionSourceInput",
1609
+ "outputSchemaName": "ReadFunctionSourceOutput",
1610
+ "inputs": [
1611
+ "ReadFunctionSourceInput"
1612
+ ],
1613
+ "outputs": [
1614
+ "ReadFunctionSourceOutput"
1615
+ ],
1616
+ "expose": true,
1617
+ "implementationHash": "a534d953ed940622",
1618
+ "title": "Read Function Source",
1619
+ "description": "Reads the source code of a pikku function definition and returns its config properties and function body.",
1620
+ "isDirectFunction": false,
1621
+ "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-console/src/functions/read-function-source.function.ts",
1622
+ "exportedName": "readFunctionSource",
1623
+ "bodyStart": 13,
1624
+ "bodyEnd": 18,
1625
+ "contractHash": "2bbd984e00ace4ed",
1626
+ "inputHash": "de816393",
1627
+ "outputHash": "3689cc09"
1628
+ },
1629
+ "renderEmailPreview": {
1630
+ "pikkuFuncId": "renderEmailPreview",
1631
+ "functionType": "user",
1632
+ "funcWrapper": "pikkuFunc",
1633
+ "sessionless": false,
1634
+ "name": "renderEmailPreview",
1635
+ "services": {
1636
+ "optimized": true,
1637
+ "services": [
1638
+ "metaService"
1639
+ ]
1640
+ },
1641
+ "inputSchemaName": "RenderEmailPreviewInput",
1642
+ "outputSchemaName": "RenderEmailPreviewOutput",
1643
+ "inputs": [
1644
+ "RenderEmailPreviewInput"
1645
+ ],
1646
+ "outputs": [
1647
+ "RenderEmailPreviewOutput"
1648
+ ],
1649
+ "expose": true,
1650
+ "implementationHash": "c17cf7a14f41b9f6",
1651
+ "title": "Render Email Preview",
1652
+ "description": "Renders an email template preview from emailTemplatesDir using a locale and variable payload.",
1653
+ "isDirectFunction": false,
1654
+ "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-console/src/functions/render-email-preview.function.ts",
1655
+ "exportedName": "renderEmailPreview",
1656
+ "bodyStart": 44,
1657
+ "bodyEnd": 119,
1658
+ "contractHash": "5c0010a01eac05df",
1659
+ "inputHash": "8bb3bf2b",
1660
+ "outputHash": "ccb4573c"
1661
+ },
1662
+ "runSecurityAudit": {
1663
+ "pikkuFuncId": "runSecurityAudit",
1664
+ "functionType": "user",
1665
+ "funcWrapper": "pikkuFunc",
1666
+ "sessionless": false,
1667
+ "name": "runSecurityAudit",
1668
+ "services": {
1669
+ "optimized": true,
1670
+ "services": [
1671
+ "metaService"
1672
+ ]
1673
+ },
1674
+ "inputSchemaName": null,
1675
+ "outputSchemaName": "SecurityAuditReport",
1676
+ "inputs": [],
1677
+ "outputs": [
1678
+ "SecurityAuditReport"
1679
+ ],
1680
+ "expose": true,
1681
+ "implementationHash": "1f6bfefb68cebcfe",
1682
+ "title": "Run Security Audit",
1683
+ "description": "Runs `pikku audit --outdated`, regenerating .pikku/audit.json, and returns the fresh report. Mirrors the Run Tests action.",
1684
+ "isDirectFunction": false,
1685
+ "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-console/src/functions/run-security-audit.function.ts",
1686
+ "exportedName": "runSecurityAudit",
1687
+ "bodyStart": 15,
1688
+ "bodyEnd": 23,
1689
+ "contractHash": "6349c4e3d5494a15",
1690
+ "inputHash": "b49cd137",
1691
+ "outputHash": "1cca48c8"
1692
+ },
1693
+ "scopeAddScopeToUser": {
1694
+ "pikkuFuncId": "scopeAddScopeToUser",
1695
+ "functionType": "user",
1696
+ "funcWrapper": "pikkuFunc",
1697
+ "sessionless": false,
1698
+ "name": "scopeAddScopeToUser",
1699
+ "services": {
1700
+ "optimized": true,
1701
+ "services": [
1702
+ "scopeService"
1703
+ ]
1704
+ },
1705
+ "wires": {
1706
+ "optimized": true,
1707
+ "wires": [
1708
+ "session"
1709
+ ]
1710
+ },
1711
+ "inputSchemaName": "ScopeAddScopeToUserInput",
1712
+ "outputSchemaName": "ScopeAddScopeToUserOutput",
1713
+ "inputs": [
1714
+ "ScopeAddScopeToUserInput"
1715
+ ],
1716
+ "outputs": [
1717
+ "ScopeAddScopeToUserOutput"
1718
+ ],
1719
+ "expose": true,
1720
+ "scopes": [
1721
+ "pikku:scopes:manage"
1722
+ ],
1723
+ "implementationHash": "002c9dc1e8a4257e",
1724
+ "title": "Grant Scope",
1725
+ "description": "Grants a scope directly to a user, outside of any role. Takes effect on their next request — no re-login.",
1726
+ "isDirectFunction": false,
1727
+ "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-console/src/functions/scope-add-scope-to-user.function.ts",
1728
+ "exportedName": "scopeAddScopeToUser",
1729
+ "bodyStart": 13,
1730
+ "bodyEnd": 14,
1731
+ "contractHash": "e2191335667bf9c3",
1732
+ "inputHash": "e0bdcc51",
1733
+ "outputHash": "dbe52008"
1734
+ },
1735
+ "scopeAddUserToRole": {
1736
+ "pikkuFuncId": "scopeAddUserToRole",
1737
+ "functionType": "user",
1738
+ "funcWrapper": "pikkuFunc",
1739
+ "sessionless": false,
1740
+ "name": "scopeAddUserToRole",
1741
+ "services": {
1742
+ "optimized": true,
1743
+ "services": [
1744
+ "scopeService"
1745
+ ]
1746
+ },
1747
+ "wires": {
1748
+ "optimized": true,
1749
+ "wires": [
1750
+ "session"
1751
+ ]
1752
+ },
1753
+ "inputSchemaName": "ScopeAddUserToRoleInput",
1754
+ "outputSchemaName": "ScopeAddUserToRoleOutput",
1755
+ "inputs": [
1756
+ "ScopeAddUserToRoleInput"
1757
+ ],
1758
+ "outputs": [
1759
+ "ScopeAddUserToRoleOutput"
1760
+ ],
1761
+ "expose": true,
1762
+ "scopes": [
1763
+ "pikku:scopes:manage"
1764
+ ],
1765
+ "implementationHash": "e3220612ac3b71f0",
1766
+ "title": "Grant Role",
1767
+ "description": "Grants a role to a user. Takes effect on their next request — no re-login.",
1768
+ "isDirectFunction": false,
1769
+ "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-console/src/functions/scope-add-user-to-role.function.ts",
1770
+ "exportedName": "scopeAddUserToRole",
1771
+ "bodyStart": 13,
1772
+ "bodyEnd": 14,
1773
+ "contractHash": "e1a91b09f95f4543",
1774
+ "inputHash": "64fc33b0",
1775
+ "outputHash": "90198208"
1776
+ },
1777
+ "scopeCreateRole": {
1778
+ "pikkuFuncId": "scopeCreateRole",
1779
+ "functionType": "user",
1780
+ "funcWrapper": "pikkuFunc",
1781
+ "sessionless": false,
1782
+ "name": "scopeCreateRole",
1783
+ "services": {
1784
+ "optimized": true,
1785
+ "services": [
1786
+ "scopeService"
1787
+ ]
1788
+ },
1789
+ "inputSchemaName": "ScopeCreateRoleInput",
1790
+ "outputSchemaName": "ScopeCreateRoleOutput",
1791
+ "inputs": [
1792
+ "ScopeCreateRoleInput"
1793
+ ],
1794
+ "outputs": [
1795
+ "ScopeCreateRoleOutput"
1796
+ ],
1797
+ "expose": true,
1798
+ "scopes": [
1799
+ "pikku:scopes:manage"
1800
+ ],
1801
+ "implementationHash": "45f25f430b016391",
1802
+ "title": "Create Role",
1803
+ "description": "Creates a role granting the given scopes.",
1804
+ "isDirectFunction": false,
1805
+ "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-console/src/functions/scope-create-role.function.ts",
1806
+ "exportedName": "scopeCreateRole",
1807
+ "bodyStart": 14,
1808
+ "bodyEnd": 15,
1809
+ "contractHash": "223589f5814400ee",
1810
+ "inputHash": "5bac8a6a",
1811
+ "outputHash": "354cac09"
1812
+ },
1813
+ "scopeDeleteRole": {
1814
+ "pikkuFuncId": "scopeDeleteRole",
1815
+ "functionType": "user",
1816
+ "funcWrapper": "pikkuFunc",
1817
+ "sessionless": false,
1818
+ "name": "scopeDeleteRole",
1819
+ "services": {
1820
+ "optimized": true,
1821
+ "services": [
1822
+ "scopeService"
1823
+ ]
1824
+ },
1825
+ "inputSchemaName": "ScopeDeleteRoleInput",
1826
+ "outputSchemaName": "ScopeDeleteRoleOutput",
1827
+ "inputs": [
1828
+ "ScopeDeleteRoleInput"
1829
+ ],
1830
+ "outputs": [
1831
+ "ScopeDeleteRoleOutput"
1832
+ ],
1833
+ "expose": true,
1834
+ "scopes": [
1835
+ "pikku:scopes:manage"
1836
+ ],
1837
+ "implementationHash": "f9516dbb94675ccf",
1838
+ "title": "Delete Role",
1839
+ "description": "Deletes a role, revoking it from every user who holds it.",
1840
+ "isDirectFunction": false,
1841
+ "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-console/src/functions/scope-delete-role.function.ts",
1842
+ "exportedName": "scopeDeleteRole",
1843
+ "bodyStart": 12,
1844
+ "bodyEnd": 13,
1845
+ "contractHash": "d318f71c80dc063b",
1846
+ "inputHash": "2b3000d3",
1847
+ "outputHash": "97f5cc49"
1848
+ },
1849
+ "scopeListDeclared": {
1850
+ "pikkuFuncId": "scopeListDeclared",
1851
+ "functionType": "user",
1852
+ "funcWrapper": "pikkuFunc",
1853
+ "sessionless": false,
1854
+ "name": "scopeListDeclared",
1855
+ "services": {
1856
+ "optimized": true,
1857
+ "services": [
1858
+ "scopeService"
1859
+ ]
1860
+ },
1861
+ "inputSchemaName": null,
1862
+ "outputSchemaName": "ScopeListDeclaredOutput",
1863
+ "inputs": [],
1864
+ "outputs": [
1865
+ "ScopeListDeclaredOutput"
1866
+ ],
1867
+ "expose": true,
1868
+ "scopes": [
1869
+ "pikku:scopes:read"
1870
+ ],
1871
+ "implementationHash": "5e78c244ddf2cfc9",
1872
+ "title": "List Declared Scopes",
1873
+ "description": "Lists the scope vocabulary a role can be composed from, flagging any that are no longer declared in code.",
1874
+ "isDirectFunction": false,
1875
+ "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-console/src/functions/scope-list-declared.function.ts",
1876
+ "exportedName": "scopeListDeclared",
1877
+ "bodyStart": 24,
1878
+ "bodyEnd": 29,
1879
+ "contractHash": "46fe9e75e9ee89e8",
1880
+ "inputHash": "cdcd8b82",
1881
+ "outputHash": "e340c17d"
1882
+ },
1883
+ "scopeListRoles": {
1884
+ "pikkuFuncId": "scopeListRoles",
1885
+ "functionType": "user",
1886
+ "funcWrapper": "pikkuFunc",
1887
+ "sessionless": false,
1888
+ "name": "scopeListRoles",
1889
+ "services": {
1890
+ "optimized": true,
1891
+ "services": [
1892
+ "scopeService"
1893
+ ]
1894
+ },
1895
+ "inputSchemaName": null,
1896
+ "outputSchemaName": "ScopeListRolesOutput",
1897
+ "inputs": [],
1898
+ "outputs": [
1899
+ "ScopeListRolesOutput"
1900
+ ],
1901
+ "expose": true,
1902
+ "scopes": [
1903
+ "pikku:scopes:read"
1904
+ ],
1905
+ "implementationHash": "33c3e6c254694e00",
1906
+ "title": "List Roles",
1907
+ "description": "Lists every role and the scopes it grants.",
1908
+ "isDirectFunction": false,
1909
+ "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-console/src/functions/scope-list-roles.function.ts",
1910
+ "exportedName": "scopeListRoles",
1911
+ "bodyStart": 10,
1912
+ "bodyEnd": 13,
1913
+ "contractHash": "b5dbd2d51b18edaf",
1914
+ "inputHash": "f9028549",
1915
+ "outputHash": "3c78768a"
1916
+ },
1917
+ "scopeListUserRoles": {
1918
+ "pikkuFuncId": "scopeListUserRoles",
1919
+ "functionType": "user",
1920
+ "funcWrapper": "pikkuFunc",
1921
+ "sessionless": false,
1922
+ "name": "scopeListUserRoles",
1923
+ "services": {
1924
+ "optimized": true,
1925
+ "services": [
1926
+ "scopeService"
1927
+ ]
1928
+ },
1929
+ "inputSchemaName": "ScopeListUserRolesInput",
1930
+ "outputSchemaName": "ScopeListUserRolesOutput",
1931
+ "inputs": [
1932
+ "ScopeListUserRolesInput"
1933
+ ],
1934
+ "outputs": [
1935
+ "ScopeListUserRolesOutput"
1936
+ ],
1937
+ "expose": true,
1938
+ "scopes": [
1939
+ "pikku:scopes:read"
1940
+ ],
1941
+ "implementationHash": "f2324450cb109255",
1942
+ "title": "List User Roles",
1943
+ "description": "Lists the roles a user holds, the scopes granted to them directly, and the full set those resolve to.",
1944
+ "isDirectFunction": false,
1945
+ "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-console/src/functions/scope-list-user-roles.function.ts",
1946
+ "exportedName": "scopeListUserRoles",
1947
+ "bodyStart": 13,
1948
+ "bodyEnd": 27,
1949
+ "contractHash": "56767e69aab89b76",
1950
+ "inputHash": "de5d4fe8",
1951
+ "outputHash": "df994c3c"
1952
+ },
1953
+ "scopeRemoveScopeFromUser": {
1954
+ "pikkuFuncId": "scopeRemoveScopeFromUser",
1955
+ "functionType": "user",
1956
+ "funcWrapper": "pikkuFunc",
1957
+ "sessionless": false,
1958
+ "name": "scopeRemoveScopeFromUser",
1959
+ "services": {
1960
+ "optimized": true,
1961
+ "services": [
1962
+ "scopeService"
1963
+ ]
1964
+ },
1965
+ "inputSchemaName": "ScopeRemoveScopeFromUserInput",
1966
+ "outputSchemaName": "ScopeRemoveScopeFromUserOutput",
1967
+ "inputs": [
1968
+ "ScopeRemoveScopeFromUserInput"
1969
+ ],
1970
+ "outputs": [
1971
+ "ScopeRemoveScopeFromUserOutput"
1972
+ ],
1973
+ "expose": true,
1974
+ "scopes": [
1975
+ "pikku:scopes:manage"
1976
+ ],
1977
+ "implementationHash": "12f59a9c18110346",
1978
+ "title": "Revoke Scope",
1979
+ "description": "Revokes a directly-granted scope from a user. Takes effect on their next request — no re-login.",
1980
+ "isDirectFunction": false,
1981
+ "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-console/src/functions/scope-remove-scope-from-user.function.ts",
1982
+ "exportedName": "scopeRemoveScopeFromUser",
1983
+ "bodyStart": 13,
1984
+ "bodyEnd": 14,
1985
+ "contractHash": "4a89ae3d7f60f261",
1986
+ "inputHash": "3dd862ea",
1987
+ "outputHash": "75db1af4"
1988
+ },
1989
+ "scopeRemoveUserFromRole": {
1990
+ "pikkuFuncId": "scopeRemoveUserFromRole",
1991
+ "functionType": "user",
1992
+ "funcWrapper": "pikkuFunc",
1993
+ "sessionless": false,
1994
+ "name": "scopeRemoveUserFromRole",
1995
+ "services": {
1996
+ "optimized": true,
1997
+ "services": [
1998
+ "scopeService"
1999
+ ]
2000
+ },
2001
+ "inputSchemaName": "ScopeRemoveUserFromRoleInput",
2002
+ "outputSchemaName": "ScopeRemoveUserFromRoleOutput",
2003
+ "inputs": [
2004
+ "ScopeRemoveUserFromRoleInput"
2005
+ ],
2006
+ "outputs": [
2007
+ "ScopeRemoveUserFromRoleOutput"
2008
+ ],
2009
+ "expose": true,
2010
+ "scopes": [
2011
+ "pikku:scopes:manage"
2012
+ ],
2013
+ "implementationHash": "587c657823eb1305",
2014
+ "title": "Revoke Role",
2015
+ "description": "Revokes a role from a user. Takes effect on their next request — no re-login.",
2016
+ "isDirectFunction": false,
2017
+ "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-console/src/functions/scope-remove-user-from-role.function.ts",
2018
+ "exportedName": "scopeRemoveUserFromRole",
2019
+ "bodyStart": 13,
2020
+ "bodyEnd": 14,
2021
+ "contractHash": "64f00972592ec04a",
2022
+ "inputHash": "ce192b8a",
2023
+ "outputHash": "c17da240"
2024
+ },
2025
+ "scopeSetRoleScopes": {
2026
+ "pikkuFuncId": "scopeSetRoleScopes",
2027
+ "functionType": "user",
2028
+ "funcWrapper": "pikkuFunc",
2029
+ "sessionless": false,
2030
+ "name": "scopeSetRoleScopes",
2031
+ "services": {
2032
+ "optimized": true,
2033
+ "services": [
2034
+ "scopeService"
2035
+ ]
2036
+ },
2037
+ "inputSchemaName": "ScopeSetRoleScopesInput",
2038
+ "outputSchemaName": "ScopeSetRoleScopesOutput",
2039
+ "inputs": [
2040
+ "ScopeSetRoleScopesInput"
2041
+ ],
2042
+ "outputs": [
2043
+ "ScopeSetRoleScopesOutput"
2044
+ ],
2045
+ "expose": true,
2046
+ "scopes": [
2047
+ "pikku:scopes:manage"
2048
+ ],
2049
+ "implementationHash": "532b53bf687f51fb",
2050
+ "title": "Set Role Scopes",
2051
+ "description": "Replaces the scopes a role grants. Users holding it see the change on their next request.",
2052
+ "isDirectFunction": false,
2053
+ "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-console/src/functions/scope-set-role-scopes.function.ts",
2054
+ "exportedName": "scopeSetRoleScopes",
2055
+ "bodyStart": 13,
2056
+ "bodyEnd": 14,
2057
+ "contractHash": "3c72002e096bedd7",
2058
+ "inputHash": "9db02d43",
2059
+ "outputHash": "c6ce28cf"
2060
+ },
2061
+ "streamWorkflowRun": {
2062
+ "pikkuFuncId": "streamWorkflowRun",
2063
+ "functionType": "user",
2064
+ "funcWrapper": "pikkuSessionlessFunc",
2065
+ "sessionless": true,
2066
+ "name": "streamWorkflowRun",
2067
+ "services": {
2068
+ "optimized": true,
2069
+ "services": [
2070
+ "workflowRunService"
2071
+ ]
2072
+ },
2073
+ "wires": {
2074
+ "optimized": true,
2075
+ "wires": [
2076
+ "channel"
2077
+ ]
2078
+ },
2079
+ "inputSchemaName": "StreamWorkflowRunInput",
2080
+ "outputSchemaName": null,
2081
+ "inputs": [
2082
+ "StreamWorkflowRunInput"
2083
+ ],
2084
+ "outputs": [],
2085
+ "implementationHash": "7facb8afed01d7ab",
2086
+ "title": "Stream Workflow Run",
2087
+ "description": "SSE stream of workflow run status and step state changes.",
2088
+ "isDirectFunction": false,
2089
+ "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-console/src/functions/stream-workflow-run.function.ts",
2090
+ "exportedName": "streamWorkflowRun",
2091
+ "bodyStart": 9,
2092
+ "bodyEnd": 49,
2093
+ "contractHash": "1dc21fdc8c6d42b2",
2094
+ "inputHash": "e98b5c8e",
2095
+ "outputHash": "20fdee07"
2096
+ },
2097
+ "updateAgentConfig": {
2098
+ "pikkuFuncId": "updateAgentConfig",
2099
+ "functionType": "user",
2100
+ "funcWrapper": "pikkuFunc",
2101
+ "sessionless": false,
2102
+ "name": "updateAgentConfig",
2103
+ "services": {
2104
+ "optimized": true,
2105
+ "services": [
2106
+ "codeEditService"
2107
+ ]
2108
+ },
2109
+ "inputSchemaName": "UpdateAgentConfigInput",
2110
+ "outputSchemaName": "UpdateAgentConfigOutput",
2111
+ "inputs": [
2112
+ "UpdateAgentConfigInput"
2113
+ ],
2114
+ "outputs": [
2115
+ "UpdateAgentConfigOutput"
2116
+ ],
2117
+ "expose": true,
2118
+ "implementationHash": "cdf5448c905d79af",
2119
+ "title": "Update Agent Config",
2120
+ "description": "Updates the config properties of a pikku AI agent definition in source code and triggers a rebuild.",
2121
+ "isDirectFunction": false,
2122
+ "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-console/src/functions/update-agent-config.function.ts",
2123
+ "exportedName": "updateAgentConfig",
2124
+ "bodyStart": 18,
2125
+ "bodyEnd": 24,
2126
+ "contractHash": "7914f6c21b43fab6",
2127
+ "inputHash": "bf627fe1",
2128
+ "outputHash": "bbec71d0"
2129
+ },
2130
+ "updateDependency": {
2131
+ "pikkuFuncId": "updateDependency",
2132
+ "functionType": "user",
2133
+ "funcWrapper": "pikkuFunc",
2134
+ "sessionless": false,
2135
+ "name": "updateDependency",
2136
+ "services": {
2137
+ "optimized": true,
2138
+ "services": [
2139
+ "metaService"
2140
+ ]
2141
+ },
2142
+ "inputSchemaName": "UpdateDependencyInput",
2143
+ "outputSchemaName": "SecurityAuditReport",
2144
+ "inputs": [
2145
+ "UpdateDependencyInput"
2146
+ ],
2147
+ "outputs": [
2148
+ "SecurityAuditReport"
2149
+ ],
2150
+ "expose": true,
2151
+ "implementationHash": "503840d691b65285",
2152
+ "title": "Update Dependency",
2153
+ "description": "Bumps a dependency to the given version in package.json, runs `bun install`, re-runs `pikku audit`, and returns the refreshed report. The mechanical (free) remediation — it does NOT run the app or verify anything still works.",
2154
+ "isDirectFunction": false,
2155
+ "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-console/src/functions/update-dependency.function.ts",
2156
+ "exportedName": "updateDependency",
2157
+ "bodyStart": 55,
2158
+ "bodyEnd": 80,
2159
+ "contractHash": "ee4066b2bd89d13b",
2160
+ "inputHash": "e06e601c",
2161
+ "outputHash": "99d1bee1"
2162
+ },
2163
+ "updateEmailTemplate": {
2164
+ "pikkuFuncId": "updateEmailTemplate",
2165
+ "functionType": "user",
2166
+ "funcWrapper": "pikkuFunc",
2167
+ "sessionless": false,
2168
+ "name": "updateEmailTemplate",
2169
+ "services": {
2170
+ "optimized": true,
2171
+ "services": [
2172
+ "metaService",
2173
+ "codeEditService"
2174
+ ]
2175
+ },
2176
+ "inputSchemaName": "UpdateEmailTemplateInput",
2177
+ "outputSchemaName": "UpdateEmailTemplateOutput",
2178
+ "inputs": [
2179
+ "UpdateEmailTemplateInput"
2180
+ ],
2181
+ "outputs": [
2182
+ "UpdateEmailTemplateOutput"
2183
+ ],
2184
+ "expose": true,
2185
+ "implementationHash": "4a2441228957cd55",
2186
+ "title": "Update Email Template",
2187
+ "description": "Overwrites an email template HTML source file (templates/<name>.html) so small edits can be made from the console.",
2188
+ "isDirectFunction": false,
2189
+ "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-console/src/functions/update-email-template.function.ts",
2190
+ "exportedName": "updateEmailTemplate",
2191
+ "bodyStart": 17,
2192
+ "bodyEnd": 36,
2193
+ "contractHash": "46dfb6154b42f5ab",
2194
+ "inputHash": "906d8ace",
2195
+ "outputHash": "70750a6d"
2196
+ },
2197
+ "updateFunctionBody": {
2198
+ "pikkuFuncId": "updateFunctionBody",
2199
+ "functionType": "user",
2200
+ "funcWrapper": "pikkuFunc",
2201
+ "sessionless": false,
2202
+ "name": "updateFunctionBody",
2203
+ "services": {
2204
+ "optimized": true,
2205
+ "services": [
2206
+ "codeEditService"
2207
+ ]
2208
+ },
2209
+ "inputSchemaName": "UpdateFunctionBodyInput",
2210
+ "outputSchemaName": "UpdateFunctionBodyOutput",
2211
+ "inputs": [
2212
+ "UpdateFunctionBodyInput"
2213
+ ],
2214
+ "outputs": [
2215
+ "UpdateFunctionBodyOutput"
2216
+ ],
2217
+ "expose": true,
2218
+ "implementationHash": "3001bc333b44c279",
2219
+ "title": "Update Function Body",
2220
+ "description": "Replaces the function body of a pikku function definition in source code and triggers a rebuild.",
2221
+ "isDirectFunction": false,
2222
+ "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-console/src/functions/update-function-body.function.ts",
2223
+ "exportedName": "updateFunctionBody",
2224
+ "bodyStart": 17,
2225
+ "bodyEnd": 23,
2226
+ "contractHash": "9dc1d4a5073b638e",
2227
+ "inputHash": "427fe696",
2228
+ "outputHash": "b13cf220"
2229
+ },
2230
+ "updateFunctionConfig": {
2231
+ "pikkuFuncId": "updateFunctionConfig",
2232
+ "functionType": "user",
2233
+ "funcWrapper": "pikkuFunc",
2234
+ "sessionless": false,
2235
+ "name": "updateFunctionConfig",
2236
+ "services": {
2237
+ "optimized": true,
2238
+ "services": [
2239
+ "codeEditService"
2240
+ ]
2241
+ },
2242
+ "inputSchemaName": "UpdateFunctionConfigInput",
2243
+ "outputSchemaName": "UpdateFunctionConfigOutput",
2244
+ "inputs": [
2245
+ "UpdateFunctionConfigInput"
2246
+ ],
2247
+ "outputs": [
2248
+ "UpdateFunctionConfigOutput"
2249
+ ],
2250
+ "expose": true,
2251
+ "implementationHash": "48e28b2888b17755",
2252
+ "title": "Update Function Config",
2253
+ "description": "Updates the config properties of a pikku function definition in source code and triggers a rebuild.",
2254
+ "isDirectFunction": false,
2255
+ "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-console/src/functions/update-function-config.function.ts",
2256
+ "exportedName": "updateFunctionConfig",
2257
+ "bodyStart": 18,
2258
+ "bodyEnd": 28,
2259
+ "contractHash": "2e204aca2e325395",
2260
+ "inputHash": "9cdb162e",
2261
+ "outputHash": "223c95b6"
2262
+ }
2263
+ }