@pikku/addon-ollama 0.1.1 → 0.1.3

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 (268) hide show
  1. package/.pikku/addon/pikku-addon-types.gen.ts +105 -0
  2. package/.pikku/addon/pikku-package.gen.ts +11 -0
  3. package/.pikku/agent/pikku-agent-map.gen.d.ts +4 -0
  4. package/.pikku/agent/pikku-agent-types.gen.ts +84 -0
  5. package/.pikku/channel/pikku-channel-types.gen.ts +177 -0
  6. package/.pikku/console/pikku-addon-meta.gen.json +61 -0
  7. package/.pikku/console/pikku-node-types.gen.ts +8 -0
  8. package/.pikku/function/pikku-function-types.gen.ts +797 -0
  9. package/.pikku/function/pikku-functions-meta-verbose.gen.json +126 -0
  10. package/.pikku/function/pikku-functions-meta.gen.json +102 -0
  11. package/.pikku/function/pikku-functions-meta.gen.ts +7 -0
  12. package/.pikku/function/pikku-functions.gen.ts +14 -0
  13. package/.pikku/http/pikku-http-types.gen.ts +119 -0
  14. package/.pikku/mcp/pikku-mcp-types.gen.ts +183 -0
  15. package/.pikku/pikku-bootstrap-scenarios.gen.ts +9 -0
  16. package/.pikku/pikku-bootstrap.gen.ts +8 -0
  17. package/.pikku/pikku-meta-service.gen.ts +10 -0
  18. package/.pikku/pikku-services.gen.ts +50 -0
  19. package/.pikku/pikku-types.gen.ts +24 -0
  20. package/.pikku/queue/pikku-queue-types.gen.ts +27 -0
  21. package/.pikku/rpc/pikku-rpc-wirings-map.gen.d.ts +207 -0
  22. package/.pikku/rpc/pikku-rpc-wirings-map.internal.gen.d.ts +211 -0
  23. package/.pikku/rpc/pikku-rpc-wirings-map.remote.gen.d.ts +207 -0
  24. package/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.json +6 -0
  25. package/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.ts +6 -0
  26. package/.pikku/scenarios/features.gen.json +1 -0
  27. package/.pikku/scenarios/pikku-scenario-functions-meta.gen.json +1 -0
  28. package/.pikku/scenarios/pikku-scenario-functions-meta.gen.ts +12 -0
  29. package/.pikku/scenarios/pikku-scenario-functions.gen.ts +4 -0
  30. package/.pikku/scenarios/pikku-scenario-wirings-meta.gen.ts +15 -0
  31. package/.pikku/scenarios/pikku-scenario-wirings.gen.ts +4 -0
  32. package/.pikku/scenarios/schemas/register.gen.ts +4 -0
  33. package/.pikku/scheduler/pikku-scheduler-types.gen.ts +25 -0
  34. package/.pikku/schemas/register.gen.ts +39 -0
  35. package/.pikku/schemas/schemas/OllamaEmbedInput.schema.json +1 -0
  36. package/.pikku/schemas/schemas/OllamaEmbedManyInput.schema.json +1 -0
  37. package/.pikku/schemas/schemas/OllamaEmbedManyOutput.schema.json +1 -0
  38. package/.pikku/schemas/schemas/OllamaEmbedOutput.schema.json +1 -0
  39. package/.pikku/schemas/schemas/OllamaGenerateObjectInput.schema.json +1 -0
  40. package/.pikku/schemas/schemas/OllamaGenerateObjectOutput.schema.json +1 -0
  41. package/.pikku/schemas/schemas/OllamaGenerateTextInput.schema.json +1 -0
  42. package/.pikku/schemas/schemas/OllamaGenerateTextOutput.schema.json +1 -0
  43. package/.pikku/schemas/schemas/VariableSchema_ollama_base_url.schema.json +1 -0
  44. package/.pikku/scopes/pikku-personas-meta.gen.json +1 -0
  45. package/.pikku/scopes/pikku-personas.gen.ts +52 -0
  46. package/.pikku/scopes/pikku-roles-meta.gen.json +1 -0
  47. package/.pikku/scopes/pikku-roles.gen.ts +41 -0
  48. package/.pikku/scopes/pikku-scope-types.gen.ts +7 -0
  49. package/.pikku/scopes/pikku-scopes-meta.gen.json +1 -0
  50. package/.pikku/scopes/pikku-scopes.gen.ts +58 -0
  51. package/.pikku/secrets/pikku-secret-types.gen.ts +5 -0
  52. package/.pikku/secrets/pikku-secrets-meta.gen.json +1 -0
  53. package/.pikku/secrets/pikku-secrets.gen.ts +34 -0
  54. package/.pikku/trigger/pikku-trigger-types.gen.ts +160 -0
  55. package/.pikku/variables/pikku-variable-types.gen.ts +5 -0
  56. package/.pikku/variables/pikku-variables-meta.gen.json +10 -0
  57. package/.pikku/variables/pikku-variables.gen.ts +36 -0
  58. package/.pikku/workflow/personas.gen.json +1 -0
  59. package/.pikku/workflow/pikku-personas.gen.ts +38 -0
  60. package/.pikku/workflow/pikku-scenario-step-map.gen.d.ts +18 -0
  61. package/.pikku/workflow/pikku-workflow-map.gen.d.ts +38 -0
  62. package/.pikku/workflow/pikku-workflow-types.gen.ts +591 -0
  63. package/.pikku/workflow/pikku-workflow-wirings-meta.gen.ts +9 -0
  64. package/.pikku/workflow/pikku-workflow-wirings.gen.ts +3 -0
  65. package/dist/.pikku/addon/pikku-addon-types.gen.d.ts +4 -4
  66. package/dist/.pikku/addon/pikku-addon-types.gen.d.ts.map +1 -1
  67. package/dist/.pikku/addon/pikku-addon-types.gen.js +7 -3
  68. package/dist/.pikku/addon/pikku-addon-types.gen.js.map +1 -1
  69. package/dist/.pikku/addon/pikku-addon-types.gen.ts +11 -6
  70. package/dist/.pikku/addon/pikku-package.gen.js +2 -1
  71. package/dist/.pikku/addon/pikku-package.gen.js.map +1 -1
  72. package/dist/.pikku/addon/pikku-package.gen.ts +3 -1
  73. package/dist/.pikku/agent/pikku-agent-map.gen.d.ts +2 -14
  74. package/dist/.pikku/agent/pikku-agent-types.gen.d.ts +8 -6
  75. package/dist/.pikku/agent/pikku-agent-types.gen.d.ts.map +1 -1
  76. package/dist/.pikku/agent/pikku-agent-types.gen.js.map +1 -1
  77. package/dist/.pikku/agent/pikku-agent-types.gen.ts +15 -7
  78. package/dist/.pikku/channel/pikku-channel-types.gen.d.ts +112 -0
  79. package/dist/.pikku/channel/pikku-channel-types.gen.d.ts.map +1 -0
  80. package/dist/.pikku/channel/pikku-channel-types.gen.js +60 -0
  81. package/dist/.pikku/channel/pikku-channel-types.gen.js.map +1 -0
  82. package/dist/.pikku/channel/pikku-channel-types.gen.ts +177 -0
  83. package/dist/.pikku/console/pikku-addon-meta.gen.json +31 -28
  84. package/dist/.pikku/console/pikku-node-types.gen.d.ts +1 -1
  85. package/dist/.pikku/console/pikku-node-types.gen.ts +1 -1
  86. package/dist/.pikku/function/pikku-function-types.gen.d.ts +133 -133
  87. package/dist/.pikku/function/pikku-function-types.gen.d.ts.map +1 -1
  88. package/dist/.pikku/function/pikku-function-types.gen.js +98 -61
  89. package/dist/.pikku/function/pikku-function-types.gen.js.map +1 -1
  90. package/dist/.pikku/function/pikku-function-types.gen.ts +268 -157
  91. package/dist/.pikku/function/pikku-functions-meta-verbose.gen.json +64 -44
  92. package/dist/.pikku/function/pikku-functions-meta.gen.js +1 -1
  93. package/dist/.pikku/function/pikku-functions-meta.gen.json +67 -39
  94. package/dist/.pikku/function/pikku-functions-meta.gen.ts +1 -1
  95. package/dist/.pikku/function/pikku-functions.gen.js +2 -2
  96. package/dist/.pikku/function/pikku-functions.gen.js.map +1 -1
  97. package/dist/.pikku/function/pikku-functions.gen.ts +2 -2
  98. package/dist/.pikku/http/pikku-http-types.gen.d.ts +98 -0
  99. package/dist/.pikku/http/pikku-http-types.gen.d.ts.map +1 -0
  100. package/dist/.pikku/http/pikku-http-types.gen.js +50 -0
  101. package/dist/.pikku/http/pikku-http-types.gen.js.map +1 -0
  102. package/dist/.pikku/http/pikku-http-types.gen.ts +119 -0
  103. package/dist/.pikku/mcp/pikku-mcp-types.gen.d.ts +131 -0
  104. package/dist/.pikku/mcp/pikku-mcp-types.gen.d.ts.map +1 -0
  105. package/dist/.pikku/mcp/pikku-mcp-types.gen.js +38 -0
  106. package/dist/.pikku/mcp/pikku-mcp-types.gen.js.map +1 -0
  107. package/dist/.pikku/mcp/pikku-mcp-types.gen.ts +183 -0
  108. package/dist/.pikku/pikku-bootstrap-scenarios.gen.d.ts +10 -0
  109. package/dist/.pikku/pikku-bootstrap-scenarios.gen.d.ts.map +1 -0
  110. package/dist/.pikku/pikku-bootstrap-scenarios.gen.js +10 -0
  111. package/dist/.pikku/pikku-bootstrap-scenarios.gen.js.map +1 -0
  112. package/dist/.pikku/pikku-bootstrap-scenarios.gen.ts +9 -0
  113. package/dist/.pikku/pikku-bootstrap.gen.d.ts +4 -2
  114. package/dist/.pikku/pikku-bootstrap.gen.d.ts.map +1 -1
  115. package/dist/.pikku/pikku-bootstrap.gen.js +2 -10
  116. package/dist/.pikku/pikku-bootstrap.gen.js.map +1 -1
  117. package/dist/.pikku/pikku-bootstrap.gen.ts +2 -9
  118. package/dist/.pikku/pikku-meta-service.gen.d.ts +8 -0
  119. package/dist/.pikku/pikku-meta-service.gen.d.ts.map +1 -0
  120. package/dist/.pikku/pikku-meta-service.gen.js +10 -0
  121. package/dist/.pikku/pikku-meta-service.gen.js.map +1 -0
  122. package/dist/.pikku/pikku-meta-service.gen.ts +10 -0
  123. package/dist/.pikku/pikku-services.gen.d.ts +15 -2
  124. package/dist/.pikku/pikku-services.gen.d.ts.map +1 -1
  125. package/dist/.pikku/pikku-services.gen.js +14 -0
  126. package/dist/.pikku/pikku-services.gen.js.map +1 -1
  127. package/dist/.pikku/pikku-services.gen.ts +17 -2
  128. package/dist/.pikku/pikku-types.gen.d.ts +2 -1
  129. package/dist/.pikku/pikku-types.gen.d.ts.map +1 -1
  130. package/dist/.pikku/pikku-types.gen.js +3 -1
  131. package/dist/.pikku/pikku-types.gen.js.map +1 -1
  132. package/dist/.pikku/pikku-types.gen.ts +4 -1
  133. package/dist/.pikku/queue/pikku-queue-types.gen.d.ts +24 -0
  134. package/dist/.pikku/queue/pikku-queue-types.gen.d.ts.map +1 -0
  135. package/dist/.pikku/queue/pikku-queue-types.gen.js +17 -0
  136. package/dist/.pikku/queue/pikku-queue-types.gen.js.map +1 -0
  137. package/dist/.pikku/queue/pikku-queue-types.gen.ts +27 -0
  138. package/dist/.pikku/rpc/pikku-rpc-wirings-map.gen.d.ts +81 -62
  139. package/dist/.pikku/rpc/pikku-rpc-wirings-map.internal.gen.d.ts +84 -65
  140. package/dist/.pikku/rpc/pikku-rpc-wirings-map.remote.gen.d.ts +207 -0
  141. package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.d.ts +2 -0
  142. package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.d.ts.map +1 -0
  143. package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.js +7 -0
  144. package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.js.map +1 -0
  145. package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.json +6 -0
  146. package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.ts +6 -0
  147. package/dist/.pikku/scenarios/features.gen.json +1 -0
  148. package/dist/.pikku/scenarios/pikku-scenario-functions-meta.gen.d.ts +2 -0
  149. package/dist/.pikku/scenarios/pikku-scenario-functions-meta.gen.d.ts.map +1 -0
  150. package/dist/.pikku/scenarios/pikku-scenario-functions-meta.gen.js +11 -0
  151. package/dist/.pikku/scenarios/pikku-scenario-functions-meta.gen.js.map +1 -0
  152. package/dist/.pikku/scenarios/pikku-scenario-functions-meta.gen.json +1 -0
  153. package/dist/.pikku/scenarios/pikku-scenario-functions-meta.gen.ts +12 -0
  154. package/dist/.pikku/scenarios/pikku-scenario-functions.gen.d.ts +5 -0
  155. package/dist/.pikku/scenarios/pikku-scenario-functions.gen.d.ts.map +1 -0
  156. package/dist/.pikku/scenarios/pikku-scenario-functions.gen.js +2 -0
  157. package/dist/.pikku/scenarios/pikku-scenario-functions.gen.js.map +1 -0
  158. package/dist/.pikku/scenarios/pikku-scenario-functions.gen.ts +4 -0
  159. package/dist/.pikku/scenarios/pikku-scenario-wirings-meta.gen.d.ts +2 -0
  160. package/dist/.pikku/scenarios/pikku-scenario-wirings-meta.gen.d.ts.map +1 -0
  161. package/dist/.pikku/scenarios/pikku-scenario-wirings-meta.gen.js +11 -0
  162. package/dist/.pikku/scenarios/pikku-scenario-wirings-meta.gen.js.map +1 -0
  163. package/dist/.pikku/scenarios/pikku-scenario-wirings-meta.gen.ts +15 -0
  164. package/dist/.pikku/scenarios/pikku-scenario-wirings.gen.d.ts +5 -0
  165. package/dist/.pikku/scenarios/pikku-scenario-wirings.gen.d.ts.map +1 -0
  166. package/dist/.pikku/scenarios/pikku-scenario-wirings.gen.js +2 -0
  167. package/dist/.pikku/scenarios/pikku-scenario-wirings.gen.js.map +1 -0
  168. package/dist/.pikku/scenarios/pikku-scenario-wirings.gen.ts +4 -0
  169. package/dist/.pikku/scenarios/schemas/register.gen.d.ts +5 -0
  170. package/dist/.pikku/scenarios/schemas/register.gen.d.ts.map +1 -0
  171. package/dist/.pikku/scenarios/schemas/register.gen.js +5 -0
  172. package/dist/.pikku/scenarios/schemas/register.gen.js.map +1 -0
  173. package/dist/.pikku/scenarios/schemas/register.gen.ts +4 -0
  174. package/dist/.pikku/scheduler/pikku-scheduler-types.gen.d.ts +22 -0
  175. package/dist/.pikku/scheduler/pikku-scheduler-types.gen.d.ts.map +1 -0
  176. package/dist/.pikku/scheduler/pikku-scheduler-types.gen.js +17 -0
  177. package/dist/.pikku/scheduler/pikku-scheduler-types.gen.js.map +1 -0
  178. package/dist/.pikku/scheduler/pikku-scheduler-types.gen.ts +25 -0
  179. package/dist/.pikku/schemas/register.gen.js +11 -11
  180. package/dist/.pikku/schemas/register.gen.js.map +1 -1
  181. package/dist/.pikku/schemas/register.gen.ts +17 -17
  182. package/dist/.pikku/scopes/pikku-personas-meta.gen.json +1 -0
  183. package/dist/.pikku/scopes/pikku-personas.gen.d.ts +37 -0
  184. package/dist/.pikku/scopes/pikku-personas.gen.d.ts.map +1 -0
  185. package/dist/.pikku/scopes/pikku-personas.gen.js +18 -0
  186. package/dist/.pikku/scopes/pikku-personas.gen.js.map +1 -0
  187. package/dist/.pikku/scopes/pikku-personas.gen.ts +52 -0
  188. package/dist/.pikku/scopes/pikku-roles-meta.gen.json +1 -0
  189. package/dist/.pikku/scopes/pikku-roles.gen.d.ts +31 -0
  190. package/dist/.pikku/scopes/pikku-roles.gen.d.ts.map +1 -0
  191. package/dist/.pikku/scopes/pikku-roles.gen.js +19 -0
  192. package/dist/.pikku/scopes/pikku-roles.gen.js.map +1 -0
  193. package/dist/.pikku/scopes/pikku-roles.gen.ts +41 -0
  194. package/dist/.pikku/scopes/pikku-scope-types.gen.d.ts +8 -0
  195. package/dist/.pikku/scopes/pikku-scope-types.gen.d.ts.map +1 -0
  196. package/dist/.pikku/scopes/pikku-scope-types.gen.js +6 -0
  197. package/dist/.pikku/scopes/pikku-scope-types.gen.js.map +1 -0
  198. package/dist/.pikku/scopes/pikku-scope-types.gen.ts +7 -0
  199. package/dist/.pikku/scopes/pikku-scopes-meta.gen.json +1 -0
  200. package/dist/.pikku/scopes/pikku-scopes.gen.d.ts +36 -0
  201. package/dist/.pikku/scopes/pikku-scopes.gen.d.ts.map +1 -0
  202. package/dist/.pikku/scopes/pikku-scopes.gen.js +28 -0
  203. package/dist/.pikku/scopes/pikku-scopes.gen.js.map +1 -0
  204. package/dist/.pikku/scopes/pikku-scopes.gen.ts +58 -0
  205. package/dist/.pikku/secrets/pikku-secret-types.gen.d.ts +2 -2
  206. package/dist/.pikku/secrets/pikku-secret-types.gen.d.ts.map +1 -1
  207. package/dist/.pikku/secrets/pikku-secret-types.gen.js +2 -2
  208. package/dist/.pikku/secrets/pikku-secret-types.gen.js.map +1 -1
  209. package/dist/.pikku/secrets/pikku-secret-types.gen.ts +2 -2
  210. package/dist/.pikku/secrets/pikku-secrets.gen.d.ts +11 -1
  211. package/dist/.pikku/secrets/pikku-secrets.gen.d.ts.map +1 -1
  212. package/dist/.pikku/secrets/pikku-secrets.gen.js +11 -1
  213. package/dist/.pikku/secrets/pikku-secrets.gen.js.map +1 -1
  214. package/dist/.pikku/secrets/pikku-secrets.gen.ts +14 -1
  215. package/dist/.pikku/trigger/pikku-trigger-types.gen.d.ts +1 -1
  216. package/dist/.pikku/trigger/pikku-trigger-types.gen.js +1 -1
  217. package/dist/.pikku/trigger/pikku-trigger-types.gen.ts +1 -1
  218. package/dist/.pikku/variables/pikku-variable-types.gen.d.ts +2 -2
  219. package/dist/.pikku/variables/pikku-variable-types.gen.d.ts.map +1 -1
  220. package/dist/.pikku/variables/pikku-variable-types.gen.js +2 -2
  221. package/dist/.pikku/variables/pikku-variable-types.gen.js.map +1 -1
  222. package/dist/.pikku/variables/pikku-variable-types.gen.ts +2 -2
  223. package/dist/.pikku/variables/pikku-variables.gen.d.ts +11 -1
  224. package/dist/.pikku/variables/pikku-variables.gen.d.ts.map +1 -1
  225. package/dist/.pikku/variables/pikku-variables.gen.js +14 -4
  226. package/dist/.pikku/variables/pikku-variables.gen.js.map +1 -1
  227. package/dist/.pikku/variables/pikku-variables.gen.ts +17 -4
  228. package/dist/.pikku/workflow/personas.gen.json +1 -0
  229. package/dist/.pikku/workflow/pikku-personas.gen.d.ts +16 -0
  230. package/dist/.pikku/workflow/pikku-personas.gen.d.ts.map +1 -0
  231. package/dist/.pikku/workflow/pikku-personas.gen.js +18 -0
  232. package/dist/.pikku/workflow/pikku-personas.gen.js.map +1 -0
  233. package/dist/.pikku/workflow/pikku-personas.gen.ts +38 -0
  234. package/dist/.pikku/workflow/pikku-scenario-step-map.gen.d.ts +18 -0
  235. package/dist/.pikku/workflow/pikku-workflow-map.gen.d.ts +9 -5
  236. package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts +289 -31
  237. package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts.map +1 -1
  238. package/dist/.pikku/workflow/pikku-workflow-types.gen.js +66 -18
  239. package/dist/.pikku/workflow/pikku-workflow-types.gen.js.map +1 -1
  240. package/dist/.pikku/workflow/pikku-workflow-types.gen.ts +494 -61
  241. package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.js +1 -1
  242. package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.js.map +1 -1
  243. package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.ts +3 -3
  244. package/dist/.pikku/workflow/pikku-workflow-wirings.gen.d.ts +1 -1
  245. package/dist/.pikku/workflow/pikku-workflow-wirings.gen.js +1 -1
  246. package/dist/.pikku/workflow/pikku-workflow-wirings.gen.ts +1 -1
  247. package/dist/src/functions/embeddings/embed-many.function.d.ts +2 -2
  248. package/dist/src/functions/embeddings/embed-many.function.d.ts.map +1 -1
  249. package/dist/src/functions/embeddings/embed.function.d.ts +2 -2
  250. package/dist/src/functions/embeddings/embed.function.d.ts.map +1 -1
  251. package/dist/src/functions/text/generate-object.function.d.ts +7 -7
  252. package/dist/src/functions/text/generate-object.function.d.ts.map +1 -1
  253. package/dist/src/functions/text/generate.function.d.ts +2 -2
  254. package/dist/src/functions/text/generate.function.d.ts.map +1 -1
  255. package/dist/src/ollama.variable.js +2 -2
  256. package/dist/src/ollama.variable.js.map +1 -1
  257. package/package.json +7 -6
  258. package/dist/.pikku/agent/pikku-agent-wirings-meta.gen.d.ts +0 -2
  259. package/dist/.pikku/agent/pikku-agent-wirings-meta.gen.d.ts.map +0 -1
  260. package/dist/.pikku/agent/pikku-agent-wirings-meta.gen.js +0 -7
  261. package/dist/.pikku/agent/pikku-agent-wirings-meta.gen.js.map +0 -1
  262. package/dist/.pikku/agent/pikku-agent-wirings-meta.gen.json +0 -3
  263. package/dist/.pikku/agent/pikku-agent-wirings-meta.gen.ts +0 -7
  264. package/dist/.pikku/agent/pikku-agent-wirings.gen.d.ts +0 -5
  265. package/dist/.pikku/agent/pikku-agent-wirings.gen.d.ts.map +0 -1
  266. package/dist/.pikku/agent/pikku-agent-wirings.gen.js +0 -5
  267. package/dist/.pikku/agent/pikku-agent-wirings.gen.js.map +0 -1
  268. package/dist/.pikku/agent/pikku-agent-wirings.gen.ts +0 -3
@@ -0,0 +1,207 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.96
3
+ */
4
+ /**
5
+ * This provides the structure needed for typescript to be aware of RPCs and their return types
6
+ */
7
+
8
+
9
+
10
+
11
+
12
+ export type OllamaEmbedInput = {
13
+ /** The Ollama embedding model to use (e.g. "nomic-embed-text", "mxbai-embed-large") */
14
+ model: string;
15
+ /** The text to embed */
16
+ value: string;
17
+ }
18
+ export type OllamaEmbedManyInput = {
19
+ /** The Ollama embedding model to use (e.g. "nomic-embed-text", "mxbai-embed-large") */
20
+ model: string;
21
+ /** The texts to embed */
22
+ values: string[];
23
+ }
24
+ export type OllamaEmbedManyOutput = {
25
+ /** The embedding vectors */
26
+ embeddings: number[][];
27
+ /** Token usage statistics */
28
+ usage: {
29
+ /** Number of tokens used */
30
+ tokens: number;
31
+ };
32
+ }
33
+ export type OllamaEmbedOutput = {
34
+ /** The embedding vector */
35
+ embedding: number[];
36
+ /** Token usage statistics */
37
+ usage: {
38
+ /** Number of tokens used */
39
+ tokens: number;
40
+ };
41
+ }
42
+ export type OllamaGenerateObjectInput = {
43
+ /** The Ollama model to use (e.g. "llama3.2", "phi3:mini") */
44
+ model: string;
45
+ /** The prompt to generate a structured object from */
46
+ prompt?: string | undefined;
47
+ /** A list of messages comprising the conversation so far */
48
+ messages?: {
49
+ /** The role of the message author */
50
+ role: "system" | "user" | "assistant";
51
+ /** The contents of the message */
52
+ content: string;
53
+ }[] | undefined;
54
+ /** System message to set the behavior of the model */
55
+ system?: string | undefined;
56
+ /** JSON Schema describing the expected output object */
57
+ schema: {
58
+ [key: string]: any;
59
+ };
60
+ /** Optional name for the schema */
61
+ schemaName?: string | undefined;
62
+ /** Optional description of what the schema represents */
63
+ schemaDescription?: string | undefined;
64
+ /** Mode for object generation. Use "json" for models that do not support tools. */
65
+ mode?: ("auto" | "tool" | "json") | undefined;
66
+ /** Maximum number of tokens to generate */
67
+ maxTokens?: number | undefined;
68
+ /** Sampling temperature between 0 and 2 */
69
+ temperature?: number | undefined;
70
+ }
71
+ export type OllamaGenerateObjectOutput = {
72
+ /** The generated structured object */
73
+ object: any;
74
+ /** The reason the model stopped generating */
75
+ finishReason: string;
76
+ /** Token usage statistics */
77
+ usage: {
78
+ /** Number of tokens in the prompt */
79
+ promptTokens: number;
80
+ /** Number of tokens in the completion */
81
+ completionTokens: number;
82
+ /** Total number of tokens used */
83
+ totalTokens: number;
84
+ };
85
+ }
86
+ export type OllamaGenerateTextInput = {
87
+ /** The Ollama model to use (e.g. "llama3.2", "phi3:mini") */
88
+ model: string;
89
+ /** The prompt to generate text from */
90
+ prompt?: string | undefined;
91
+ /** A list of messages comprising the conversation so far */
92
+ messages?: {
93
+ /** The role of the message author */
94
+ role: "system" | "user" | "assistant";
95
+ /** The contents of the message */
96
+ content: string;
97
+ }[] | undefined;
98
+ /** System message to set the behavior of the model */
99
+ system?: string | undefined;
100
+ /** Maximum number of tokens to generate */
101
+ maxTokens?: number | undefined;
102
+ /** Sampling temperature between 0 and 2 */
103
+ temperature?: number | undefined;
104
+ /** Nucleus sampling parameter */
105
+ topP?: number | undefined;
106
+ /** Random seed for reproducible results */
107
+ seed?: number | undefined;
108
+ }
109
+ export type OllamaGenerateTextOutput = {
110
+ /** The generated text */
111
+ text: string;
112
+ /** The reason the model stopped generating */
113
+ finishReason: string;
114
+ /** Token usage statistics */
115
+ usage: {
116
+ /** Number of tokens in the prompt */
117
+ promptTokens: number;
118
+ /** Number of tokens in the completion */
119
+ completionTokens: number;
120
+ /** Total number of tokens used */
121
+ totalTokens: number;
122
+ };
123
+ }
124
+ export type VariableSchema_ollama_base_url = string
125
+
126
+ interface RPCHandler<I, O> {
127
+ input: I;
128
+ output: O;
129
+ }
130
+
131
+ export type RPCMap = {
132
+ };
133
+
134
+
135
+
136
+ // No addon packages, use RPCMap directly
137
+ export type FlattenedRPCMap = RPCMap
138
+
139
+ type IsAny<T> = 0 extends (1 & T) ? true : false
140
+ type IsVoidishInput<T> = IsAny<T> extends true
141
+ ? false
142
+ : [T] extends [void | null | undefined]
143
+ ? true
144
+ : false
145
+
146
+
147
+ export type RPCInvoke = <Name extends keyof FlattenedRPCMap>(
148
+ ...args: IsVoidishInput<FlattenedRPCMap[Name]['input']> extends true
149
+ ? [name: Name]
150
+ : [name: Name, data: FlattenedRPCMap[Name]['input']]
151
+ ) => Promise<FlattenedRPCMap[Name]['output']>
152
+
153
+ export type RPCRemote = <Name extends keyof FlattenedRPCMap>(
154
+ ...args: IsVoidishInput<FlattenedRPCMap[Name]['input']> extends true
155
+ ? [name: Name]
156
+ : [name: Name, data: FlattenedRPCMap[Name]['input']]
157
+ ) => Promise<FlattenedRPCMap[Name]['output']>
158
+
159
+ import type { FlattenedWorkflowMap } from '../workflow/pikku-workflow-map.gen.d.js'
160
+
161
+ import type { AgentMap } from '../agent/pikku-agent-map.gen.d.js'
162
+
163
+
164
+ type FlattenedAgentMap = AgentMap
165
+
166
+
167
+ import type { PikkuRPC } from '@pikku/core/rpc'
168
+
169
+ interface AIAgentInput {
170
+ message: string
171
+ threadId: string
172
+ resourceId: string
173
+ }
174
+
175
+ export type TypedStartWorkflow = <Name extends keyof FlattenedWorkflowMap>(
176
+ name: Name,
177
+ input: FlattenedWorkflowMap[Name]['input'],
178
+ options?: { startNode?: string }
179
+ ) => Promise<{ runId: string }>
180
+
181
+ export type TypedRunWorkflow = <Name extends keyof FlattenedWorkflowMap>(
182
+ name: Name,
183
+ input: FlattenedWorkflowMap[Name]['input']
184
+ ) => Promise<FlattenedWorkflowMap[Name]['output']>
185
+
186
+ export type TypedWorkflowStatus = (
187
+ workflowName: string,
188
+ runId: string
189
+ ) => Promise<{ id: string; status: 'running' | 'suspended' | 'completed' | 'failed' | 'cancelled'; output?: unknown; error?: { message?: string } }>
190
+
191
+ type TypedAgentRun = [keyof FlattenedAgentMap] extends [never]
192
+ ? (name: string, input: AIAgentInput) => Promise<any>
193
+ : <Name extends keyof FlattenedAgentMap>(
194
+ name: Name,
195
+ input: AIAgentInput
196
+ ) => Promise<{ runId: string; result: FlattenedAgentMap[Name]['output']; usage: { inputTokens: number; outputTokens: number } }>
197
+
198
+ type TypedAgentStream = [keyof FlattenedAgentMap] extends [never]
199
+ ? (name: string, input: AIAgentInput, options?: { requiresToolApproval?: 'all' | 'explicit' | false }) => Promise<void>
200
+ : <Name extends keyof FlattenedAgentMap>(
201
+ name: Name,
202
+ input: AIAgentInput,
203
+ options?: { requiresToolApproval?: 'all' | 'explicit' | false }
204
+ ) => Promise<void>
205
+
206
+ export type TypedPikkuRPC = PikkuRPC<RPCInvoke, RPCRemote, TypedStartWorkflow, TypedAgentRun, TypedAgentStream>
207
+
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=pikku-rpc-wirings-meta.internal.gen.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pikku-rpc-wirings-meta.internal.gen.d.ts","sourceRoot":"","sources":["../../../.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.ts"],"names":[],"mappings":""}
@@ -0,0 +1,7 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.96
3
+ */
4
+ import { pikkuState } from '@pikku/core/internal';
5
+ import metaData from './pikku-rpc-wirings-meta.internal.gen.json' with { type: 'json' };
6
+ pikkuState('@pikku/addon-ollama', 'rpc', 'meta', metaData);
7
+ //# sourceMappingURL=pikku-rpc-wirings-meta.internal.gen.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pikku-rpc-wirings-meta.internal.gen.js","sourceRoot":"","sources":["../../../.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AACjD,OAAO,QAAQ,MAAM,4CAA4C,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AACvF,UAAU,CAAC,qBAAqB,EAAE,KAAK,EAAE,MAAM,EAAE,QAAkC,CAAC,CAAA"}
@@ -0,0 +1,6 @@
1
+ {
2
+ "ollamaEmbedMany": "ollamaEmbedMany",
3
+ "ollamaEmbed": "ollamaEmbed",
4
+ "ollamaGenerateObject": "ollamaGenerateObject",
5
+ "ollamaGenerateText": "ollamaGenerateText"
6
+ }
@@ -0,0 +1,6 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.96
3
+ */
4
+ import { pikkuState } from '@pikku/core/internal'
5
+ import metaData from './pikku-rpc-wirings-meta.internal.gen.json' with { type: 'json' }
6
+ pikkuState('@pikku/addon-ollama', 'rpc', 'meta', metaData as Record<string, string>)
@@ -0,0 +1,2 @@
1
+ import '../function/pikku-functions-meta.gen.js';
2
+ //# sourceMappingURL=pikku-scenario-functions-meta.gen.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pikku-scenario-functions-meta.gen.d.ts","sourceRoot":"","sources":["../../../.pikku/scenarios/pikku-scenario-functions-meta.gen.ts"],"names":[],"mappings":"AAKA,OAAO,yCAAyC,CAAA"}
@@ -0,0 +1,11 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.96
3
+ */
4
+ import { pikkuState } from '@pikku/core/internal';
5
+ import '../function/pikku-functions-meta.gen.js';
6
+ import metaData from './pikku-scenario-functions-meta.gen.json' with { type: 'json' };
7
+ pikkuState('@pikku/addon-ollama', 'function', 'meta', {
8
+ ...pikkuState('@pikku/addon-ollama', 'function', 'meta'),
9
+ ...metaData,
10
+ });
11
+ //# sourceMappingURL=pikku-scenario-functions-meta.gen.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pikku-scenario-functions-meta.gen.js","sourceRoot":"","sources":["../../../.pikku/scenarios/pikku-scenario-functions-meta.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AAEjD,OAAO,yCAAyC,CAAA;AAChD,OAAO,QAAQ,MAAM,0CAA0C,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AAErF,UAAU,CAAC,qBAAqB,EAAE,UAAU,EAAE,MAAM,EAAE;IACpD,GAAG,UAAU,CAAC,qBAAqB,EAAE,UAAU,EAAE,MAAM,CAAC;IACxD,GAAI,QAA0B;CAC/B,CAAC,CAAA"}
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.96
3
+ */
4
+ import { pikkuState } from '@pikku/core/internal'
5
+ import type { FunctionsMeta } from '@pikku/core'
6
+ import '../function/pikku-functions-meta.gen.js'
7
+ import metaData from './pikku-scenario-functions-meta.gen.json' with { type: 'json' }
8
+
9
+ pikkuState('@pikku/addon-ollama', 'function', 'meta', {
10
+ ...pikkuState('@pikku/addon-ollama', 'function', 'meta'),
11
+ ...(metaData as FunctionsMeta),
12
+ })
@@ -0,0 +1,5 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.96
3
+ */
4
+ export {};
5
+ //# sourceMappingURL=pikku-scenario-functions.gen.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pikku-scenario-functions.gen.d.ts","sourceRoot":"","sources":["../../../.pikku/scenarios/pikku-scenario-functions.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,CAAA"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=pikku-scenario-functions.gen.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pikku-scenario-functions.gen.js","sourceRoot":"","sources":["../../../.pikku/scenarios/pikku-scenario-functions.gen.ts"],"names":[],"mappings":""}
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.96
3
+ */
4
+ export {}
@@ -0,0 +1,2 @@
1
+ import '../workflow/pikku-workflow-wirings-meta.gen.js';
2
+ //# sourceMappingURL=pikku-scenario-wirings-meta.gen.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pikku-scenario-wirings-meta.gen.d.ts","sourceRoot":"","sources":["../../../.pikku/scenarios/pikku-scenario-wirings-meta.gen.ts"],"names":[],"mappings":"AAKA,OAAO,gDAAgD,CAAA"}
@@ -0,0 +1,11 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.96
3
+ */
4
+ import { pikkuState } from '@pikku/core/internal';
5
+ import '../workflow/pikku-workflow-wirings-meta.gen.js';
6
+ const scenariosMeta = {};
7
+ pikkuState('@pikku/addon-ollama', 'workflows', 'meta', {
8
+ ...pikkuState('@pikku/addon-ollama', 'workflows', 'meta'),
9
+ ...scenariosMeta,
10
+ });
11
+ //# sourceMappingURL=pikku-scenario-wirings-meta.gen.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pikku-scenario-wirings-meta.gen.js","sourceRoot":"","sources":["../../../.pikku/scenarios/pikku-scenario-wirings-meta.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AAEjD,OAAO,gDAAgD,CAAA;AAEvD,MAAM,aAAa,GAAG,EAEG,CAAA;AAEzB,UAAU,CAAC,qBAAqB,EAAE,WAAW,EAAE,MAAM,EAAE;IACrD,GAAG,UAAU,CAAC,qBAAqB,EAAE,WAAW,EAAE,MAAM,CAAC;IACzD,GAAG,aAAa;CACjB,CAAC,CAAA"}
@@ -0,0 +1,15 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.96
3
+ */
4
+ import { pikkuState } from '@pikku/core/internal'
5
+ import type { WorkflowsRuntimeMeta } from '@pikku/core/workflow/types'
6
+ import '../workflow/pikku-workflow-wirings-meta.gen.js'
7
+
8
+ const scenariosMeta = {
9
+
10
+ } as WorkflowsRuntimeMeta
11
+
12
+ pikkuState('@pikku/addon-ollama', 'workflows', 'meta', {
13
+ ...pikkuState('@pikku/addon-ollama', 'workflows', 'meta'),
14
+ ...scenariosMeta,
15
+ })
@@ -0,0 +1,5 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.96
3
+ */
4
+ export {};
5
+ //# sourceMappingURL=pikku-scenario-wirings.gen.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pikku-scenario-wirings.gen.d.ts","sourceRoot":"","sources":["../../../.pikku/scenarios/pikku-scenario-wirings.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,CAAA"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=pikku-scenario-wirings.gen.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pikku-scenario-wirings.gen.js","sourceRoot":"","sources":["../../../.pikku/scenarios/pikku-scenario-wirings.gen.ts"],"names":[],"mappings":""}
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.96
3
+ */
4
+ export {}
@@ -0,0 +1,5 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.96
3
+ */
4
+ export declare const empty: null;
5
+ //# sourceMappingURL=register.gen.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"register.gen.d.ts","sourceRoot":"","sources":["../../../../.pikku/scenarios/schemas/register.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,eAAO,MAAM,KAAK,MAAO,CAAC"}
@@ -0,0 +1,5 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.96
3
+ */
4
+ export const empty = null;
5
+ //# sourceMappingURL=register.gen.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"register.gen.js","sourceRoot":"","sources":["../../../../.pikku/scenarios/schemas/register.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,CAAC,MAAM,KAAK,GAAG,IAAI,CAAC"}
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.96
3
+ */
4
+ export const empty = null;
@@ -0,0 +1,22 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.96
3
+ */
4
+ /**
5
+ * Scheduler-specific type definitions for tree-shaking optimization
6
+ */
7
+ import { CoreScheduledTask } from '@pikku/core/scheduler';
8
+ import type { PikkuFunctionConfig, PikkuMiddleware } from '../function/pikku-function-types.gen.js';
9
+ /**
10
+ * Type definition for scheduled tasks that run at specified intervals.
11
+ * These are sessionless functions that execute based on cron expressions.
12
+ */
13
+ type SchedulerWiring = CoreScheduledTask<PikkuFunctionConfig<void, void, 'session' | 'rpc'>, PikkuMiddleware>;
14
+ /**
15
+ * Registers a scheduled task with the Pikku framework.
16
+ * Tasks run based on cron expressions and are sessionless.
17
+ *
18
+ * @param task - Scheduled task definition with cron expression and handler
19
+ */
20
+ export declare const wireScheduler: (task: SchedulerWiring) => void;
21
+ export {};
22
+ //# sourceMappingURL=pikku-scheduler-types.gen.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pikku-scheduler-types.gen.d.ts","sourceRoot":"","sources":["../../../.pikku/scheduler/pikku-scheduler-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAEH,OAAO,EAAE,iBAAiB,EAAsC,MAAM,uBAAuB,CAAA;AAC7F,OAAO,KAAK,EAAE,mBAAmB,EAAE,eAAe,EAAE,MAAM,yCAAyC,CAAA;AAEnG;;;GAGG;AACH,KAAK,eAAe,GAAG,iBAAiB,CAAC,mBAAmB,CAAC,IAAI,EAAE,IAAI,EAAE,SAAS,GAAG,KAAK,CAAC,EAAE,eAAe,CAAC,CAAA;AAE7G;;;;;GAKG;AACH,eAAO,MAAM,aAAa,GAAI,MAAM,eAAe,SAElD,CAAA"}
@@ -0,0 +1,17 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.96
3
+ */
4
+ /**
5
+ * Scheduler-specific type definitions for tree-shaking optimization
6
+ */
7
+ import { wireScheduler as wireSchedulerCore } from '@pikku/core/scheduler';
8
+ /**
9
+ * Registers a scheduled task with the Pikku framework.
10
+ * Tasks run based on cron expressions and are sessionless.
11
+ *
12
+ * @param task - Scheduled task definition with cron expression and handler
13
+ */
14
+ export const wireScheduler = (task) => {
15
+ wireSchedulerCore(task);
16
+ };
17
+ //# sourceMappingURL=pikku-scheduler-types.gen.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pikku-scheduler-types.gen.js","sourceRoot":"","sources":["../../../.pikku/scheduler/pikku-scheduler-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAEH,OAAO,EAAqB,aAAa,IAAI,iBAAiB,EAAE,MAAM,uBAAuB,CAAA;AAS7F;;;;;GAKG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,IAAqB,EAAE,EAAE;IACrD,iBAAiB,CAAC,IAAW,CAAC,CAAA;AAChC,CAAC,CAAA"}
@@ -0,0 +1,25 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.96
3
+ */
4
+ /**
5
+ * Scheduler-specific type definitions for tree-shaking optimization
6
+ */
7
+
8
+ import { CoreScheduledTask, wireScheduler as wireSchedulerCore } from '@pikku/core/scheduler'
9
+ import type { PikkuFunctionConfig, PikkuMiddleware } from '../function/pikku-function-types.gen.js'
10
+
11
+ /**
12
+ * Type definition for scheduled tasks that run at specified intervals.
13
+ * These are sessionless functions that execute based on cron expressions.
14
+ */
15
+ type SchedulerWiring = CoreScheduledTask<PikkuFunctionConfig<void, void, 'session' | 'rpc'>, PikkuMiddleware>
16
+
17
+ /**
18
+ * Registers a scheduled task with the Pikku framework.
19
+ * Tasks run based on cron expressions and are sessionless.
20
+ *
21
+ * @param task - Scheduled task definition with cron expression and handler
22
+ */
23
+ export const wireScheduler = (task: SchedulerWiring) => {
24
+ wireSchedulerCore(task as any)
25
+ }
@@ -1,23 +1,23 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.6
2
+ * This file was generated by @pikku/cli@0.12.96
3
3
  */
4
4
  import { addSchema } from '@pikku/core/schema';
5
- import * as OllamaGenerateTextInput from './schemas/OllamaGenerateTextInput.schema.json' with { type: 'json' };
6
- addSchema('OllamaGenerateTextInput', OllamaGenerateTextInput, '@pikku/addon-ollama');
7
- import * as OllamaGenerateTextOutput from './schemas/OllamaGenerateTextOutput.schema.json' with { type: 'json' };
8
- addSchema('OllamaGenerateTextOutput', OllamaGenerateTextOutput, '@pikku/addon-ollama');
9
- import * as OllamaGenerateObjectInput from './schemas/OllamaGenerateObjectInput.schema.json' with { type: 'json' };
10
- addSchema('OllamaGenerateObjectInput', OllamaGenerateObjectInput, '@pikku/addon-ollama');
11
- import * as OllamaGenerateObjectOutput from './schemas/OllamaGenerateObjectOutput.schema.json' with { type: 'json' };
12
- addSchema('OllamaGenerateObjectOutput', OllamaGenerateObjectOutput, '@pikku/addon-ollama');
13
5
  import * as OllamaEmbedInput from './schemas/OllamaEmbedInput.schema.json' with { type: 'json' };
14
6
  addSchema('OllamaEmbedInput', OllamaEmbedInput, '@pikku/addon-ollama');
15
- import * as OllamaEmbedOutput from './schemas/OllamaEmbedOutput.schema.json' with { type: 'json' };
16
- addSchema('OllamaEmbedOutput', OllamaEmbedOutput, '@pikku/addon-ollama');
17
7
  import * as OllamaEmbedManyInput from './schemas/OllamaEmbedManyInput.schema.json' with { type: 'json' };
18
8
  addSchema('OllamaEmbedManyInput', OllamaEmbedManyInput, '@pikku/addon-ollama');
19
9
  import * as OllamaEmbedManyOutput from './schemas/OllamaEmbedManyOutput.schema.json' with { type: 'json' };
20
10
  addSchema('OllamaEmbedManyOutput', OllamaEmbedManyOutput, '@pikku/addon-ollama');
11
+ import * as OllamaEmbedOutput from './schemas/OllamaEmbedOutput.schema.json' with { type: 'json' };
12
+ addSchema('OllamaEmbedOutput', OllamaEmbedOutput, '@pikku/addon-ollama');
13
+ import * as OllamaGenerateObjectInput from './schemas/OllamaGenerateObjectInput.schema.json' with { type: 'json' };
14
+ addSchema('OllamaGenerateObjectInput', OllamaGenerateObjectInput, '@pikku/addon-ollama');
15
+ import * as OllamaGenerateObjectOutput from './schemas/OllamaGenerateObjectOutput.schema.json' with { type: 'json' };
16
+ addSchema('OllamaGenerateObjectOutput', OllamaGenerateObjectOutput, '@pikku/addon-ollama');
17
+ import * as OllamaGenerateTextInput from './schemas/OllamaGenerateTextInput.schema.json' with { type: 'json' };
18
+ addSchema('OllamaGenerateTextInput', OllamaGenerateTextInput, '@pikku/addon-ollama');
19
+ import * as OllamaGenerateTextOutput from './schemas/OllamaGenerateTextOutput.schema.json' with { type: 'json' };
20
+ addSchema('OllamaGenerateTextOutput', OllamaGenerateTextOutput, '@pikku/addon-ollama');
21
21
  import * as VariableSchema_ollama_base_url from './schemas/VariableSchema_ollama_base_url.schema.json' with { type: 'json' };
22
22
  addSchema('VariableSchema_ollama_base_url', VariableSchema_ollama_base_url, '@pikku/addon-ollama');
23
23
  //# sourceMappingURL=register.gen.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"register.gen.js","sourceRoot":"","sources":["../../../.pikku/schemas/register.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAA;AAE9C,OAAO,KAAK,uBAAuB,MAAM,+CAA+C,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AAC9G,SAAS,CAAC,yBAAyB,EAAE,uBAAuB,EAAE,qBAAqB,CAAC,CAAA;AAGpF,OAAO,KAAK,wBAAwB,MAAM,gDAAgD,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AAChH,SAAS,CAAC,0BAA0B,EAAE,wBAAwB,EAAE,qBAAqB,CAAC,CAAA;AAGtF,OAAO,KAAK,yBAAyB,MAAM,iDAAiD,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AAClH,SAAS,CAAC,2BAA2B,EAAE,yBAAyB,EAAE,qBAAqB,CAAC,CAAA;AAGxF,OAAO,KAAK,0BAA0B,MAAM,kDAAkD,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AACpH,SAAS,CAAC,4BAA4B,EAAE,0BAA0B,EAAE,qBAAqB,CAAC,CAAA;AAG1F,OAAO,KAAK,gBAAgB,MAAM,wCAAwC,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AAChG,SAAS,CAAC,kBAAkB,EAAE,gBAAgB,EAAE,qBAAqB,CAAC,CAAA;AAGtE,OAAO,KAAK,iBAAiB,MAAM,yCAAyC,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AAClG,SAAS,CAAC,mBAAmB,EAAE,iBAAiB,EAAE,qBAAqB,CAAC,CAAA;AAGxE,OAAO,KAAK,oBAAoB,MAAM,4CAA4C,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AACxG,SAAS,CAAC,sBAAsB,EAAE,oBAAoB,EAAE,qBAAqB,CAAC,CAAA;AAG9E,OAAO,KAAK,qBAAqB,MAAM,6CAA6C,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AAC1G,SAAS,CAAC,uBAAuB,EAAE,qBAAqB,EAAE,qBAAqB,CAAC,CAAA;AAGhF,OAAO,KAAK,8BAA8B,MAAM,sDAAsD,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AAC5H,SAAS,CAAC,gCAAgC,EAAE,8BAA8B,EAAE,qBAAqB,CAAC,CAAA"}
1
+ {"version":3,"file":"register.gen.js","sourceRoot":"","sources":["../../../.pikku/schemas/register.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAA;AAE9C,OAAO,KAAK,gBAAgB,MAAM,wCAAwC,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AAChG,SAAS,CAAC,kBAAkB,EAAE,gBAAgB,EAAE,qBAAqB,CAAC,CAAA;AAGtE,OAAO,KAAK,oBAAoB,MAAM,4CAA4C,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AACxG,SAAS,CAAC,sBAAsB,EAAE,oBAAoB,EAAE,qBAAqB,CAAC,CAAA;AAG9E,OAAO,KAAK,qBAAqB,MAAM,6CAA6C,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AAC1G,SAAS,CAAC,uBAAuB,EAAE,qBAAqB,EAAE,qBAAqB,CAAC,CAAA;AAGhF,OAAO,KAAK,iBAAiB,MAAM,yCAAyC,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AAClG,SAAS,CAAC,mBAAmB,EAAE,iBAAiB,EAAE,qBAAqB,CAAC,CAAA;AAGxE,OAAO,KAAK,yBAAyB,MAAM,iDAAiD,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AAClH,SAAS,CAAC,2BAA2B,EAAE,yBAAyB,EAAE,qBAAqB,CAAC,CAAA;AAGxF,OAAO,KAAK,0BAA0B,MAAM,kDAAkD,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AACpH,SAAS,CAAC,4BAA4B,EAAE,0BAA0B,EAAE,qBAAqB,CAAC,CAAA;AAG1F,OAAO,KAAK,uBAAuB,MAAM,+CAA+C,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AAC9G,SAAS,CAAC,yBAAyB,EAAE,uBAAuB,EAAE,qBAAqB,CAAC,CAAA;AAGpF,OAAO,KAAK,wBAAwB,MAAM,gDAAgD,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AAChH,SAAS,CAAC,0BAA0B,EAAE,wBAAwB,EAAE,qBAAqB,CAAC,CAAA;AAGtF,OAAO,KAAK,8BAA8B,MAAM,sDAAsD,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AAC5H,SAAS,CAAC,gCAAgC,EAAE,8BAA8B,EAAE,qBAAqB,CAAC,CAAA"}
@@ -1,38 +1,38 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.6
2
+ * This file was generated by @pikku/cli@0.12.96
3
3
  */
4
4
  import { addSchema } from '@pikku/core/schema'
5
5
 
6
- import * as OllamaGenerateTextInput from './schemas/OllamaGenerateTextInput.schema.json' with { type: 'json' }
7
- addSchema('OllamaGenerateTextInput', OllamaGenerateTextInput, '@pikku/addon-ollama')
6
+ import * as OllamaEmbedInput from './schemas/OllamaEmbedInput.schema.json' with { type: 'json' }
7
+ addSchema('OllamaEmbedInput', OllamaEmbedInput, '@pikku/addon-ollama')
8
8
 
9
9
 
10
- import * as OllamaGenerateTextOutput from './schemas/OllamaGenerateTextOutput.schema.json' with { type: 'json' }
11
- addSchema('OllamaGenerateTextOutput', OllamaGenerateTextOutput, '@pikku/addon-ollama')
10
+ import * as OllamaEmbedManyInput from './schemas/OllamaEmbedManyInput.schema.json' with { type: 'json' }
11
+ addSchema('OllamaEmbedManyInput', OllamaEmbedManyInput, '@pikku/addon-ollama')
12
12
 
13
13
 
14
- import * as OllamaGenerateObjectInput from './schemas/OllamaGenerateObjectInput.schema.json' with { type: 'json' }
15
- addSchema('OllamaGenerateObjectInput', OllamaGenerateObjectInput, '@pikku/addon-ollama')
14
+ import * as OllamaEmbedManyOutput from './schemas/OllamaEmbedManyOutput.schema.json' with { type: 'json' }
15
+ addSchema('OllamaEmbedManyOutput', OllamaEmbedManyOutput, '@pikku/addon-ollama')
16
16
 
17
17
 
18
- import * as OllamaGenerateObjectOutput from './schemas/OllamaGenerateObjectOutput.schema.json' with { type: 'json' }
19
- addSchema('OllamaGenerateObjectOutput', OllamaGenerateObjectOutput, '@pikku/addon-ollama')
18
+ import * as OllamaEmbedOutput from './schemas/OllamaEmbedOutput.schema.json' with { type: 'json' }
19
+ addSchema('OllamaEmbedOutput', OllamaEmbedOutput, '@pikku/addon-ollama')
20
20
 
21
21
 
22
- import * as OllamaEmbedInput from './schemas/OllamaEmbedInput.schema.json' with { type: 'json' }
23
- addSchema('OllamaEmbedInput', OllamaEmbedInput, '@pikku/addon-ollama')
22
+ import * as OllamaGenerateObjectInput from './schemas/OllamaGenerateObjectInput.schema.json' with { type: 'json' }
23
+ addSchema('OllamaGenerateObjectInput', OllamaGenerateObjectInput, '@pikku/addon-ollama')
24
24
 
25
25
 
26
- import * as OllamaEmbedOutput from './schemas/OllamaEmbedOutput.schema.json' with { type: 'json' }
27
- addSchema('OllamaEmbedOutput', OllamaEmbedOutput, '@pikku/addon-ollama')
26
+ import * as OllamaGenerateObjectOutput from './schemas/OllamaGenerateObjectOutput.schema.json' with { type: 'json' }
27
+ addSchema('OllamaGenerateObjectOutput', OllamaGenerateObjectOutput, '@pikku/addon-ollama')
28
28
 
29
29
 
30
- import * as OllamaEmbedManyInput from './schemas/OllamaEmbedManyInput.schema.json' with { type: 'json' }
31
- addSchema('OllamaEmbedManyInput', OllamaEmbedManyInput, '@pikku/addon-ollama')
30
+ import * as OllamaGenerateTextInput from './schemas/OllamaGenerateTextInput.schema.json' with { type: 'json' }
31
+ addSchema('OllamaGenerateTextInput', OllamaGenerateTextInput, '@pikku/addon-ollama')
32
32
 
33
33
 
34
- import * as OllamaEmbedManyOutput from './schemas/OllamaEmbedManyOutput.schema.json' with { type: 'json' }
35
- addSchema('OllamaEmbedManyOutput', OllamaEmbedManyOutput, '@pikku/addon-ollama')
34
+ import * as OllamaGenerateTextOutput from './schemas/OllamaGenerateTextOutput.schema.json' with { type: 'json' }
35
+ addSchema('OllamaGenerateTextOutput', OllamaGenerateTextOutput, '@pikku/addon-ollama')
36
36
 
37
37
 
38
38
  import * as VariableSchema_ollama_base_url from './schemas/VariableSchema_ollama_base_url.schema.json' with { type: 'json' }
@@ -0,0 +1,37 @@
1
+ import type { CorePersona, PersonaMeta, PersonasMeta } from '@pikku/core/persona';
2
+ import type { SystemRoleName } from './pikku-roles.gen.js';
3
+ /** Every declared persona. */
4
+ export type PersonaId = never;
5
+ /**
6
+ * The personas a virtual user can actually be.
7
+ *
8
+ * Excludes anyone whose only login is a provider account — driving a consent
9
+ * screen needs a human — and anyone declared `runnable: false`, who exists to
10
+ * be acted upon rather than to act.
11
+ */
12
+ export type RunnablePersonaId = never;
13
+ /** Every environment configured in pikku.config.json. */
14
+ export type EnvironmentName = never;
15
+ /**
16
+ * A persona whose roles are checked against `defineSystemRole` and whose
17
+ * environments are checked against the config.
18
+ *
19
+ * Omitting `environments` means every environment except the ones flagged
20
+ * `production: true`. Naming a production one additionally requires
21
+ * `disposition: 'accountable'`, which the type cannot express and `pikku`
22
+ * refuses at build time.
23
+ */
24
+ export type TypedPersona = Omit<CorePersona, 'roles' | 'environments'> & {
25
+ roles?: SystemRoleName[];
26
+ environments?: EnvironmentName[];
27
+ };
28
+ /**
29
+ * Declare the people who use this application.
30
+ *
31
+ * A persona while running is a virtual user; there is no second declaration.
32
+ */
33
+ export declare const definePersonas: (personas: Record<string, TypedPersona>) => void;
34
+ /** Declared personas, keyed by id. Read by the console and `pikku persona`. */
35
+ export declare const PERSONAS: PersonasMeta;
36
+ export declare const PERSONA_LIST: PersonaMeta[];
37
+ //# sourceMappingURL=pikku-personas.gen.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pikku-personas.gen.d.ts","sourceRoot":"","sources":["../../../.pikku/scopes/pikku-personas.gen.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,WAAW,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAA;AACjF,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AAG1D,8BAA8B;AAC9B,MAAM,MAAM,SAAS,GAAG,KAAK,CAAA;AAE7B;;;;;;GAMG;AACH,MAAM,MAAM,iBAAiB,GAAG,KAAK,CAAA;AAErC,yDAAyD;AACzD,MAAM,MAAM,eAAe,GAAG,KAAK,CAAA;AAEnC;;;;;;;;GAQG;AACH,MAAM,MAAM,YAAY,GAAG,IAAI,CAAC,WAAW,EAAE,OAAO,GAAG,cAAc,CAAC,GAAG;IACvE,KAAK,CAAC,EAAE,cAAc,EAAE,CAAA;IACxB,YAAY,CAAC,EAAE,eAAe,EAAE,CAAA;CACjC,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,cAAc,GAAI,UAAU,MAAM,CAAC,MAAM,EAAE,YAAY,CAAC,KAAG,IAC1C,CAAA;AAE9B,+EAA+E;AAC/E,eAAO,MAAM,QAAQ,EAAE,YAAqD,CAAA;AAE5E,eAAO,MAAM,YAAY,EAAE,WAAW,EAA4B,CAAA"}