@pikku/addon-console 0.12.43 → 0.12.44

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 (113) hide show
  1. package/CHANGELOG.md +25 -0
  2. package/dist/.pikku/addon/agent/index.d.ts +1 -1
  3. package/dist/.pikku/addon/agent/index.js +1 -1
  4. package/dist/.pikku/addon/agent/pikku-agent-map.gen.d.ts +1 -1
  5. package/dist/.pikku/addon/agent/pikku-agent-types.gen.d.ts +1 -1
  6. package/dist/.pikku/addon/agent/pikku-model-aliases.gen.js +1 -1
  7. package/dist/.pikku/addon/agent/pikku-scorer-names.gen.d.ts +1 -1
  8. package/dist/.pikku/addon/auth/auth.types.d.ts +1 -1
  9. package/dist/.pikku/addon/auth/auth.types.js +1 -1
  10. package/dist/.pikku/addon/auth/index.d.ts +1 -1
  11. package/dist/.pikku/addon/auth/index.js +1 -1
  12. package/dist/.pikku/addon/auth/pikku-auth-types.gen.d.ts +1 -1
  13. package/dist/.pikku/addon/auth/pikku-auth-types.gen.js +1 -1
  14. package/dist/.pikku/addon/channel/index.d.ts +1 -1
  15. package/dist/.pikku/addon/channel/index.js +1 -1
  16. package/dist/.pikku/addon/channel/pikku-channel-types.gen.d.ts +1 -1
  17. package/dist/.pikku/addon/channel/pikku-channel-types.gen.js +1 -1
  18. package/dist/.pikku/addon/error/index.d.ts +1 -1
  19. package/dist/.pikku/addon/error/index.js +1 -1
  20. package/dist/.pikku/addon/error/pikku-error-types.gen.d.ts +1 -1
  21. package/dist/.pikku/addon/error/pikku-error-types.gen.js +1 -1
  22. package/dist/.pikku/addon/function/index.d.ts +1 -1
  23. package/dist/.pikku/addon/function/index.js +1 -1
  24. package/dist/.pikku/addon/function/pikku-function-types.gen.d.ts +1 -1
  25. package/dist/.pikku/addon/function/pikku-function-types.gen.js +1 -1
  26. package/dist/.pikku/addon/function/pikku-functions-meta-verbose.gen.json +3 -3
  27. package/dist/.pikku/addon/function/pikku-functions-meta.gen.js +1 -1
  28. package/dist/.pikku/addon/function/pikku-functions-meta.gen.json +1 -1
  29. package/dist/.pikku/addon/function/pikku-functions.gen.js +1 -1
  30. package/dist/.pikku/addon/http/index.d.ts +1 -1
  31. package/dist/.pikku/addon/http/index.js +1 -1
  32. package/dist/.pikku/addon/http/pikku-http-types.gen.d.ts +1 -1
  33. package/dist/.pikku/addon/http/pikku-http-types.gen.js +1 -1
  34. package/dist/.pikku/addon/mcp/index.d.ts +1 -1
  35. package/dist/.pikku/addon/mcp/index.js +1 -1
  36. package/dist/.pikku/addon/mcp/pikku-mcp-types.gen.d.ts +1 -1
  37. package/dist/.pikku/addon/mcp/pikku-mcp-types.gen.js +1 -1
  38. package/dist/.pikku/addon/middleware/index.d.ts +1 -1
  39. package/dist/.pikku/addon/middleware/index.js +1 -1
  40. package/dist/.pikku/addon/middleware/pikku-middleware-types.gen.d.ts +2 -2
  41. package/dist/.pikku/addon/middleware/pikku-middleware-types.gen.d.ts.map +1 -1
  42. package/dist/.pikku/addon/middleware/pikku-middleware-types.gen.js +1 -1
  43. package/dist/.pikku/addon/pikku-bootstrap-scenarios.gen.d.ts +1 -1
  44. package/dist/.pikku/addon/pikku-bootstrap-scenarios.gen.js +1 -1
  45. package/dist/.pikku/addon/pikku-bootstrap.gen.d.ts +1 -1
  46. package/dist/.pikku/addon/pikku-bootstrap.gen.js +1 -1
  47. package/dist/.pikku/addon/pikku-package.gen.js +1 -1
  48. package/dist/.pikku/addon/pikku-services.gen.d.ts +1 -1
  49. package/dist/.pikku/addon/rpc/pikku-rpc-wirings-map.gen.d.ts +1 -1
  50. package/dist/.pikku/addon/rpc/pikku-rpc-wirings-map.internal.gen.d.ts +1 -1
  51. package/dist/.pikku/addon/rpc/pikku-rpc-wirings-map.remote.gen.d.ts +1 -1
  52. package/dist/.pikku/addon/rpc/pikku-rpc-wirings-meta.internal.gen.js +1 -1
  53. package/dist/.pikku/addon/scenarios/index.d.ts +1 -1
  54. package/dist/.pikku/addon/scenarios/index.js +1 -1
  55. package/dist/.pikku/addon/scenarios/pikku-personas.gen.js +1 -1
  56. package/dist/.pikku/addon/scenarios/pikku-scenario-functions-meta.gen.js +1 -1
  57. package/dist/.pikku/addon/scenarios/pikku-scenario-functions.gen.d.ts +1 -1
  58. package/dist/.pikku/addon/scenarios/pikku-scenario-types.gen.d.ts +1 -1
  59. package/dist/.pikku/addon/scenarios/pikku-scenario-wirings-meta.gen.js +1 -1
  60. package/dist/.pikku/addon/scenarios/pikku-scenario-wirings.gen.d.ts +1 -1
  61. package/dist/.pikku/addon/scenarios/schemas/register.gen.d.ts +1 -1
  62. package/dist/.pikku/addon/scenarios/schemas/register.gen.js +1 -1
  63. package/dist/.pikku/addon/schemas/register.gen.js +1 -1
  64. package/dist/.pikku/addon/scopes/index.d.ts +1 -1
  65. package/dist/.pikku/addon/scopes/index.js +1 -1
  66. package/dist/.pikku/addon/scopes/pikku-personas.gen.js +1 -1
  67. package/dist/.pikku/addon/scopes/pikku-roles.gen.d.ts +1 -1
  68. package/dist/.pikku/addon/scopes/pikku-scope-types.gen.d.ts +1 -1
  69. package/dist/.pikku/addon/scopes/pikku-scope-types.gen.js +1 -1
  70. package/dist/.pikku/addon/scopes/pikku-scopes.gen.d.ts +1 -1
  71. package/dist/.pikku/addon/secrets/index.d.ts +1 -1
  72. package/dist/.pikku/addon/secrets/index.js +1 -1
  73. package/dist/.pikku/addon/secrets/pikku-secret-types.gen.d.ts +1 -1
  74. package/dist/.pikku/addon/secrets/pikku-secret-types.gen.js +1 -1
  75. package/dist/.pikku/addon/secrets/pikku-secrets.gen.d.ts +1 -1
  76. package/dist/.pikku/addon/secrets/pikku-secrets.gen.js +1 -1
  77. package/dist/.pikku/addon/services/pikku-meta-service.gen.d.ts +1 -1
  78. package/dist/.pikku/addon/services/pikku-meta-service.gen.js +1 -1
  79. package/dist/.pikku/addon/setup/index.d.ts +1 -1
  80. package/dist/.pikku/addon/setup/index.js +1 -1
  81. package/dist/.pikku/addon/setup/pikku-addon-setup-types.gen.d.ts +1 -1
  82. package/dist/.pikku/addon/setup/pikku-addon-setup-types.gen.js +1 -1
  83. package/dist/.pikku/addon/setup/pikku-setup-types.gen.d.ts +1 -1
  84. package/dist/.pikku/addon/setup/pikku-setup-types.gen.js +1 -1
  85. package/dist/.pikku/addon/trigger/index.d.ts +1 -1
  86. package/dist/.pikku/addon/trigger/index.js +1 -1
  87. package/dist/.pikku/addon/trigger/pikku-trigger-types.gen.d.ts +1 -1
  88. package/dist/.pikku/addon/trigger/pikku-trigger-types.gen.js +1 -1
  89. package/dist/.pikku/addon/variables/index.d.ts +1 -1
  90. package/dist/.pikku/addon/variables/index.js +1 -1
  91. package/dist/.pikku/addon/variables/pikku-variable-types.gen.d.ts +1 -1
  92. package/dist/.pikku/addon/variables/pikku-variable-types.gen.js +1 -1
  93. package/dist/.pikku/addon/variables/pikku-variables.gen.d.ts +1 -1
  94. package/dist/.pikku/addon/variables/pikku-variables.gen.js +1 -1
  95. package/dist/.pikku/addon/workflow/index.d.ts +1 -1
  96. package/dist/.pikku/addon/workflow/index.js +1 -1
  97. package/dist/.pikku/addon/workflow/pikku-scenario-step-map.gen.d.ts +1 -1
  98. package/dist/.pikku/addon/workflow/pikku-workflow-map.gen.d.ts +1 -1
  99. package/dist/.pikku/addon/workflow/pikku-workflow-types.gen.d.ts +1 -1
  100. package/dist/.pikku/addon/workflow/pikku-workflow-types.gen.js +1 -1
  101. package/dist/.pikku/addon/workflow/pikku-workflow-wirings-meta.gen.js +1 -1
  102. package/dist/.pikku/addon/workflow/pikku-workflow-wirings.gen.d.ts +1 -1
  103. package/dist/.pikku/addon/workflow/pikku-workflow-wirings.gen.js +1 -1
  104. package/dist/src/functions/render-email-preview.function.d.ts.map +1 -1
  105. package/dist/src/functions/render-email-preview.function.js +6 -17
  106. package/dist/src/functions/render-email-preview.function.js.map +1 -1
  107. package/dist/src/functions/render-email-template.utils.d.ts +8 -3
  108. package/dist/src/functions/render-email-template.utils.d.ts.map +1 -1
  109. package/dist/src/functions/render-email-template.utils.js +71 -17
  110. package/dist/src/functions/render-email-template.utils.js.map +1 -1
  111. package/dist/src/functions/render-email-template.utils.test.js +56 -23
  112. package/dist/src/functions/render-email-template.utils.test.js.map +1 -1
  113. package/package.json +4 -4
package/CHANGELOG.md CHANGED
@@ -1,3 +1,28 @@
1
+ ## 0.12.44
2
+
3
+ ### Patch Changes
4
+
5
+ - 31ad85f: fix(emails): escape substituted values in the generated email renderer
6
+
7
+ `renderEmailTemplate` spliced values into HTML unescaped and looped substitution
8
+ until it reached a fixed point, so a value containing `"` broke out of the
9
+ attribute it landed in, a value containing markup was injected verbatim, and a
10
+ value containing `{{...}}` was re-expanded as a template on the next pass. An
11
+ ordinary CSS font stack from `theme.json` was enough to corrupt the document.
12
+
13
+ Rendering is now layered by trust. Partials are inlined first; `theme.*` and
14
+ `t.*` are expanded next as template-author input; caller `data` is substituted in
15
+ a single pass that is never rescanned. Values are HTML-escaped in `.html` output
16
+ and left raw in `.subject.txt` / `.text.txt`. `{{content}}` and partials stay
17
+ raw, and `{{{value}}}` is a new opt-in raw form. The console's email preview uses
18
+ the same renderer, so previews match what is sent.
19
+
20
+ - Updated dependencies [9687ad1]
21
+ - Updated dependencies [2d21628]
22
+ - Updated dependencies [985b87b]
23
+ - Updated dependencies [3a83f85]
24
+ - @pikku/core@0.12.87
25
+
1
26
  ## 0.12.43
2
27
 
3
28
  ### Patch Changes
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.107
2
+ * This file was generated by @pikku/cli@0.12.109
3
3
  */
4
4
  /**
5
5
  * Subpath entry — `#pikku/agent` resolves here.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.107
2
+ * This file was generated by @pikku/cli@0.12.109
3
3
  */
4
4
  /**
5
5
  * Subpath entry — `#pikku/agent` resolves here.
@@ -1,4 +1,4 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.107
2
+ * This file was generated by @pikku/cli@0.12.109
3
3
  */
4
4
  export type AgentMap = {}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.107
2
+ * This file was generated by @pikku/cli@0.12.109
3
3
  */
4
4
  import { CoreAgent } from '@pikku/core/agent';
5
5
  import { pikkuAgentScorer as corePikkuAgentScorer, pikkuAgentJudge as corePikkuAgentJudge } from '@pikku/core/agent-scorer';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.107
2
+ * This file was generated by @pikku/cli@0.12.109
3
3
  */
4
4
  import { pikkuState } from '@pikku/core/state';
5
5
  pikkuState('@pikku/addon-console', 'agent', 'modelAliases', {});
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.107
2
+ * This file was generated by @pikku/cli@0.12.109
3
3
  */
4
4
  /**
5
5
  * The AI scorers declared in this project.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.107
2
+ * This file was generated by @pikku/cli@0.12.109
3
3
  */
4
4
  export { pikkuBetterAuth } from '@pikku/better-auth';
5
5
  //# sourceMappingURL=auth.types.d.ts.map
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.107
2
+ * This file was generated by @pikku/cli@0.12.109
3
3
  */
4
4
  // AUTO-GENERATED by pikku CLI (bootstrap stub) — replaced by the typed wrapper after inspection
5
5
  export { pikkuBetterAuth } from '@pikku/better-auth';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.107
2
+ * This file was generated by @pikku/cli@0.12.109
3
3
  */
4
4
  /**
5
5
  * Subpath entry — `#pikku/auth` resolves here.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.107
2
+ * This file was generated by @pikku/cli@0.12.109
3
3
  */
4
4
  /**
5
5
  * Subpath entry — `#pikku/auth` resolves here.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.107
2
+ * This file was generated by @pikku/cli@0.12.109
3
3
  */
4
4
  /**
5
5
  * Permission, auth gate and credential definitions
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.107
2
+ * This file was generated by @pikku/cli@0.12.109
3
3
  */
4
4
  /**
5
5
  * Permission, auth gate and credential definitions
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.107
2
+ * This file was generated by @pikku/cli@0.12.109
3
3
  */
4
4
  /**
5
5
  * Subpath entry — `#pikku/channel` resolves here.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.107
2
+ * This file was generated by @pikku/cli@0.12.109
3
3
  */
4
4
  /**
5
5
  * Subpath entry — `#pikku/channel` resolves here.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.107
2
+ * This file was generated by @pikku/cli@0.12.109
3
3
  */
4
4
  /**
5
5
  * Channel-specific type definitions for tree-shaking optimization
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.107
2
+ * This file was generated by @pikku/cli@0.12.109
3
3
  */
4
4
  /**
5
5
  * Channel-specific type definitions for tree-shaking optimization
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.107
2
+ * This file was generated by @pikku/cli@0.12.109
3
3
  */
4
4
  /**
5
5
  * Subpath entry — `#pikku/error` resolves here.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.107
2
+ * This file was generated by @pikku/cli@0.12.109
3
3
  */
4
4
  /**
5
5
  * Subpath entry — `#pikku/error` resolves here.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.107
2
+ * This file was generated by @pikku/cli@0.12.109
3
3
  */
4
4
  /**
5
5
  * Error catalogue — `#pikku/error` resolves here.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.107
2
+ * This file was generated by @pikku/cli@0.12.109
3
3
  */
4
4
  /**
5
5
  * Error catalogue — `#pikku/error` resolves here.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.107
2
+ * This file was generated by @pikku/cli@0.12.109
3
3
  */
4
4
  /**
5
5
  * Subpath entry — `#pikku/function` resolves here.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.107
2
+ * This file was generated by @pikku/cli@0.12.109
3
3
  */
4
4
  /**
5
5
  * Subpath entry — `#pikku/function` resolves here.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.107
2
+ * This file was generated by @pikku/cli@0.12.109
3
3
  */
4
4
  /**
5
5
  * Core function types for all wirings
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.107
2
+ * This file was generated by @pikku/cli@0.12.109
3
3
  */
4
4
  /**
5
5
  * Core function types for all wirings
@@ -1781,14 +1781,14 @@
1781
1781
  "scopes": [
1782
1782
  "pikku:console:emails:read"
1783
1783
  ],
1784
- "implementationHash": "4c92ba0987ccf5c0",
1784
+ "implementationHash": "15487a6ed98720e8",
1785
1785
  "title": "Render Email Preview",
1786
1786
  "description": "Renders an email template preview from emailTemplatesDir using a locale and variable payload.",
1787
1787
  "isDirectFunction": false,
1788
1788
  "sourceFile": "/home/runner/work/pikku/pikku/packages/addon/pikku-console/src/functions/render-email-preview.function.ts",
1789
1789
  "exportedName": "renderEmailPreview",
1790
- "bodyStart": 43,
1791
- "bodyEnd": 117,
1790
+ "bodyStart": 42,
1791
+ "bodyEnd": 122,
1792
1792
  "contractHash": "5c0010a01eac05df",
1793
1793
  "inputHash": "8bb3bf2b",
1794
1794
  "outputHash": "ccb4573c"
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.107
2
+ * This file was generated by @pikku/cli@0.12.109
3
3
  */
4
4
  import { pikkuState } from '@pikku/core/state';
5
5
  import metaData from './pikku-functions-meta.gen.json' with { type: 'json' };
@@ -1402,7 +1402,7 @@
1402
1402
  "scopes": [
1403
1403
  "pikku:console:emails:read"
1404
1404
  ],
1405
- "implementationHash": "4c92ba0987ccf5c0",
1405
+ "implementationHash": "15487a6ed98720e8",
1406
1406
  "contractHash": "5c0010a01eac05df",
1407
1407
  "inputHash": "8bb3bf2b",
1408
1408
  "outputHash": "ccb4573c",
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.107
2
+ * This file was generated by @pikku/cli@0.12.109
3
3
  */
4
4
  /* Import and register functions used by RPCs */
5
5
  import { addFunction } from '@pikku/core/function';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.107
2
+ * This file was generated by @pikku/cli@0.12.109
3
3
  */
4
4
  /**
5
5
  * Subpath entry — `#pikku/http` resolves here.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.107
2
+ * This file was generated by @pikku/cli@0.12.109
3
3
  */
4
4
  /**
5
5
  * Subpath entry — `#pikku/http` resolves here.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.107
2
+ * This file was generated by @pikku/cli@0.12.109
3
3
  */
4
4
  /**
5
5
  * HTTP-specific type definitions for tree-shaking optimization
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.107
2
+ * This file was generated by @pikku/cli@0.12.109
3
3
  */
4
4
  /**
5
5
  * HTTP-specific type definitions for tree-shaking optimization
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.107
2
+ * This file was generated by @pikku/cli@0.12.109
3
3
  */
4
4
  /**
5
5
  * Subpath entry — `#pikku/mcp` resolves here.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.107
2
+ * This file was generated by @pikku/cli@0.12.109
3
3
  */
4
4
  /**
5
5
  * Subpath entry — `#pikku/mcp` resolves here.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.107
2
+ * This file was generated by @pikku/cli@0.12.109
3
3
  */
4
4
  /**
5
5
  * MCP-specific type definitions for tree-shaking optimization
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.107
2
+ * This file was generated by @pikku/cli@0.12.109
3
3
  */
4
4
  /**
5
5
  * MCP-specific type definitions for tree-shaking optimization
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.107
2
+ * This file was generated by @pikku/cli@0.12.109
3
3
  */
4
4
  /**
5
5
  * Subpath entry — `#pikku/middleware` resolves here.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.107
2
+ * This file was generated by @pikku/cli@0.12.109
3
3
  */
4
4
  /**
5
5
  * Subpath entry — `#pikku/middleware` resolves here.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.107
2
+ * This file was generated by @pikku/cli@0.12.109
3
3
  */
4
4
  /**
5
5
  * Middleware type definitions and registration for all wirings
@@ -114,5 +114,5 @@ export type PikkuChannelMiddleware<RequiredServices extends Services = Services,
114
114
  export declare const pikkuChannelMiddleware: <RequiredServices extends Services = Services, Event = unknown>(middleware: PikkuChannelMiddleware<RequiredServices, Event>) => PikkuChannelMiddleware<RequiredServices, Event>;
115
115
  export declare const pikkuChannelMiddlewareFactory: <In = any>(factory: CorePikkuChannelMiddlewareFactory<In>) => CorePikkuChannelMiddlewareFactory<In>;
116
116
  export declare const addChannelMiddleware: (tag: string, middleware: PikkuChannelMiddleware[]) => CorePikkuChannelMiddleware[];
117
- export declare const pikkuAgentMiddleware: <State extends Record<string, unknown> = Record<string, unknown>, RequiredServices extends Services = Services>(hooks: PikkuAgentMiddlewareHooks<State, RequiredServices>) => PikkuAgentMiddlewareHooks<State, RequiredServices>;
117
+ export declare const pikkuAgentMiddleware: <State extends Record<string, unknown> = Record<string, unknown>, RequiredServices extends SingletonServices = WiredSingletonServices>(hooks: PikkuAgentMiddlewareHooks<State, RequiredServices>) => PikkuAgentMiddlewareHooks<State, RequiredServices>;
118
118
  //# sourceMappingURL=pikku-middleware-types.gen.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"pikku-middleware-types.gen.d.ts","sourceRoot":"","sources":["../../../../.pikku/addon/middleware/pikku-middleware-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAEH,OAAO,KAAK,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAA;AAGrF,OAAO,EACL,0BAA0B,EAC1B,iCAAiC,EAElC,MAAM,qBAAqB,CAAA;AAC5B,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAA;AAClE,OAAO,KAAK,EAAE,QAAQ,EAAE,iBAAiB,EAAE,sBAAsB,EAAE,MAAM,yCAAyC,CAAA;AAElH,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAA;AAC7C,YAAY,EAAE,kBAAkB,EAAE,CAAA;AAElC;;;;;GAKG;AACH,MAAM,MAAM,eAAe,CAAC,gBAAgB,SAAS,iBAAiB,GAAG,sBAAsB,IAAI,mBAAmB,CAAC,gBAAgB,CAAC,CAAA;AAExI;;GAEG;AACH,KAAK,qBAAqB,CAAC,gBAAgB,SAAS,iBAAiB,GAAG,sBAAsB,IAAI;IAChG,8BAA8B;IAC9B,IAAI,EAAE,eAAe,CAAC,gBAAgB,CAAC,CAAA;IACvC,sDAAsD;IACtD,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,uDAAuD;IACvD,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,kFAAkF;IAClF,QAAQ,CAAC,EAAE,kBAAkB,CAAA;CAC9B,CAAA;AAED;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,eAAO,MAAM,eAAe,GAAI,gBAAgB,SAAS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CAAA;AAEnE,eAAO,MAAM,oBAAoB,GAC/B,KAAK,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC/D,gBAAgB,SAAS,iBAAiB,GAAG,sBAAsB,EAEnE,OAAO,yBAAyB,CAAC,KAAK,EAAE,gBAAgB,CAAC,KACxD,yBAAyB,CAAC,KAAK,EAAE,gBAAgB,CAAU,CAAA"}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.107
2
+ * This file was generated by @pikku/cli@0.12.109
3
3
  */
4
4
  /**
5
5
  * Middleware type definitions and registration for all wirings
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.107
2
+ * This file was generated by @pikku/cli@0.12.109
3
3
  */
4
4
  import './pikku-bootstrap.gen.js';
5
5
  import './scenarios/schemas/register.gen.js';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.107
2
+ * This file was generated by @pikku/cli@0.12.109
3
3
  */
4
4
  import './pikku-bootstrap.gen.js';
5
5
  import './scenarios/schemas/register.gen.js';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.107
2
+ * This file was generated by @pikku/cli@0.12.109
3
3
  */
4
4
  import './rpc/pikku-rpc-wirings-meta.internal.gen.js';
5
5
  import './function/pikku-functions-meta.gen.js';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.107
2
+ * This file was generated by @pikku/cli@0.12.109
3
3
  */
4
4
  import './rpc/pikku-rpc-wirings-meta.internal.gen.js';
5
5
  import './function/pikku-functions-meta.gen.js';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.107
2
+ * This file was generated by @pikku/cli@0.12.109
3
3
  */
4
4
  import { pikkuState } from '@pikku/core/state';
5
5
  import { createSingletonServices as createSingletonServices } from '../../src/services.js';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.107
2
+ * This file was generated by @pikku/cli@0.12.109
3
3
  */
4
4
  import type { SingletonServices } from '../../types/application-types.d.js';
5
5
  import type { Services } from '../../types/application-types.d.js';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.107
2
+ * This file was generated by @pikku/cli@0.12.109
3
3
  */
4
4
  /**
5
5
  * This provides the structure needed for typescript to be aware of RPCs and their return types
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.107
2
+ * This file was generated by @pikku/cli@0.12.109
3
3
  */
4
4
  /**
5
5
  * This provides the structure needed for typescript to be aware of RPCs and their return types
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.107
2
+ * This file was generated by @pikku/cli@0.12.109
3
3
  */
4
4
  /**
5
5
  * This provides the structure needed for typescript to be aware of RPCs and their return types
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.107
2
+ * This file was generated by @pikku/cli@0.12.109
3
3
  */
4
4
  import { pikkuState } from '@pikku/core/state';
5
5
  import metaData from './pikku-rpc-wirings-meta.internal.gen.json' with { type: 'json' };
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.107
2
+ * This file was generated by @pikku/cli@0.12.109
3
3
  */
4
4
  /**
5
5
  * Subpath entry — `#pikku/scenarios` resolves here.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.107
2
+ * This file was generated by @pikku/cli@0.12.109
3
3
  */
4
4
  /**
5
5
  * Subpath entry — `#pikku/scenarios` resolves here.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.107
2
+ * This file was generated by @pikku/cli@0.12.109
3
3
  */
4
4
  /** Personas declared with definePersonas() */
5
5
  import { createHttpPersonas } from '@pikku/core/persona';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.107
2
+ * This file was generated by @pikku/cli@0.12.109
3
3
  */
4
4
  import { pikkuState } from '@pikku/core/state';
5
5
  import '../function/pikku-functions-meta.gen.js';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.107
2
+ * This file was generated by @pikku/cli@0.12.109
3
3
  */
4
4
  export {};
5
5
  //# sourceMappingURL=pikku-scenario-functions.gen.d.ts.map
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.107
2
+ * This file was generated by @pikku/cli@0.12.109
3
3
  */
4
4
  import type { PikkuScenarioWire, ScenarioStepOptions } from '@pikku/core/scenario';
5
5
  import type { PikkuWorkflowWire } from '@pikku/core/workflow';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.107
2
+ * This file was generated by @pikku/cli@0.12.109
3
3
  */
4
4
  import { pikkuState } from '@pikku/core/state';
5
5
  import '../workflow/pikku-workflow-wirings-meta.gen.js';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.107
2
+ * This file was generated by @pikku/cli@0.12.109
3
3
  */
4
4
  export {};
5
5
  //# sourceMappingURL=pikku-scenario-wirings.gen.d.ts.map
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.107
2
+ * This file was generated by @pikku/cli@0.12.109
3
3
  */
4
4
  export declare const empty: null;
5
5
  //# sourceMappingURL=register.gen.d.ts.map
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.107
2
+ * This file was generated by @pikku/cli@0.12.109
3
3
  */
4
4
  export const empty = null;
5
5
  //# sourceMappingURL=register.gen.js.map
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.107
2
+ * This file was generated by @pikku/cli@0.12.109
3
3
  */
4
4
  import { addSchema } from '@pikku/core/schema';
5
5
  import * as AddonMetaPage from './schemas/AddonMetaPage.schema.json' with { type: 'json' };
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.107
2
+ * This file was generated by @pikku/cli@0.12.109
3
3
  */
4
4
  /**
5
5
  * Subpath entry — `#pikku/scopes` resolves here.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.107
2
+ * This file was generated by @pikku/cli@0.12.109
3
3
  */
4
4
  /**
5
5
  * Subpath entry — `#pikku/scopes` resolves here.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.107
2
+ * This file was generated by @pikku/cli@0.12.109
3
3
  */
4
4
  /**
5
5
  * This file was generated by the @pikku/cli
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.107
2
+ * This file was generated by @pikku/cli@0.12.109
3
3
  */
4
4
  /**
5
5
  * This file was generated by the @pikku/cli
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.107
2
+ * This file was generated by @pikku/cli@0.12.109
3
3
  */
4
4
  export { defineScope } from '@pikku/core/scope';
5
5
  export { defineSystemRole } from '@pikku/core/role';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.107
2
+ * This file was generated by @pikku/cli@0.12.109
3
3
  */
4
4
  export { defineScope } from '@pikku/core/scope';
5
5
  export { defineSystemRole } from '@pikku/core/role';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.107
2
+ * This file was generated by @pikku/cli@0.12.109
3
3
  */
4
4
  /**
5
5
  * This file was generated by the @pikku/cli