@pikku/addon-console 0.12.34 → 0.12.36

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 (123) hide show
  1. package/dist/.pikku/addon/pikku-addon-types.gen.d.ts +1 -1
  2. package/dist/.pikku/addon/pikku-addon-types.gen.js +1 -1
  3. package/dist/.pikku/addon/pikku-package.gen.js +1 -1
  4. package/dist/.pikku/agent/pikku-agent-map.gen.d.ts +1 -1
  5. package/dist/.pikku/agent/pikku-agent-types.gen.d.ts +1 -1
  6. package/dist/.pikku/auth/auth.types.d.ts +1 -1
  7. package/dist/.pikku/auth/auth.types.js +1 -1
  8. package/dist/.pikku/channel/pikku-channel-types.gen.d.ts +1 -1
  9. package/dist/.pikku/channel/pikku-channel-types.gen.js +1 -1
  10. package/dist/.pikku/console/pikku-node-types.gen.d.ts +1 -1
  11. package/dist/.pikku/function/pikku-function-types.gen.d.ts +55 -20
  12. package/dist/.pikku/function/pikku-function-types.gen.d.ts.map +1 -1
  13. package/dist/.pikku/function/pikku-function-types.gen.js +27 -1
  14. package/dist/.pikku/function/pikku-function-types.gen.js.map +1 -1
  15. package/dist/.pikku/function/pikku-functions-meta-verbose.gen.json +2184 -0
  16. package/dist/.pikku/function/pikku-functions-meta.gen.js +1 -1
  17. package/dist/.pikku/function/pikku-functions-meta.gen.json +35 -27
  18. package/dist/.pikku/function/pikku-functions.gen.js +1 -1
  19. package/dist/.pikku/http/pikku-http-types.gen.d.ts +1 -1
  20. package/dist/.pikku/http/pikku-http-types.gen.js +1 -1
  21. package/dist/.pikku/mcp/pikku-mcp-types.gen.d.ts +1 -1
  22. package/dist/.pikku/mcp/pikku-mcp-types.gen.js +1 -1
  23. package/dist/.pikku/pikku-bootstrap-scenarios.gen.d.ts +1 -1
  24. package/dist/.pikku/pikku-bootstrap-scenarios.gen.js +1 -1
  25. package/dist/.pikku/pikku-bootstrap.gen.d.ts +1 -1
  26. package/dist/.pikku/pikku-bootstrap.gen.js +1 -1
  27. package/dist/.pikku/pikku-meta-service.gen.d.ts +1 -1
  28. package/dist/.pikku/pikku-meta-service.gen.js +1 -1
  29. package/dist/.pikku/pikku-services.gen.d.ts +1 -1
  30. package/dist/.pikku/pikku-types.gen.d.ts +1 -1
  31. package/dist/.pikku/pikku-types.gen.js +1 -1
  32. package/dist/.pikku/queue/pikku-queue-types.gen.d.ts +1 -1
  33. package/dist/.pikku/queue/pikku-queue-types.gen.js +1 -1
  34. package/dist/.pikku/rpc/pikku-rpc-wirings-map.gen.d.ts +2 -1
  35. package/dist/.pikku/rpc/pikku-rpc-wirings-map.internal.gen.d.ts +2 -1
  36. package/dist/.pikku/rpc/pikku-rpc-wirings-map.remote.gen.d.ts +2 -1
  37. package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.js +1 -1
  38. package/dist/.pikku/scenarios/pikku-scenario-functions-meta.gen.js +1 -1
  39. package/dist/.pikku/scenarios/pikku-scenario-functions.gen.d.ts +1 -1
  40. package/dist/.pikku/scenarios/pikku-scenario-wirings-meta.gen.js +1 -1
  41. package/dist/.pikku/scenarios/pikku-scenario-wirings.gen.d.ts +1 -1
  42. package/dist/.pikku/scenarios/schemas/register.gen.d.ts +1 -1
  43. package/dist/.pikku/scenarios/schemas/register.gen.js +1 -1
  44. package/dist/.pikku/scheduler/pikku-scheduler-types.gen.d.ts +1 -1
  45. package/dist/.pikku/scheduler/pikku-scheduler-types.gen.js +1 -1
  46. package/dist/.pikku/schemas/register.gen.js +1 -1
  47. package/dist/.pikku/schemas/schemas/AddonMetaPage.schema.json +1 -1
  48. package/dist/.pikku/schemas/schemas/AddonPackageInfo.schema.json +1 -1
  49. package/dist/.pikku/schemas/schemas/AllMeta.schema.json +1 -1
  50. package/dist/.pikku/schemas/schemas/GetFunctionsMetaOutput.schema.json +1 -1
  51. package/dist/.pikku/schemas/schemas/GetWorkflowMetaByIdOutput.schema.json +1 -1
  52. package/dist/.pikku/schemas/schemas/ListWebhookDeliveriesOutput.schema.json +1 -1
  53. package/dist/.pikku/schemas/schemas/ScopeListRolesOutput.schema.json +1 -1
  54. package/dist/.pikku/schemas/schemas/SecurityAuditReport.schema.json +1 -1
  55. package/dist/.pikku/schemas/schemas/WebhookDeliveryWithAttempts.schema.json +1 -1
  56. package/dist/.pikku/scopes/pikku-personas-meta.gen.json +1 -0
  57. package/dist/.pikku/scopes/pikku-personas.gen.d.ts +37 -0
  58. package/dist/.pikku/scopes/pikku-personas.gen.d.ts.map +1 -0
  59. package/dist/.pikku/scopes/pikku-personas.gen.js +18 -0
  60. package/dist/.pikku/scopes/pikku-personas.gen.js.map +1 -0
  61. package/dist/.pikku/scopes/pikku-roles-meta.gen.json +1 -0
  62. package/dist/.pikku/scopes/pikku-roles.gen.d.ts +31 -0
  63. package/dist/.pikku/scopes/pikku-roles.gen.d.ts.map +1 -0
  64. package/dist/.pikku/scopes/pikku-roles.gen.js +19 -0
  65. package/dist/.pikku/scopes/pikku-roles.gen.js.map +1 -0
  66. package/dist/.pikku/scopes/pikku-scope-types.gen.d.ts +4 -2
  67. package/dist/.pikku/scopes/pikku-scope-types.gen.d.ts.map +1 -1
  68. package/dist/.pikku/scopes/pikku-scope-types.gen.js +3 -2
  69. package/dist/.pikku/scopes/pikku-scope-types.gen.js.map +1 -1
  70. package/dist/.pikku/scopes/pikku-scopes.gen.d.ts +1 -1
  71. package/dist/.pikku/secrets/pikku-secret-types.gen.d.ts +2 -2
  72. package/dist/.pikku/secrets/pikku-secret-types.gen.d.ts.map +1 -1
  73. package/dist/.pikku/secrets/pikku-secret-types.gen.js +2 -2
  74. package/dist/.pikku/secrets/pikku-secret-types.gen.js.map +1 -1
  75. package/dist/.pikku/secrets/pikku-secrets.gen.d.ts +1 -1
  76. package/dist/.pikku/secrets/pikku-secrets.gen.js +1 -1
  77. package/dist/.pikku/trigger/pikku-trigger-types.gen.d.ts +1 -1
  78. package/dist/.pikku/trigger/pikku-trigger-types.gen.js +1 -1
  79. package/dist/.pikku/variables/pikku-variable-types.gen.d.ts +2 -2
  80. package/dist/.pikku/variables/pikku-variable-types.gen.d.ts.map +1 -1
  81. package/dist/.pikku/variables/pikku-variable-types.gen.js +2 -2
  82. package/dist/.pikku/variables/pikku-variable-types.gen.js.map +1 -1
  83. package/dist/.pikku/variables/pikku-variables.gen.d.ts +1 -1
  84. package/dist/.pikku/variables/pikku-variables.gen.js +1 -1
  85. package/dist/.pikku/workflow/pikku-personas.gen.d.ts +16 -0
  86. package/dist/.pikku/workflow/pikku-personas.gen.d.ts.map +1 -0
  87. package/dist/.pikku/workflow/pikku-personas.gen.js +18 -0
  88. package/dist/.pikku/workflow/pikku-personas.gen.js.map +1 -0
  89. package/dist/.pikku/workflow/pikku-scenario-step-map.gen.d.ts +1 -1
  90. package/dist/.pikku/workflow/pikku-workflow-map.gen.d.ts +1 -1
  91. package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts +96 -19
  92. package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts.map +1 -1
  93. package/dist/.pikku/workflow/pikku-workflow-types.gen.js +22 -2
  94. package/dist/.pikku/workflow/pikku-workflow-types.gen.js.map +1 -1
  95. package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.js +1 -1
  96. package/dist/.pikku/workflow/pikku-workflow-wirings.gen.d.ts +1 -1
  97. package/dist/.pikku/workflow/pikku-workflow-wirings.gen.js +1 -1
  98. package/dist/src/functions/get-agent-threads.function.d.ts.map +1 -1
  99. package/dist/src/functions/get-agent-threads.function.js +9 -2
  100. package/dist/src/functions/get-agent-threads.function.js.map +1 -1
  101. package/dist/src/functions/get-agent-threads.function.test.d.ts +2 -0
  102. package/dist/src/functions/get-agent-threads.function.test.d.ts.map +1 -0
  103. package/dist/src/functions/get-agent-threads.function.test.js +52 -0
  104. package/dist/src/functions/get-agent-threads.function.test.js.map +1 -0
  105. package/dist/src/functions/install-addon.function.d.ts.map +1 -1
  106. package/dist/src/functions/install-addon.function.js +3 -2
  107. package/dist/src/functions/install-addon.function.js.map +1 -1
  108. package/dist/src/functions/install-addon.function.test.d.ts +2 -0
  109. package/dist/src/functions/install-addon.function.test.d.ts.map +1 -0
  110. package/dist/src/functions/install-addon.function.test.js +28 -0
  111. package/dist/src/functions/install-addon.function.test.js.map +1 -0
  112. package/dist/src/functions/install-openapi-addon.function.d.ts.map +1 -1
  113. package/dist/src/functions/install-openapi-addon.function.js +2 -1
  114. package/dist/src/functions/install-openapi-addon.function.js.map +1 -1
  115. package/dist/src/scopes.js +3 -3
  116. package/dist/src/scopes.js.map +1 -1
  117. package/dist/src/services/wiring.service.d.ts +11 -6
  118. package/dist/src/services/wiring.service.d.ts.map +1 -1
  119. package/dist/src/services/wiring.service.js +5 -3
  120. package/dist/src/services/wiring.service.js.map +1 -1
  121. package/dist/src/services/wiring.service.test.js +2 -0
  122. package/dist/src/services/wiring.service.test.js.map +1 -1
  123. package/package.json +8 -8
@@ -0,0 +1,2184 @@
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": "531a6de4b4a63158",
430
+ "inputHash": "bc3bf42d",
431
+ "outputHash": "978afe1a"
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": "f9f5d8476eddfff9",
463
+ "inputHash": "450acb95",
464
+ "outputHash": "0a7a6028"
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": "53c0437bf4e445e4",
599
+ "inputHash": "bf06e182",
600
+ "outputHash": "8fe022a6"
601
+ },
602
+ "getAuthProviders": {
603
+ "pikkuFuncId": "getAuthProviders",
604
+ "functionType": "user",
605
+ "funcWrapper": "pikkuFunc",
606
+ "sessionless": false,
607
+ "name": "getAuthProviders",
608
+ "services": {
609
+ "optimized": true,
610
+ "services": [
611
+ "metaService"
612
+ ]
613
+ },
614
+ "inputSchemaName": null,
615
+ "outputSchemaName": "AuthProvidersMeta",
616
+ "inputs": [],
617
+ "outputs": [
618
+ "AuthProvidersMeta"
619
+ ],
620
+ "expose": true,
621
+ "implementationHash": "28d47382959b8d6b",
622
+ "title": "Get Auth Providers",
623
+ "description": "Returns the social providers and plugins configured via pikkuBetterAuth(), read from the generated auth-meta.gen.json.",
624
+ "isDirectFunction": false,
625
+ "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-console/src/functions/get-auth-providers.function.ts",
626
+ "exportedName": "getAuthProviders",
627
+ "bodyStart": 49,
628
+ "bodyEnd": 49,
629
+ "contractHash": "206e6e045002b418",
630
+ "inputHash": "1d94c8c3",
631
+ "outputHash": "280a6c55"
632
+ },
633
+ "getChannelSnippets": {
634
+ "pikkuFuncId": "getChannelSnippets",
635
+ "functionType": "user",
636
+ "funcWrapper": "pikkuFunc",
637
+ "sessionless": false,
638
+ "name": "getChannelSnippets",
639
+ "services": {
640
+ "optimized": true,
641
+ "services": [
642
+ "metaService",
643
+ "wiringService"
644
+ ]
645
+ },
646
+ "inputSchemaName": "GetChannelSnippetsInput",
647
+ "outputSchemaName": "ChannelSnippets",
648
+ "inputs": [
649
+ "GetChannelSnippetsInput"
650
+ ],
651
+ "outputs": [
652
+ "ChannelSnippets"
653
+ ],
654
+ "expose": true,
655
+ "implementationHash": "28466fe6c70c1f0b",
656
+ "title": "Get Channel Snippets",
657
+ "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.",
658
+ "isDirectFunction": false,
659
+ "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-console/src/functions/get-channel-snippets.function.ts",
660
+ "exportedName": "getChannelSnippets",
661
+ "bodyStart": 14,
662
+ "bodyEnd": 17,
663
+ "contractHash": "f29c66bdcc7eefce",
664
+ "inputHash": "6f60ad3f",
665
+ "outputHash": "044e9275"
666
+ },
667
+ "getDbSchema": {
668
+ "pikkuFuncId": "getDbSchema",
669
+ "functionType": "user",
670
+ "funcWrapper": "pikkuFunc",
671
+ "sessionless": false,
672
+ "name": "getDbSchema",
673
+ "services": {
674
+ "optimized": true,
675
+ "services": [
676
+ "dbSchemaService"
677
+ ]
678
+ },
679
+ "inputSchemaName": null,
680
+ "outputSchemaName": "DbSchema",
681
+ "inputs": [],
682
+ "outputs": [
683
+ "DbSchema"
684
+ ],
685
+ "expose": true,
686
+ "implementationHash": "3c0db47f3d609ea1",
687
+ "title": "Get Database Schema",
688
+ "description": "Introspects the local development SQLite database and returns table/column metadata enriched with data-classification annotations from db/annotations.gen.json.",
689
+ "isDirectFunction": false,
690
+ "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-console/src/functions/get-db-schema.function.ts",
691
+ "exportedName": "getDbSchema",
692
+ "bodyStart": 11,
693
+ "bodyEnd": 14,
694
+ "contractHash": "c25846d977be35cc",
695
+ "inputHash": "933c3d66",
696
+ "outputHash": "665f2f0d"
697
+ },
698
+ "getFunctionsMeta": {
699
+ "pikkuFuncId": "getFunctionsMeta",
700
+ "functionType": "user",
701
+ "funcWrapper": "pikkuFunc",
702
+ "sessionless": false,
703
+ "name": "getFunctionsMeta",
704
+ "services": {
705
+ "optimized": true,
706
+ "services": [
707
+ "metaService"
708
+ ]
709
+ },
710
+ "inputSchemaName": null,
711
+ "outputSchemaName": "GetFunctionsMetaOutput",
712
+ "inputs": [],
713
+ "outputs": [
714
+ "GetFunctionsMetaOutput"
715
+ ],
716
+ "expose": true,
717
+ "implementationHash": "67fbdf8db39fa458",
718
+ "title": "Get Functions Metadata",
719
+ "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.",
720
+ "isDirectFunction": false,
721
+ "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-console/src/functions/get-functions-meta.function.ts",
722
+ "exportedName": "getFunctionsMeta",
723
+ "bodyStart": 24,
724
+ "bodyEnd": 66,
725
+ "contractHash": "b7995a768673c3f2",
726
+ "inputHash": "f42aa828",
727
+ "outputHash": "3bf3676a"
728
+ },
729
+ "getInstalledAddons": {
730
+ "pikkuFuncId": "getInstalledAddons",
731
+ "functionType": "user",
732
+ "funcWrapper": "pikkuFunc",
733
+ "sessionless": false,
734
+ "name": "getInstalledAddons",
735
+ "services": {
736
+ "optimized": true,
737
+ "services": [
738
+ "metaService"
739
+ ]
740
+ },
741
+ "inputSchemaName": null,
742
+ "outputSchemaName": "GetInstalledAddonsOutput",
743
+ "inputs": [],
744
+ "outputs": [
745
+ "GetInstalledAddonsOutput"
746
+ ],
747
+ "expose": true,
748
+ "implementationHash": "eb77733a41119eb1",
749
+ "title": "Get Installed Addons",
750
+ "description": "Returns locally wired addons from pikkuState",
751
+ "isDirectFunction": false,
752
+ "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-console/src/functions/get-installed-addons.function.ts",
753
+ "exportedName": "getInstalledAddons",
754
+ "bodyStart": 37,
755
+ "bodyEnd": 52,
756
+ "contractHash": "cca7dbfcea9bf8b4",
757
+ "inputHash": "3bc40965",
758
+ "outputHash": "0cf9b243"
759
+ },
760
+ "getAddonInstalledPackage": {
761
+ "pikkuFuncId": "getAddonInstalledPackage",
762
+ "functionType": "user",
763
+ "funcWrapper": "pikkuFunc",
764
+ "sessionless": false,
765
+ "name": "getAddonInstalledPackage",
766
+ "services": {
767
+ "optimized": true,
768
+ "services": [
769
+ "metaService"
770
+ ]
771
+ },
772
+ "inputSchemaName": "GetAddonInstalledPackageInput",
773
+ "outputSchemaName": "AddonPackageInfo",
774
+ "inputs": [
775
+ "GetAddonInstalledPackageInput"
776
+ ],
777
+ "outputs": [
778
+ "AddonPackageInfo"
779
+ ],
780
+ "expose": true,
781
+ "implementationHash": "8c4aa9d56ff3351b",
782
+ "title": "Get Installed Addon Package",
783
+ "description": "Returns the full details of a locally installed addon by reading from pikkuState and .pikku files",
784
+ "isDirectFunction": false,
785
+ "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-console/src/functions/get-installed-package.function.ts",
786
+ "exportedName": "getAddonInstalledPackage",
787
+ "bodyStart": 15,
788
+ "bodyEnd": 131,
789
+ "contractHash": "c5fee2d2759b17cb",
790
+ "inputHash": "84821b5a",
791
+ "outputHash": "9a1de41b"
792
+ },
793
+ "getKnowledge": {
794
+ "pikkuFuncId": "getKnowledge",
795
+ "functionType": "user",
796
+ "funcWrapper": "pikkuFunc",
797
+ "sessionless": false,
798
+ "name": "getKnowledge",
799
+ "services": {
800
+ "optimized": true,
801
+ "services": [
802
+ "knowledgeService"
803
+ ]
804
+ },
805
+ "inputSchemaName": null,
806
+ "outputSchemaName": "KnowledgeBundle",
807
+ "inputs": [],
808
+ "outputs": [
809
+ "KnowledgeBundle"
810
+ ],
811
+ "expose": true,
812
+ "implementationHash": "9a8a721711ba9f64",
813
+ "title": "Get Knowledge Base",
814
+ "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.",
815
+ "isDirectFunction": false,
816
+ "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-console/src/functions/get-knowledge.function.ts",
817
+ "exportedName": "getKnowledge",
818
+ "bodyStart": 11,
819
+ "bodyEnd": 16,
820
+ "contractHash": "e61e888dbb39ab35",
821
+ "inputHash": "52889dc9",
822
+ "outputHash": "efc7f102"
823
+ },
824
+ "getMyAccess": {
825
+ "pikkuFuncId": "getMyAccess",
826
+ "functionType": "user",
827
+ "funcWrapper": "pikkuFunc",
828
+ "sessionless": false,
829
+ "name": "getMyAccess",
830
+ "services": {
831
+ "optimized": true,
832
+ "services": []
833
+ },
834
+ "wires": {
835
+ "optimized": true,
836
+ "wires": [
837
+ "session"
838
+ ]
839
+ },
840
+ "inputSchemaName": null,
841
+ "outputSchemaName": "GetMyAccessOutput",
842
+ "inputs": [],
843
+ "outputs": [
844
+ "GetMyAccessOutput"
845
+ ],
846
+ "expose": true,
847
+ "implementationHash": "e7addfe4f2786923",
848
+ "title": "Get My Access",
849
+ "description": "Returns the caller's own user id and the scopes their session carries, so a UI can decide what to render.",
850
+ "isDirectFunction": false,
851
+ "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-console/src/functions/get-my-access.function.ts",
852
+ "exportedName": "getMyAccess",
853
+ "bodyStart": 12,
854
+ "bodyEnd": 15,
855
+ "contractHash": "39340676f1c426ab",
856
+ "inputHash": "8826a3c8",
857
+ "outputHash": "92b7e520"
858
+ },
859
+ "getOpenapiCategories": {
860
+ "pikkuFuncId": "getOpenapiCategories",
861
+ "functionType": "user",
862
+ "funcWrapper": "pikkuFunc",
863
+ "sessionless": false,
864
+ "name": "getOpenapiCategories",
865
+ "services": {
866
+ "optimized": true,
867
+ "services": [
868
+ "addonService"
869
+ ]
870
+ },
871
+ "inputSchemaName": null,
872
+ "outputSchemaName": "GetOpenapiCategoriesOutput",
873
+ "inputs": [],
874
+ "outputs": [
875
+ "GetOpenapiCategoriesOutput"
876
+ ],
877
+ "expose": true,
878
+ "implementationHash": "2ec0b1029e467e37",
879
+ "title": "Get OpenAPI Categories",
880
+ "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.",
881
+ "isDirectFunction": false,
882
+ "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-console/src/functions/get-openapi-categories.function.ts",
883
+ "exportedName": "getOpenapiCategories",
884
+ "bodyStart": 9,
885
+ "bodyEnd": 9,
886
+ "contractHash": "7fa6f2cf2a77241f",
887
+ "inputHash": "220060aa",
888
+ "outputHash": "c6fc61e2"
889
+ },
890
+ "getOpenapiDetail": {
891
+ "pikkuFuncId": "getOpenapiDetail",
892
+ "functionType": "user",
893
+ "funcWrapper": "pikkuFunc",
894
+ "sessionless": false,
895
+ "name": "getOpenapiDetail",
896
+ "services": {
897
+ "optimized": true,
898
+ "services": [
899
+ "addonService"
900
+ ]
901
+ },
902
+ "inputSchemaName": "GetOpenapiDetailInput",
903
+ "outputSchemaName": "GetOpenapiDetailOutput",
904
+ "inputs": [
905
+ "GetOpenapiDetailInput"
906
+ ],
907
+ "outputs": [
908
+ "GetOpenapiDetailOutput"
909
+ ],
910
+ "expose": true,
911
+ "implementationHash": "89b4e3e8f7036c5d",
912
+ "title": "Get OpenAPI Detail",
913
+ "description": "Fetches a single OpenAPI spec detail from the fabric registry by name.",
914
+ "isDirectFunction": false,
915
+ "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-console/src/functions/get-openapi-detail.function.ts",
916
+ "exportedName": "getOpenapiDetail",
917
+ "bodyStart": 27,
918
+ "bodyEnd": 27,
919
+ "contractHash": "ab3426b06a677b45",
920
+ "inputHash": "c91b6280",
921
+ "outputHash": "25720c9f"
922
+ },
923
+ "getOpenapis": {
924
+ "pikkuFuncId": "getOpenapis",
925
+ "functionType": "user",
926
+ "funcWrapper": "pikkuFunc",
927
+ "sessionless": false,
928
+ "name": "getOpenapis",
929
+ "services": {
930
+ "optimized": true,
931
+ "services": [
932
+ "addonService"
933
+ ]
934
+ },
935
+ "inputSchemaName": "GetOpenapisInput",
936
+ "outputSchemaName": "GetOpenapisOutput",
937
+ "inputs": [
938
+ "GetOpenapisInput"
939
+ ],
940
+ "outputs": [
941
+ "GetOpenapisOutput"
942
+ ],
943
+ "expose": true,
944
+ "implementationHash": "23ab9d7b888a4da1",
945
+ "title": "Get OpenAPI Specs",
946
+ "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.",
947
+ "isDirectFunction": false,
948
+ "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-console/src/functions/get-openapis.function.ts",
949
+ "exportedName": "getOpenapis",
950
+ "bodyStart": 27,
951
+ "bodyEnd": 27,
952
+ "contractHash": "5f015dbcdade1c8b",
953
+ "inputHash": "f38fbddb",
954
+ "outputHash": "b12c2699"
955
+ },
956
+ "getSchema": {
957
+ "pikkuFuncId": "getSchema",
958
+ "functionType": "user",
959
+ "funcWrapper": "pikkuFunc",
960
+ "sessionless": false,
961
+ "name": "getSchema",
962
+ "services": {
963
+ "optimized": true,
964
+ "services": [
965
+ "metaService"
966
+ ]
967
+ },
968
+ "inputSchemaName": "GetSchemaInput",
969
+ "outputSchemaName": "JSONSchema7",
970
+ "inputs": [
971
+ "GetSchemaInput"
972
+ ],
973
+ "outputs": [
974
+ "JSONSchema7"
975
+ ],
976
+ "expose": true,
977
+ "implementationHash": "868246c660fefb97",
978
+ "title": "Get Schema",
979
+ "description": "Given a schemaName string, looks up and returns the corresponding JSONSchema7 definition from metaService.getSchema(). Returns null if the schema does not exist.",
980
+ "isDirectFunction": false,
981
+ "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-console/src/functions/get-schema.function.ts",
982
+ "exportedName": "getSchema",
983
+ "bodyStart": 13,
984
+ "bodyEnd": 13,
985
+ "contractHash": "d2399b70dccdcda6",
986
+ "inputHash": "bf5548d3",
987
+ "outputHash": "01d4dd0e"
988
+ },
989
+ "getSecurityAudit": {
990
+ "pikkuFuncId": "getSecurityAudit",
991
+ "functionType": "user",
992
+ "funcWrapper": "pikkuFunc",
993
+ "sessionless": false,
994
+ "name": "getSecurityAudit",
995
+ "services": {
996
+ "optimized": true,
997
+ "services": [
998
+ "metaService"
999
+ ]
1000
+ },
1001
+ "inputSchemaName": null,
1002
+ "outputSchemaName": "SecurityAuditReport",
1003
+ "inputs": [],
1004
+ "outputs": [
1005
+ "SecurityAuditReport"
1006
+ ],
1007
+ "expose": true,
1008
+ "implementationHash": "3abe83813a17a1bb",
1009
+ "title": "Get Security Audit",
1010
+ "description": "Returns the dependency security audit (vulnerabilities + available updates) from the generated .pikku/audit.json, or null if `pikku audit` has not been run.",
1011
+ "isDirectFunction": false,
1012
+ "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-console/src/functions/get-security-audit.function.ts",
1013
+ "exportedName": "getSecurityAudit",
1014
+ "bodyStart": 13,
1015
+ "bodyEnd": 13,
1016
+ "contractHash": "34af3b4ba494005d",
1017
+ "inputHash": "f4342c15",
1018
+ "outputHash": "b360be24"
1019
+ },
1020
+ "getStateDiff": {
1021
+ "pikkuFuncId": "getStateDiff",
1022
+ "functionType": "user",
1023
+ "funcWrapper": "pikkuFunc",
1024
+ "sessionless": false,
1025
+ "name": "getStateDiff",
1026
+ "services": {
1027
+ "optimized": true,
1028
+ "services": [
1029
+ "stateDiffService"
1030
+ ]
1031
+ },
1032
+ "inputSchemaName": "GetStateDiffInput",
1033
+ "outputSchemaName": "StateDiff",
1034
+ "inputs": [
1035
+ "GetStateDiffInput"
1036
+ ],
1037
+ "outputs": [
1038
+ "StateDiff"
1039
+ ],
1040
+ "expose": true,
1041
+ "implementationHash": "dc2de03693128686",
1042
+ "title": "Get State Diff",
1043
+ "description": "Diff the current project state (ours) against a baseline `.pikku/` directory (typically a worktree at main). Returns added/removed/modified entries per category.",
1044
+ "isDirectFunction": false,
1045
+ "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-console/src/functions/get-state-diff.function.ts",
1046
+ "exportedName": "getStateDiff",
1047
+ "bodyStart": 13,
1048
+ "bodyEnd": 16,
1049
+ "contractHash": "8518cb87a93a3e1e",
1050
+ "inputHash": "ee2d646b",
1051
+ "outputHash": "6baa567b"
1052
+ },
1053
+ "getWebhookDelivery": {
1054
+ "pikkuFuncId": "getWebhookDelivery",
1055
+ "functionType": "user",
1056
+ "funcWrapper": "pikkuFunc",
1057
+ "sessionless": false,
1058
+ "name": "getWebhookDelivery",
1059
+ "services": {
1060
+ "optimized": true,
1061
+ "services": [
1062
+ "webhookService"
1063
+ ]
1064
+ },
1065
+ "inputSchemaName": "GetWebhookDeliveryInput",
1066
+ "outputSchemaName": "WebhookDeliveryWithAttempts",
1067
+ "inputs": [
1068
+ "GetWebhookDeliveryInput"
1069
+ ],
1070
+ "outputs": [
1071
+ "WebhookDeliveryWithAttempts"
1072
+ ],
1073
+ "expose": true,
1074
+ "implementationHash": "78913ef964a87f7e",
1075
+ "title": "Get Webhook Delivery",
1076
+ "description": "Returns a single webhook delivery with its full attempt history.",
1077
+ "isDirectFunction": false,
1078
+ "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-console/src/functions/get-webhook-delivery.function.ts",
1079
+ "exportedName": "getWebhookDelivery",
1080
+ "bodyStart": 13,
1081
+ "bodyEnd": 13,
1082
+ "contractHash": "a8510b00844b1cfc",
1083
+ "inputHash": "091ce638",
1084
+ "outputHash": "4d68b3e3"
1085
+ },
1086
+ "getWorkflowMetaById": {
1087
+ "pikkuFuncId": "getWorkflowMetaById",
1088
+ "functionType": "user",
1089
+ "funcWrapper": "pikkuFunc",
1090
+ "sessionless": false,
1091
+ "name": "getWorkflowMetaById",
1092
+ "services": {
1093
+ "optimized": true,
1094
+ "services": [
1095
+ "metaService"
1096
+ ]
1097
+ },
1098
+ "inputSchemaName": "GetWorkflowMetaByIdInput",
1099
+ "outputSchemaName": "GetWorkflowMetaByIdOutput",
1100
+ "inputs": [
1101
+ "GetWorkflowMetaByIdInput"
1102
+ ],
1103
+ "outputs": [
1104
+ "GetWorkflowMetaByIdOutput"
1105
+ ],
1106
+ "expose": true,
1107
+ "implementationHash": "610083bc870fe3af",
1108
+ "title": "Get Workflow by ID",
1109
+ "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.",
1110
+ "isDirectFunction": false,
1111
+ "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-console/src/functions/get-workflow-meta-by-id.function.ts",
1112
+ "exportedName": "getWorkflowMetaById",
1113
+ "bodyStart": 13,
1114
+ "bodyEnd": 14,
1115
+ "contractHash": "b9a41ff5aba3b7e5",
1116
+ "inputHash": "f967caf6",
1117
+ "outputHash": "dc324849"
1118
+ },
1119
+ "getWorkflowRunHistory": {
1120
+ "pikkuFuncId": "getWorkflowRunHistory",
1121
+ "functionType": "user",
1122
+ "funcWrapper": "pikkuFunc",
1123
+ "sessionless": false,
1124
+ "name": "getWorkflowRunHistory",
1125
+ "services": {
1126
+ "optimized": true,
1127
+ "services": [
1128
+ "workflowRunService"
1129
+ ]
1130
+ },
1131
+ "inputSchemaName": "GetWorkflowRunHistoryInput",
1132
+ "outputSchemaName": "GetWorkflowRunHistoryOutput",
1133
+ "inputs": [
1134
+ "GetWorkflowRunHistoryInput"
1135
+ ],
1136
+ "outputs": [
1137
+ "GetWorkflowRunHistoryOutput"
1138
+ ],
1139
+ "expose": true,
1140
+ "implementationHash": "4b4ce6f3a25fb0c7",
1141
+ "title": "Get Workflow Run History",
1142
+ "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().",
1143
+ "isDirectFunction": false,
1144
+ "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-console/src/functions/get-workflow-run-history.function.ts",
1145
+ "exportedName": "getWorkflowRunHistory",
1146
+ "bodyStart": 9,
1147
+ "bodyEnd": 9,
1148
+ "contractHash": "6e2a5372a06e6c8f",
1149
+ "inputHash": "71adef8b",
1150
+ "outputHash": "d3a9b834"
1151
+ },
1152
+ "getWorkflowRunNames": {
1153
+ "pikkuFuncId": "getWorkflowRunNames",
1154
+ "functionType": "user",
1155
+ "funcWrapper": "pikkuFunc",
1156
+ "sessionless": false,
1157
+ "name": "getWorkflowRunNames",
1158
+ "services": {
1159
+ "optimized": true,
1160
+ "services": [
1161
+ "workflowRunService"
1162
+ ]
1163
+ },
1164
+ "inputSchemaName": null,
1165
+ "outputSchemaName": "GetWorkflowRunNamesOutput",
1166
+ "inputs": [],
1167
+ "outputs": [
1168
+ "GetWorkflowRunNamesOutput"
1169
+ ],
1170
+ "expose": true,
1171
+ "implementationHash": "55fb11439545e8f6",
1172
+ "title": "Get Workflow Run Names",
1173
+ "description": "Returns an array of distinct workflow names that have at least one run in the Postgres workflow database via workflowRunService.getDistinctWorkflowNames().",
1174
+ "isDirectFunction": false,
1175
+ "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-console/src/functions/get-workflow-run-names.function.ts",
1176
+ "exportedName": "getWorkflowRunNames",
1177
+ "bodyStart": 9,
1178
+ "bodyEnd": 9,
1179
+ "contractHash": "dd70bc8a66eef689",
1180
+ "inputHash": "ab5ef55e",
1181
+ "outputHash": "f7f40084"
1182
+ },
1183
+ "getWorkflowRunSteps": {
1184
+ "pikkuFuncId": "getWorkflowRunSteps",
1185
+ "functionType": "user",
1186
+ "funcWrapper": "pikkuFunc",
1187
+ "sessionless": false,
1188
+ "name": "getWorkflowRunSteps",
1189
+ "services": {
1190
+ "optimized": true,
1191
+ "services": [
1192
+ "workflowRunService"
1193
+ ]
1194
+ },
1195
+ "inputSchemaName": "GetWorkflowRunStepsInput",
1196
+ "outputSchemaName": "GetWorkflowRunStepsOutput",
1197
+ "inputs": [
1198
+ "GetWorkflowRunStepsInput"
1199
+ ],
1200
+ "outputs": [
1201
+ "GetWorkflowRunStepsOutput"
1202
+ ],
1203
+ "expose": true,
1204
+ "implementationHash": "6dd3abd61dcbfb5c",
1205
+ "title": "Get Workflow Run Steps",
1206
+ "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.",
1207
+ "isDirectFunction": false,
1208
+ "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-console/src/functions/get-workflow-run-steps.function.ts",
1209
+ "exportedName": "getWorkflowRunSteps",
1210
+ "bodyStart": 9,
1211
+ "bodyEnd": 9,
1212
+ "contractHash": "81130856082620bc",
1213
+ "inputHash": "6dfc6243",
1214
+ "outputHash": "fc160067"
1215
+ },
1216
+ "getWorkflowRun": {
1217
+ "pikkuFuncId": "getWorkflowRun",
1218
+ "functionType": "user",
1219
+ "funcWrapper": "pikkuFunc",
1220
+ "sessionless": false,
1221
+ "name": "getWorkflowRun",
1222
+ "services": {
1223
+ "optimized": true,
1224
+ "services": [
1225
+ "workflowRunService"
1226
+ ]
1227
+ },
1228
+ "inputSchemaName": "GetWorkflowRunInput",
1229
+ "outputSchemaName": "GetWorkflowRunOutput",
1230
+ "inputs": [
1231
+ "GetWorkflowRunInput"
1232
+ ],
1233
+ "outputs": [
1234
+ "GetWorkflowRunOutput"
1235
+ ],
1236
+ "expose": true,
1237
+ "implementationHash": "11f432594142a6e6",
1238
+ "title": "Get Workflow Run",
1239
+ "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.",
1240
+ "isDirectFunction": false,
1241
+ "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-console/src/functions/get-workflow-run.function.ts",
1242
+ "exportedName": "getWorkflowRun",
1243
+ "bodyStart": 12,
1244
+ "bodyEnd": 15,
1245
+ "contractHash": "af261ba6bbd86e3a",
1246
+ "inputHash": "4c364da8",
1247
+ "outputHash": "0e2eaa53"
1248
+ },
1249
+ "getWorkflowRuns": {
1250
+ "pikkuFuncId": "getWorkflowRuns",
1251
+ "functionType": "user",
1252
+ "funcWrapper": "pikkuFunc",
1253
+ "sessionless": false,
1254
+ "name": "getWorkflowRuns",
1255
+ "services": {
1256
+ "optimized": true,
1257
+ "services": [
1258
+ "workflowRunService"
1259
+ ]
1260
+ },
1261
+ "inputSchemaName": "GetWorkflowRunsInput",
1262
+ "outputSchemaName": "GetWorkflowRunsOutput",
1263
+ "inputs": [
1264
+ "GetWorkflowRunsInput"
1265
+ ],
1266
+ "outputs": [
1267
+ "GetWorkflowRunsOutput"
1268
+ ],
1269
+ "expose": true,
1270
+ "implementationHash": "cd3da712c9261551",
1271
+ "title": "Get Workflow Runs",
1272
+ "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.",
1273
+ "isDirectFunction": false,
1274
+ "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-console/src/functions/get-workflow-runs.function.ts",
1275
+ "exportedName": "getWorkflowRuns",
1276
+ "bodyStart": 12,
1277
+ "bodyEnd": 17,
1278
+ "contractHash": "6bd77e2897f38f7c",
1279
+ "inputHash": "1dce44b4",
1280
+ "outputHash": "d91cdf81"
1281
+ },
1282
+ "getWorkflowVersion": {
1283
+ "pikkuFuncId": "getWorkflowVersion",
1284
+ "functionType": "user",
1285
+ "funcWrapper": "pikkuFunc",
1286
+ "sessionless": false,
1287
+ "name": "getWorkflowVersion",
1288
+ "services": {
1289
+ "optimized": true,
1290
+ "services": [
1291
+ "workflowRunService"
1292
+ ]
1293
+ },
1294
+ "inputSchemaName": "GetWorkflowVersionInput",
1295
+ "outputSchemaName": "GetWorkflowVersionOutput",
1296
+ "inputs": [
1297
+ "GetWorkflowVersionInput"
1298
+ ],
1299
+ "outputs": [
1300
+ "GetWorkflowVersionOutput"
1301
+ ],
1302
+ "expose": true,
1303
+ "implementationHash": "fbb727ee24018217",
1304
+ "title": "Get Workflow Version",
1305
+ "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.",
1306
+ "isDirectFunction": false,
1307
+ "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-console/src/functions/get-workflow-version.function.ts",
1308
+ "exportedName": "getWorkflowVersion",
1309
+ "bodyStart": 12,
1310
+ "bodyEnd": 15,
1311
+ "contractHash": "a1afa3245af186ce",
1312
+ "inputHash": "4733674a",
1313
+ "outputHash": "6b9145b1"
1314
+ },
1315
+ "installAddon": {
1316
+ "pikkuFuncId": "installAddon",
1317
+ "functionType": "user",
1318
+ "funcWrapper": "pikkuSessionlessFunc",
1319
+ "sessionless": true,
1320
+ "name": "installAddon",
1321
+ "services": {
1322
+ "optimized": true,
1323
+ "services": [
1324
+ "metaService"
1325
+ ]
1326
+ },
1327
+ "inputSchemaName": "InstallAddonInput",
1328
+ "outputSchemaName": "InstallAddonOutput",
1329
+ "inputs": [
1330
+ "InstallAddonInput"
1331
+ ],
1332
+ "outputs": [
1333
+ "InstallAddonOutput"
1334
+ ],
1335
+ "expose": true,
1336
+ "auth": true,
1337
+ "scopes": [
1338
+ "admin"
1339
+ ],
1340
+ "implementationHash": "a1ce8e6e7d66670e",
1341
+ "title": "Install Addon",
1342
+ "description": "Installs a community addon package and creates the wiring file. Requires an admin session.",
1343
+ "isDirectFunction": false,
1344
+ "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-console/src/functions/install-addon.function.ts",
1345
+ "exportedName": "installAddon",
1346
+ "bodyStart": 33,
1347
+ "bodyEnd": 118,
1348
+ "contractHash": "150c3c7624b8bd6d",
1349
+ "inputHash": "b0a5b0d2",
1350
+ "outputHash": "2d935d9a"
1351
+ },
1352
+ "installOpenapiAddon": {
1353
+ "pikkuFuncId": "installOpenapiAddon",
1354
+ "functionType": "user",
1355
+ "funcWrapper": "pikkuSessionlessFunc",
1356
+ "sessionless": true,
1357
+ "name": "installOpenapiAddon",
1358
+ "services": {
1359
+ "optimized": true,
1360
+ "services": [
1361
+ "metaService"
1362
+ ]
1363
+ },
1364
+ "inputSchemaName": "InstallOpenapiAddonInput",
1365
+ "outputSchemaName": "InstallOpenapiAddonOutput",
1366
+ "inputs": [
1367
+ "InstallOpenapiAddonInput"
1368
+ ],
1369
+ "outputs": [
1370
+ "InstallOpenapiAddonOutput"
1371
+ ],
1372
+ "expose": true,
1373
+ "auth": true,
1374
+ "scopes": [
1375
+ "admin"
1376
+ ],
1377
+ "implementationHash": "9caa1dfdee8379f6",
1378
+ "title": "Install OpenAPI Addon",
1379
+ "description": "Generates an addon from an OpenAPI spec, installs it into the workspace, and wires it up.",
1380
+ "isDirectFunction": false,
1381
+ "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-console/src/functions/install-openapi-addon.function.ts",
1382
+ "exportedName": "installOpenapiAddon",
1383
+ "bodyStart": 24,
1384
+ "bodyEnd": 131,
1385
+ "contractHash": "14be886e78457f29",
1386
+ "inputHash": "e5c19fbd",
1387
+ "outputHash": "9de4b0f5"
1388
+ },
1389
+ "listWebhookDeliveries": {
1390
+ "pikkuFuncId": "listWebhookDeliveries",
1391
+ "functionType": "user",
1392
+ "funcWrapper": "pikkuFunc",
1393
+ "sessionless": false,
1394
+ "name": "listWebhookDeliveries",
1395
+ "services": {
1396
+ "optimized": true,
1397
+ "services": [
1398
+ "webhookService"
1399
+ ]
1400
+ },
1401
+ "inputSchemaName": "ListWebhookDeliveriesInput",
1402
+ "outputSchemaName": "ListWebhookDeliveriesOutput",
1403
+ "inputs": [
1404
+ "ListWebhookDeliveriesInput"
1405
+ ],
1406
+ "outputs": [
1407
+ "ListWebhookDeliveriesOutput"
1408
+ ],
1409
+ "expose": true,
1410
+ "implementationHash": "6bcf6126fbf6336d",
1411
+ "title": "List Webhook Deliveries",
1412
+ "description": "Lists outgoing webhook deliveries (most recent first), optionally scoped to an organization.",
1413
+ "isDirectFunction": false,
1414
+ "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-console/src/functions/list-webhook-deliveries.function.ts",
1415
+ "exportedName": "listWebhookDeliveries",
1416
+ "bodyStart": 13,
1417
+ "bodyEnd": 13,
1418
+ "contractHash": "a4aa94d348d78afc",
1419
+ "inputHash": "c0b15c7e",
1420
+ "outputHash": "f679e184"
1421
+ },
1422
+ "ping": {
1423
+ "pikkuFuncId": "ping",
1424
+ "functionType": "user",
1425
+ "funcWrapper": "pikkuFunc",
1426
+ "sessionless": false,
1427
+ "name": "ping",
1428
+ "services": {
1429
+ "optimized": true,
1430
+ "services": []
1431
+ },
1432
+ "inputSchemaName": null,
1433
+ "outputSchemaName": "PingOutput",
1434
+ "inputs": [],
1435
+ "outputs": [
1436
+ "PingOutput"
1437
+ ],
1438
+ "expose": true,
1439
+ "implementationHash": "f8b65cb4317cabf3",
1440
+ "title": "Ping",
1441
+ "description": "Health check endpoint for the Pikku Console.",
1442
+ "isDirectFunction": false,
1443
+ "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-console/src/functions/ping.function.ts",
1444
+ "exportedName": "ping",
1445
+ "bodyStart": 8,
1446
+ "bodyEnd": 8,
1447
+ "contractHash": "fcc0b0976330db7f",
1448
+ "inputHash": "257c0a0a",
1449
+ "outputHash": "9690bdf6"
1450
+ },
1451
+ "readAgentSource": {
1452
+ "pikkuFuncId": "readAgentSource",
1453
+ "functionType": "user",
1454
+ "funcWrapper": "pikkuFunc",
1455
+ "sessionless": false,
1456
+ "name": "readAgentSource",
1457
+ "services": {
1458
+ "optimized": true,
1459
+ "services": [
1460
+ "codeEditService"
1461
+ ]
1462
+ },
1463
+ "inputSchemaName": "ReadAgentSourceInput",
1464
+ "outputSchemaName": "ReadAgentSourceOutput",
1465
+ "inputs": [
1466
+ "ReadAgentSourceInput"
1467
+ ],
1468
+ "outputs": [
1469
+ "ReadAgentSourceOutput"
1470
+ ],
1471
+ "expose": true,
1472
+ "implementationHash": "d12de0c2a94c7e5b",
1473
+ "title": "Read Agent Source",
1474
+ "description": "Reads the source code of a pikku AI agent definition and returns its config properties.",
1475
+ "isDirectFunction": false,
1476
+ "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-console/src/functions/read-agent-source.function.ts",
1477
+ "exportedName": "readAgentSource",
1478
+ "bodyStart": 13,
1479
+ "bodyEnd": 18,
1480
+ "contractHash": "9ce87ee2b8742dfd",
1481
+ "inputHash": "83d575db",
1482
+ "outputHash": "f79bf1de"
1483
+ },
1484
+ "readFunctionBody": {
1485
+ "pikkuFuncId": "readFunctionBody",
1486
+ "functionType": "user",
1487
+ "funcWrapper": "pikkuFunc",
1488
+ "sessionless": false,
1489
+ "name": "readFunctionBody",
1490
+ "services": {
1491
+ "optimized": true,
1492
+ "services": [
1493
+ "codeEditService"
1494
+ ]
1495
+ },
1496
+ "inputSchemaName": "ReadFunctionBodyInput",
1497
+ "outputSchemaName": "ReadFunctionBodyOutput",
1498
+ "inputs": [
1499
+ "ReadFunctionBodyInput"
1500
+ ],
1501
+ "outputs": [
1502
+ "ReadFunctionBodyOutput"
1503
+ ],
1504
+ "expose": true,
1505
+ "implementationHash": "f11496021f94ed0d",
1506
+ "title": "Read Function Body",
1507
+ "description": "Reads the function body (the func: async (...) => { ... } part) from a pikku function definition.",
1508
+ "isDirectFunction": false,
1509
+ "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-console/src/functions/read-function-body.function.ts",
1510
+ "exportedName": "readFunctionBody",
1511
+ "bodyStart": 13,
1512
+ "bodyEnd": 22,
1513
+ "contractHash": "a2287f39c1eca38b",
1514
+ "inputHash": "3db64982",
1515
+ "outputHash": "3e345ceb"
1516
+ },
1517
+ "readFunctionSource": {
1518
+ "pikkuFuncId": "readFunctionSource",
1519
+ "functionType": "user",
1520
+ "funcWrapper": "pikkuFunc",
1521
+ "sessionless": false,
1522
+ "name": "readFunctionSource",
1523
+ "services": {
1524
+ "optimized": true,
1525
+ "services": [
1526
+ "codeEditService"
1527
+ ]
1528
+ },
1529
+ "inputSchemaName": "ReadFunctionSourceInput",
1530
+ "outputSchemaName": "ReadFunctionSourceOutput",
1531
+ "inputs": [
1532
+ "ReadFunctionSourceInput"
1533
+ ],
1534
+ "outputs": [
1535
+ "ReadFunctionSourceOutput"
1536
+ ],
1537
+ "expose": true,
1538
+ "implementationHash": "a534d953ed940622",
1539
+ "title": "Read Function Source",
1540
+ "description": "Reads the source code of a pikku function definition and returns its config properties and function body.",
1541
+ "isDirectFunction": false,
1542
+ "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-console/src/functions/read-function-source.function.ts",
1543
+ "exportedName": "readFunctionSource",
1544
+ "bodyStart": 13,
1545
+ "bodyEnd": 18,
1546
+ "contractHash": "2bbd984e00ace4ed",
1547
+ "inputHash": "de816393",
1548
+ "outputHash": "3689cc09"
1549
+ },
1550
+ "renderEmailPreview": {
1551
+ "pikkuFuncId": "renderEmailPreview",
1552
+ "functionType": "user",
1553
+ "funcWrapper": "pikkuFunc",
1554
+ "sessionless": false,
1555
+ "name": "renderEmailPreview",
1556
+ "services": {
1557
+ "optimized": true,
1558
+ "services": [
1559
+ "metaService"
1560
+ ]
1561
+ },
1562
+ "inputSchemaName": "RenderEmailPreviewInput",
1563
+ "outputSchemaName": "RenderEmailPreviewOutput",
1564
+ "inputs": [
1565
+ "RenderEmailPreviewInput"
1566
+ ],
1567
+ "outputs": [
1568
+ "RenderEmailPreviewOutput"
1569
+ ],
1570
+ "expose": true,
1571
+ "implementationHash": "c17cf7a14f41b9f6",
1572
+ "title": "Render Email Preview",
1573
+ "description": "Renders an email template preview from emailTemplatesDir using a locale and variable payload.",
1574
+ "isDirectFunction": false,
1575
+ "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-console/src/functions/render-email-preview.function.ts",
1576
+ "exportedName": "renderEmailPreview",
1577
+ "bodyStart": 44,
1578
+ "bodyEnd": 119,
1579
+ "contractHash": "5c0010a01eac05df",
1580
+ "inputHash": "8bb3bf2b",
1581
+ "outputHash": "ccb4573c"
1582
+ },
1583
+ "runSecurityAudit": {
1584
+ "pikkuFuncId": "runSecurityAudit",
1585
+ "functionType": "user",
1586
+ "funcWrapper": "pikkuFunc",
1587
+ "sessionless": false,
1588
+ "name": "runSecurityAudit",
1589
+ "services": {
1590
+ "optimized": true,
1591
+ "services": [
1592
+ "metaService"
1593
+ ]
1594
+ },
1595
+ "inputSchemaName": null,
1596
+ "outputSchemaName": "SecurityAuditReport",
1597
+ "inputs": [],
1598
+ "outputs": [
1599
+ "SecurityAuditReport"
1600
+ ],
1601
+ "expose": true,
1602
+ "implementationHash": "1f6bfefb68cebcfe",
1603
+ "title": "Run Security Audit",
1604
+ "description": "Runs `pikku audit --outdated`, regenerating .pikku/audit.json, and returns the fresh report. Mirrors the Run Tests action.",
1605
+ "isDirectFunction": false,
1606
+ "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-console/src/functions/run-security-audit.function.ts",
1607
+ "exportedName": "runSecurityAudit",
1608
+ "bodyStart": 15,
1609
+ "bodyEnd": 23,
1610
+ "contractHash": "6349c4e3d5494a15",
1611
+ "inputHash": "b49cd137",
1612
+ "outputHash": "1cca48c8"
1613
+ },
1614
+ "scopeAddScopeToUser": {
1615
+ "pikkuFuncId": "scopeAddScopeToUser",
1616
+ "functionType": "user",
1617
+ "funcWrapper": "pikkuFunc",
1618
+ "sessionless": false,
1619
+ "name": "scopeAddScopeToUser",
1620
+ "services": {
1621
+ "optimized": true,
1622
+ "services": [
1623
+ "scopeService"
1624
+ ]
1625
+ },
1626
+ "wires": {
1627
+ "optimized": true,
1628
+ "wires": [
1629
+ "session"
1630
+ ]
1631
+ },
1632
+ "inputSchemaName": "ScopeAddScopeToUserInput",
1633
+ "outputSchemaName": "ScopeAddScopeToUserOutput",
1634
+ "inputs": [
1635
+ "ScopeAddScopeToUserInput"
1636
+ ],
1637
+ "outputs": [
1638
+ "ScopeAddScopeToUserOutput"
1639
+ ],
1640
+ "expose": true,
1641
+ "scopes": [
1642
+ "pikku:scopes:manage"
1643
+ ],
1644
+ "implementationHash": "002c9dc1e8a4257e",
1645
+ "title": "Grant Scope",
1646
+ "description": "Grants a scope directly to a user, outside of any role. Takes effect on their next request — no re-login.",
1647
+ "isDirectFunction": false,
1648
+ "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-console/src/functions/scope-add-scope-to-user.function.ts",
1649
+ "exportedName": "scopeAddScopeToUser",
1650
+ "bodyStart": 13,
1651
+ "bodyEnd": 14,
1652
+ "contractHash": "e2191335667bf9c3",
1653
+ "inputHash": "e0bdcc51",
1654
+ "outputHash": "dbe52008"
1655
+ },
1656
+ "scopeAddUserToRole": {
1657
+ "pikkuFuncId": "scopeAddUserToRole",
1658
+ "functionType": "user",
1659
+ "funcWrapper": "pikkuFunc",
1660
+ "sessionless": false,
1661
+ "name": "scopeAddUserToRole",
1662
+ "services": {
1663
+ "optimized": true,
1664
+ "services": [
1665
+ "scopeService"
1666
+ ]
1667
+ },
1668
+ "wires": {
1669
+ "optimized": true,
1670
+ "wires": [
1671
+ "session"
1672
+ ]
1673
+ },
1674
+ "inputSchemaName": "ScopeAddUserToRoleInput",
1675
+ "outputSchemaName": "ScopeAddUserToRoleOutput",
1676
+ "inputs": [
1677
+ "ScopeAddUserToRoleInput"
1678
+ ],
1679
+ "outputs": [
1680
+ "ScopeAddUserToRoleOutput"
1681
+ ],
1682
+ "expose": true,
1683
+ "scopes": [
1684
+ "pikku:scopes:manage"
1685
+ ],
1686
+ "implementationHash": "e3220612ac3b71f0",
1687
+ "title": "Grant Role",
1688
+ "description": "Grants a role to a user. Takes effect on their next request — no re-login.",
1689
+ "isDirectFunction": false,
1690
+ "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-console/src/functions/scope-add-user-to-role.function.ts",
1691
+ "exportedName": "scopeAddUserToRole",
1692
+ "bodyStart": 13,
1693
+ "bodyEnd": 14,
1694
+ "contractHash": "e1a91b09f95f4543",
1695
+ "inputHash": "64fc33b0",
1696
+ "outputHash": "90198208"
1697
+ },
1698
+ "scopeCreateRole": {
1699
+ "pikkuFuncId": "scopeCreateRole",
1700
+ "functionType": "user",
1701
+ "funcWrapper": "pikkuFunc",
1702
+ "sessionless": false,
1703
+ "name": "scopeCreateRole",
1704
+ "services": {
1705
+ "optimized": true,
1706
+ "services": [
1707
+ "scopeService"
1708
+ ]
1709
+ },
1710
+ "inputSchemaName": "ScopeCreateRoleInput",
1711
+ "outputSchemaName": "ScopeCreateRoleOutput",
1712
+ "inputs": [
1713
+ "ScopeCreateRoleInput"
1714
+ ],
1715
+ "outputs": [
1716
+ "ScopeCreateRoleOutput"
1717
+ ],
1718
+ "expose": true,
1719
+ "scopes": [
1720
+ "pikku:scopes:manage"
1721
+ ],
1722
+ "implementationHash": "45f25f430b016391",
1723
+ "title": "Create Role",
1724
+ "description": "Creates a role granting the given scopes.",
1725
+ "isDirectFunction": false,
1726
+ "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-console/src/functions/scope-create-role.function.ts",
1727
+ "exportedName": "scopeCreateRole",
1728
+ "bodyStart": 14,
1729
+ "bodyEnd": 15,
1730
+ "contractHash": "223589f5814400ee",
1731
+ "inputHash": "5bac8a6a",
1732
+ "outputHash": "354cac09"
1733
+ },
1734
+ "scopeDeleteRole": {
1735
+ "pikkuFuncId": "scopeDeleteRole",
1736
+ "functionType": "user",
1737
+ "funcWrapper": "pikkuFunc",
1738
+ "sessionless": false,
1739
+ "name": "scopeDeleteRole",
1740
+ "services": {
1741
+ "optimized": true,
1742
+ "services": [
1743
+ "scopeService"
1744
+ ]
1745
+ },
1746
+ "inputSchemaName": "ScopeDeleteRoleInput",
1747
+ "outputSchemaName": "ScopeDeleteRoleOutput",
1748
+ "inputs": [
1749
+ "ScopeDeleteRoleInput"
1750
+ ],
1751
+ "outputs": [
1752
+ "ScopeDeleteRoleOutput"
1753
+ ],
1754
+ "expose": true,
1755
+ "scopes": [
1756
+ "pikku:scopes:manage"
1757
+ ],
1758
+ "implementationHash": "f9516dbb94675ccf",
1759
+ "title": "Delete Role",
1760
+ "description": "Deletes a role, revoking it from every user who holds it.",
1761
+ "isDirectFunction": false,
1762
+ "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-console/src/functions/scope-delete-role.function.ts",
1763
+ "exportedName": "scopeDeleteRole",
1764
+ "bodyStart": 12,
1765
+ "bodyEnd": 13,
1766
+ "contractHash": "d318f71c80dc063b",
1767
+ "inputHash": "2b3000d3",
1768
+ "outputHash": "97f5cc49"
1769
+ },
1770
+ "scopeListDeclared": {
1771
+ "pikkuFuncId": "scopeListDeclared",
1772
+ "functionType": "user",
1773
+ "funcWrapper": "pikkuFunc",
1774
+ "sessionless": false,
1775
+ "name": "scopeListDeclared",
1776
+ "services": {
1777
+ "optimized": true,
1778
+ "services": [
1779
+ "scopeService"
1780
+ ]
1781
+ },
1782
+ "inputSchemaName": null,
1783
+ "outputSchemaName": "ScopeListDeclaredOutput",
1784
+ "inputs": [],
1785
+ "outputs": [
1786
+ "ScopeListDeclaredOutput"
1787
+ ],
1788
+ "expose": true,
1789
+ "scopes": [
1790
+ "pikku:scopes:read"
1791
+ ],
1792
+ "implementationHash": "5e78c244ddf2cfc9",
1793
+ "title": "List Declared Scopes",
1794
+ "description": "Lists the scope vocabulary a role can be composed from, flagging any that are no longer declared in code.",
1795
+ "isDirectFunction": false,
1796
+ "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-console/src/functions/scope-list-declared.function.ts",
1797
+ "exportedName": "scopeListDeclared",
1798
+ "bodyStart": 24,
1799
+ "bodyEnd": 29,
1800
+ "contractHash": "46fe9e75e9ee89e8",
1801
+ "inputHash": "cdcd8b82",
1802
+ "outputHash": "e340c17d"
1803
+ },
1804
+ "scopeListRoles": {
1805
+ "pikkuFuncId": "scopeListRoles",
1806
+ "functionType": "user",
1807
+ "funcWrapper": "pikkuFunc",
1808
+ "sessionless": false,
1809
+ "name": "scopeListRoles",
1810
+ "services": {
1811
+ "optimized": true,
1812
+ "services": [
1813
+ "scopeService"
1814
+ ]
1815
+ },
1816
+ "inputSchemaName": null,
1817
+ "outputSchemaName": "ScopeListRolesOutput",
1818
+ "inputs": [],
1819
+ "outputs": [
1820
+ "ScopeListRolesOutput"
1821
+ ],
1822
+ "expose": true,
1823
+ "scopes": [
1824
+ "pikku:scopes:read"
1825
+ ],
1826
+ "implementationHash": "33c3e6c254694e00",
1827
+ "title": "List Roles",
1828
+ "description": "Lists every role and the scopes it grants.",
1829
+ "isDirectFunction": false,
1830
+ "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-console/src/functions/scope-list-roles.function.ts",
1831
+ "exportedName": "scopeListRoles",
1832
+ "bodyStart": 10,
1833
+ "bodyEnd": 13,
1834
+ "contractHash": "b5dbd2d51b18edaf",
1835
+ "inputHash": "f9028549",
1836
+ "outputHash": "3c78768a"
1837
+ },
1838
+ "scopeListUserRoles": {
1839
+ "pikkuFuncId": "scopeListUserRoles",
1840
+ "functionType": "user",
1841
+ "funcWrapper": "pikkuFunc",
1842
+ "sessionless": false,
1843
+ "name": "scopeListUserRoles",
1844
+ "services": {
1845
+ "optimized": true,
1846
+ "services": [
1847
+ "scopeService"
1848
+ ]
1849
+ },
1850
+ "inputSchemaName": "ScopeListUserRolesInput",
1851
+ "outputSchemaName": "ScopeListUserRolesOutput",
1852
+ "inputs": [
1853
+ "ScopeListUserRolesInput"
1854
+ ],
1855
+ "outputs": [
1856
+ "ScopeListUserRolesOutput"
1857
+ ],
1858
+ "expose": true,
1859
+ "scopes": [
1860
+ "pikku:scopes:read"
1861
+ ],
1862
+ "implementationHash": "f2324450cb109255",
1863
+ "title": "List User Roles",
1864
+ "description": "Lists the roles a user holds, the scopes granted to them directly, and the full set those resolve to.",
1865
+ "isDirectFunction": false,
1866
+ "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-console/src/functions/scope-list-user-roles.function.ts",
1867
+ "exportedName": "scopeListUserRoles",
1868
+ "bodyStart": 13,
1869
+ "bodyEnd": 27,
1870
+ "contractHash": "56767e69aab89b76",
1871
+ "inputHash": "de5d4fe8",
1872
+ "outputHash": "df994c3c"
1873
+ },
1874
+ "scopeRemoveScopeFromUser": {
1875
+ "pikkuFuncId": "scopeRemoveScopeFromUser",
1876
+ "functionType": "user",
1877
+ "funcWrapper": "pikkuFunc",
1878
+ "sessionless": false,
1879
+ "name": "scopeRemoveScopeFromUser",
1880
+ "services": {
1881
+ "optimized": true,
1882
+ "services": [
1883
+ "scopeService"
1884
+ ]
1885
+ },
1886
+ "inputSchemaName": "ScopeRemoveScopeFromUserInput",
1887
+ "outputSchemaName": "ScopeRemoveScopeFromUserOutput",
1888
+ "inputs": [
1889
+ "ScopeRemoveScopeFromUserInput"
1890
+ ],
1891
+ "outputs": [
1892
+ "ScopeRemoveScopeFromUserOutput"
1893
+ ],
1894
+ "expose": true,
1895
+ "scopes": [
1896
+ "pikku:scopes:manage"
1897
+ ],
1898
+ "implementationHash": "12f59a9c18110346",
1899
+ "title": "Revoke Scope",
1900
+ "description": "Revokes a directly-granted scope from a user. Takes effect on their next request — no re-login.",
1901
+ "isDirectFunction": false,
1902
+ "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-console/src/functions/scope-remove-scope-from-user.function.ts",
1903
+ "exportedName": "scopeRemoveScopeFromUser",
1904
+ "bodyStart": 13,
1905
+ "bodyEnd": 14,
1906
+ "contractHash": "4a89ae3d7f60f261",
1907
+ "inputHash": "3dd862ea",
1908
+ "outputHash": "75db1af4"
1909
+ },
1910
+ "scopeRemoveUserFromRole": {
1911
+ "pikkuFuncId": "scopeRemoveUserFromRole",
1912
+ "functionType": "user",
1913
+ "funcWrapper": "pikkuFunc",
1914
+ "sessionless": false,
1915
+ "name": "scopeRemoveUserFromRole",
1916
+ "services": {
1917
+ "optimized": true,
1918
+ "services": [
1919
+ "scopeService"
1920
+ ]
1921
+ },
1922
+ "inputSchemaName": "ScopeRemoveUserFromRoleInput",
1923
+ "outputSchemaName": "ScopeRemoveUserFromRoleOutput",
1924
+ "inputs": [
1925
+ "ScopeRemoveUserFromRoleInput"
1926
+ ],
1927
+ "outputs": [
1928
+ "ScopeRemoveUserFromRoleOutput"
1929
+ ],
1930
+ "expose": true,
1931
+ "scopes": [
1932
+ "pikku:scopes:manage"
1933
+ ],
1934
+ "implementationHash": "587c657823eb1305",
1935
+ "title": "Revoke Role",
1936
+ "description": "Revokes a role from a user. Takes effect on their next request — no re-login.",
1937
+ "isDirectFunction": false,
1938
+ "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-console/src/functions/scope-remove-user-from-role.function.ts",
1939
+ "exportedName": "scopeRemoveUserFromRole",
1940
+ "bodyStart": 13,
1941
+ "bodyEnd": 14,
1942
+ "contractHash": "64f00972592ec04a",
1943
+ "inputHash": "ce192b8a",
1944
+ "outputHash": "c17da240"
1945
+ },
1946
+ "scopeSetRoleScopes": {
1947
+ "pikkuFuncId": "scopeSetRoleScopes",
1948
+ "functionType": "user",
1949
+ "funcWrapper": "pikkuFunc",
1950
+ "sessionless": false,
1951
+ "name": "scopeSetRoleScopes",
1952
+ "services": {
1953
+ "optimized": true,
1954
+ "services": [
1955
+ "scopeService"
1956
+ ]
1957
+ },
1958
+ "inputSchemaName": "ScopeSetRoleScopesInput",
1959
+ "outputSchemaName": "ScopeSetRoleScopesOutput",
1960
+ "inputs": [
1961
+ "ScopeSetRoleScopesInput"
1962
+ ],
1963
+ "outputs": [
1964
+ "ScopeSetRoleScopesOutput"
1965
+ ],
1966
+ "expose": true,
1967
+ "scopes": [
1968
+ "pikku:scopes:manage"
1969
+ ],
1970
+ "implementationHash": "532b53bf687f51fb",
1971
+ "title": "Set Role Scopes",
1972
+ "description": "Replaces the scopes a role grants. Users holding it see the change on their next request.",
1973
+ "isDirectFunction": false,
1974
+ "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-console/src/functions/scope-set-role-scopes.function.ts",
1975
+ "exportedName": "scopeSetRoleScopes",
1976
+ "bodyStart": 13,
1977
+ "bodyEnd": 14,
1978
+ "contractHash": "3c72002e096bedd7",
1979
+ "inputHash": "9db02d43",
1980
+ "outputHash": "c6ce28cf"
1981
+ },
1982
+ "streamWorkflowRun": {
1983
+ "pikkuFuncId": "streamWorkflowRun",
1984
+ "functionType": "user",
1985
+ "funcWrapper": "pikkuSessionlessFunc",
1986
+ "sessionless": true,
1987
+ "name": "streamWorkflowRun",
1988
+ "services": {
1989
+ "optimized": true,
1990
+ "services": [
1991
+ "workflowRunService"
1992
+ ]
1993
+ },
1994
+ "wires": {
1995
+ "optimized": true,
1996
+ "wires": [
1997
+ "channel"
1998
+ ]
1999
+ },
2000
+ "inputSchemaName": "StreamWorkflowRunInput",
2001
+ "outputSchemaName": null,
2002
+ "inputs": [
2003
+ "StreamWorkflowRunInput"
2004
+ ],
2005
+ "outputs": [],
2006
+ "implementationHash": "7facb8afed01d7ab",
2007
+ "title": "Stream Workflow Run",
2008
+ "description": "SSE stream of workflow run status and step state changes.",
2009
+ "isDirectFunction": false,
2010
+ "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-console/src/functions/stream-workflow-run.function.ts",
2011
+ "exportedName": "streamWorkflowRun",
2012
+ "bodyStart": 9,
2013
+ "bodyEnd": 49,
2014
+ "contractHash": "1dc21fdc8c6d42b2",
2015
+ "inputHash": "e98b5c8e",
2016
+ "outputHash": "20fdee07"
2017
+ },
2018
+ "updateAgentConfig": {
2019
+ "pikkuFuncId": "updateAgentConfig",
2020
+ "functionType": "user",
2021
+ "funcWrapper": "pikkuFunc",
2022
+ "sessionless": false,
2023
+ "name": "updateAgentConfig",
2024
+ "services": {
2025
+ "optimized": true,
2026
+ "services": [
2027
+ "codeEditService"
2028
+ ]
2029
+ },
2030
+ "inputSchemaName": "UpdateAgentConfigInput",
2031
+ "outputSchemaName": "UpdateAgentConfigOutput",
2032
+ "inputs": [
2033
+ "UpdateAgentConfigInput"
2034
+ ],
2035
+ "outputs": [
2036
+ "UpdateAgentConfigOutput"
2037
+ ],
2038
+ "expose": true,
2039
+ "implementationHash": "cdf5448c905d79af",
2040
+ "title": "Update Agent Config",
2041
+ "description": "Updates the config properties of a pikku AI agent definition in source code and triggers a rebuild.",
2042
+ "isDirectFunction": false,
2043
+ "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-console/src/functions/update-agent-config.function.ts",
2044
+ "exportedName": "updateAgentConfig",
2045
+ "bodyStart": 18,
2046
+ "bodyEnd": 24,
2047
+ "contractHash": "7914f6c21b43fab6",
2048
+ "inputHash": "bf627fe1",
2049
+ "outputHash": "bbec71d0"
2050
+ },
2051
+ "updateDependency": {
2052
+ "pikkuFuncId": "updateDependency",
2053
+ "functionType": "user",
2054
+ "funcWrapper": "pikkuFunc",
2055
+ "sessionless": false,
2056
+ "name": "updateDependency",
2057
+ "services": {
2058
+ "optimized": true,
2059
+ "services": [
2060
+ "metaService"
2061
+ ]
2062
+ },
2063
+ "inputSchemaName": "UpdateDependencyInput",
2064
+ "outputSchemaName": "SecurityAuditReport",
2065
+ "inputs": [
2066
+ "UpdateDependencyInput"
2067
+ ],
2068
+ "outputs": [
2069
+ "SecurityAuditReport"
2070
+ ],
2071
+ "expose": true,
2072
+ "implementationHash": "503840d691b65285",
2073
+ "title": "Update Dependency",
2074
+ "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.",
2075
+ "isDirectFunction": false,
2076
+ "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-console/src/functions/update-dependency.function.ts",
2077
+ "exportedName": "updateDependency",
2078
+ "bodyStart": 55,
2079
+ "bodyEnd": 80,
2080
+ "contractHash": "ee4066b2bd89d13b",
2081
+ "inputHash": "e06e601c",
2082
+ "outputHash": "99d1bee1"
2083
+ },
2084
+ "updateEmailTemplate": {
2085
+ "pikkuFuncId": "updateEmailTemplate",
2086
+ "functionType": "user",
2087
+ "funcWrapper": "pikkuFunc",
2088
+ "sessionless": false,
2089
+ "name": "updateEmailTemplate",
2090
+ "services": {
2091
+ "optimized": true,
2092
+ "services": [
2093
+ "metaService",
2094
+ "codeEditService"
2095
+ ]
2096
+ },
2097
+ "inputSchemaName": "UpdateEmailTemplateInput",
2098
+ "outputSchemaName": "UpdateEmailTemplateOutput",
2099
+ "inputs": [
2100
+ "UpdateEmailTemplateInput"
2101
+ ],
2102
+ "outputs": [
2103
+ "UpdateEmailTemplateOutput"
2104
+ ],
2105
+ "expose": true,
2106
+ "implementationHash": "4a2441228957cd55",
2107
+ "title": "Update Email Template",
2108
+ "description": "Overwrites an email template HTML source file (templates/<name>.html) so small edits can be made from the console.",
2109
+ "isDirectFunction": false,
2110
+ "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-console/src/functions/update-email-template.function.ts",
2111
+ "exportedName": "updateEmailTemplate",
2112
+ "bodyStart": 17,
2113
+ "bodyEnd": 36,
2114
+ "contractHash": "46dfb6154b42f5ab",
2115
+ "inputHash": "906d8ace",
2116
+ "outputHash": "70750a6d"
2117
+ },
2118
+ "updateFunctionBody": {
2119
+ "pikkuFuncId": "updateFunctionBody",
2120
+ "functionType": "user",
2121
+ "funcWrapper": "pikkuFunc",
2122
+ "sessionless": false,
2123
+ "name": "updateFunctionBody",
2124
+ "services": {
2125
+ "optimized": true,
2126
+ "services": [
2127
+ "codeEditService"
2128
+ ]
2129
+ },
2130
+ "inputSchemaName": "UpdateFunctionBodyInput",
2131
+ "outputSchemaName": "UpdateFunctionBodyOutput",
2132
+ "inputs": [
2133
+ "UpdateFunctionBodyInput"
2134
+ ],
2135
+ "outputs": [
2136
+ "UpdateFunctionBodyOutput"
2137
+ ],
2138
+ "expose": true,
2139
+ "implementationHash": "3001bc333b44c279",
2140
+ "title": "Update Function Body",
2141
+ "description": "Replaces the function body of a pikku function definition in source code and triggers a rebuild.",
2142
+ "isDirectFunction": false,
2143
+ "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-console/src/functions/update-function-body.function.ts",
2144
+ "exportedName": "updateFunctionBody",
2145
+ "bodyStart": 17,
2146
+ "bodyEnd": 23,
2147
+ "contractHash": "9dc1d4a5073b638e",
2148
+ "inputHash": "427fe696",
2149
+ "outputHash": "b13cf220"
2150
+ },
2151
+ "updateFunctionConfig": {
2152
+ "pikkuFuncId": "updateFunctionConfig",
2153
+ "functionType": "user",
2154
+ "funcWrapper": "pikkuFunc",
2155
+ "sessionless": false,
2156
+ "name": "updateFunctionConfig",
2157
+ "services": {
2158
+ "optimized": true,
2159
+ "services": [
2160
+ "codeEditService"
2161
+ ]
2162
+ },
2163
+ "inputSchemaName": "UpdateFunctionConfigInput",
2164
+ "outputSchemaName": "UpdateFunctionConfigOutput",
2165
+ "inputs": [
2166
+ "UpdateFunctionConfigInput"
2167
+ ],
2168
+ "outputs": [
2169
+ "UpdateFunctionConfigOutput"
2170
+ ],
2171
+ "expose": true,
2172
+ "implementationHash": "48e28b2888b17755",
2173
+ "title": "Update Function Config",
2174
+ "description": "Updates the config properties of a pikku function definition in source code and triggers a rebuild.",
2175
+ "isDirectFunction": false,
2176
+ "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-console/src/functions/update-function-config.function.ts",
2177
+ "exportedName": "updateFunctionConfig",
2178
+ "bodyStart": 18,
2179
+ "bodyEnd": 28,
2180
+ "contractHash": "2e204aca2e325395",
2181
+ "inputHash": "9cdb162e",
2182
+ "outputHash": "223c95b6"
2183
+ }
2184
+ }