@pikku/core 0.12.103 → 0.12.106

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 (146) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist/dev/module-runner.js +33 -1
  3. package/dist/middleware/index.d.ts +1 -0
  4. package/dist/middleware/index.js +1 -0
  5. package/dist/middleware/remote-jobs-secret.d.ts +14 -0
  6. package/dist/middleware/remote-jobs-secret.js +27 -0
  7. package/dist/services/credential-wire-service.d.ts +15 -0
  8. package/dist/services/credential-wire-service.js +30 -11
  9. package/dist/services/index.d.ts +1 -0
  10. package/dist/services/index.js +1 -0
  11. package/dist/services/remote-jobs.d.ts +27 -0
  12. package/dist/services/remote-jobs.js +59 -0
  13. package/dist/services/webhook-service.d.ts +8 -0
  14. package/dist/wirings/scheduler/index.d.ts +1 -1
  15. package/dist/wirings/scheduler/index.js +1 -1
  16. package/dist/wirings/scheduler/scheduler-runner.d.ts +4 -0
  17. package/dist/wirings/scheduler/scheduler-runner.js +1 -1
  18. package/package.json +1 -1
  19. package/src/dev/module-runner.test.ts +23 -0
  20. package/src/dev/module-runner.ts +39 -1
  21. package/src/middleware/index.ts +1 -0
  22. package/src/middleware/remote-jobs-secret.ts +35 -0
  23. package/src/public-surface.json +61 -14
  24. package/src/services/credential-wire-service.test.ts +63 -0
  25. package/src/services/credential-wire-service.ts +27 -9
  26. package/src/services/index.ts +10 -0
  27. package/src/services/remote-jobs.test.ts +106 -0
  28. package/src/services/remote-jobs.ts +92 -0
  29. package/src/services/webhook-service.ts +8 -0
  30. package/src/wirings/scheduler/index.ts +1 -0
  31. package/src/wirings/scheduler/scheduler-runner.ts +1 -1
  32. package/tsconfig.tsbuildinfo +1 -1
  33. package/dist/classification/data-lock.d.ts +0 -80
  34. package/dist/classification/data-lock.js +0 -146
  35. package/dist/column-form.d.ts +0 -32
  36. package/dist/column-form.js +0 -42
  37. package/dist/data-classification.d.ts +0 -64
  38. package/dist/data-classification.js +0 -1
  39. package/dist/ecosystem/agent-scorer.d.ts +0 -12
  40. package/dist/ecosystem/agent-scorer.js +0 -5
  41. package/dist/ecosystem/agent.d.ts +0 -21
  42. package/dist/ecosystem/agent.js +0 -6
  43. package/dist/ecosystem/channel/local.d.ts +0 -3
  44. package/dist/ecosystem/channel/local.js +0 -3
  45. package/dist/ecosystem/channel/serverless.d.ts +0 -9
  46. package/dist/ecosystem/channel/serverless.js +0 -1
  47. package/dist/ecosystem/channel.d.ts +0 -15
  48. package/dist/ecosystem/channel.js +0 -5
  49. package/dist/ecosystem/cli/channel.d.ts +0 -16
  50. package/dist/ecosystem/cli/channel.js +0 -2
  51. package/dist/ecosystem/cli.d.ts +0 -9
  52. package/dist/ecosystem/cli.js +0 -2
  53. package/dist/ecosystem/credential.d.ts +0 -10
  54. package/dist/ecosystem/credential.js +0 -1
  55. package/dist/ecosystem/crypto-utils.d.ts +0 -8
  56. package/dist/ecosystem/crypto-utils.js +0 -1
  57. package/dist/ecosystem/dev.d.ts +0 -9
  58. package/dist/ecosystem/dev.js +0 -2
  59. package/dist/ecosystem/errors.d.ts +0 -8
  60. package/dist/ecosystem/errors.js +0 -2
  61. package/dist/ecosystem/function.d.ts +0 -13
  62. package/dist/ecosystem/function.js +0 -2
  63. package/dist/ecosystem/gateway.d.ts +0 -1
  64. package/dist/ecosystem/gateway.js +0 -1
  65. package/dist/ecosystem/hmac.d.ts +0 -1
  66. package/dist/ecosystem/hmac.js +0 -1
  67. package/dist/ecosystem/http.d.ts +0 -13
  68. package/dist/ecosystem/http.js +0 -5
  69. package/dist/ecosystem/mcp.d.ts +0 -3
  70. package/dist/ecosystem/mcp.js +0 -2
  71. package/dist/ecosystem/middleware.d.ts +0 -18
  72. package/dist/ecosystem/middleware.js +0 -7
  73. package/dist/ecosystem/node-host-resolver.d.ts +0 -1
  74. package/dist/ecosystem/node-host-resolver.js +0 -1
  75. package/dist/ecosystem/node.d.ts +0 -1
  76. package/dist/ecosystem/node.js +0 -1
  77. package/dist/ecosystem/oauth2.d.ts +0 -1
  78. package/dist/ecosystem/oauth2.js +0 -1
  79. package/dist/ecosystem/persona.d.ts +0 -17
  80. package/dist/ecosystem/persona.js +0 -5
  81. package/dist/ecosystem/queue.d.ts +0 -13
  82. package/dist/ecosystem/queue.js +0 -4
  83. package/dist/ecosystem/remote.d.ts +0 -8
  84. package/dist/ecosystem/remote.js +0 -1
  85. package/dist/ecosystem/role.d.ts +0 -4
  86. package/dist/ecosystem/role.js +0 -2
  87. package/dist/ecosystem/rpc.d.ts +0 -6
  88. package/dist/ecosystem/rpc.js +0 -3
  89. package/dist/ecosystem/safe-fetch.d.ts +0 -7
  90. package/dist/ecosystem/safe-fetch.js +0 -1
  91. package/dist/ecosystem/scenario.d.ts +0 -21
  92. package/dist/ecosystem/scenario.js +0 -8
  93. package/dist/ecosystem/scheduler.d.ts +0 -3
  94. package/dist/ecosystem/scheduler.js +0 -2
  95. package/dist/ecosystem/schema.d.ts +0 -2
  96. package/dist/ecosystem/schema.js +0 -1
  97. package/dist/ecosystem/scope.d.ts +0 -5
  98. package/dist/ecosystem/scope.js +0 -3
  99. package/dist/ecosystem/secret.d.ts +0 -11
  100. package/dist/ecosystem/secret.js +0 -2
  101. package/dist/ecosystem/services/istanbul-coverage.d.ts +0 -1
  102. package/dist/ecosystem/services/istanbul-coverage.js +0 -1
  103. package/dist/ecosystem/services/local-content-request-handler.d.ts +0 -9
  104. package/dist/ecosystem/services/local-content-request-handler.js +0 -1
  105. package/dist/ecosystem/services/local-content.d.ts +0 -2
  106. package/dist/ecosystem/services/local-content.js +0 -1
  107. package/dist/ecosystem/services/local-meta.d.ts +0 -1
  108. package/dist/ecosystem/services/local-meta.js +0 -1
  109. package/dist/ecosystem/services/v8-coverage.d.ts +0 -1
  110. package/dist/ecosystem/services/v8-coverage.js +0 -1
  111. package/dist/ecosystem/services.d.ts +0 -36
  112. package/dist/ecosystem/services.js +0 -12
  113. package/dist/ecosystem/testing.d.ts +0 -7
  114. package/dist/ecosystem/testing.js +0 -1
  115. package/dist/ecosystem/trigger.d.ts +0 -2
  116. package/dist/ecosystem/trigger.js +0 -1
  117. package/dist/ecosystem/types.d.ts +0 -12
  118. package/dist/ecosystem/types.js +0 -6
  119. package/dist/ecosystem/variable.d.ts +0 -9
  120. package/dist/ecosystem/variable.js +0 -1
  121. package/dist/ecosystem/virtual-user.d.ts +0 -24
  122. package/dist/ecosystem/virtual-user.js +0 -8
  123. package/dist/ecosystem/workflow.d.ts +0 -20
  124. package/dist/ecosystem/workflow.js +0 -6
  125. package/dist/ecosystem.d.ts +0 -27
  126. package/dist/ecosystem.js +0 -26
  127. package/dist/index.d.ts +0 -60
  128. package/dist/index.js +0 -25
  129. package/dist/middleware/require-unlocked.d.ts +0 -23
  130. package/dist/middleware/require-unlocked.js +0 -21
  131. package/dist/pikku-request.d.ts +0 -8
  132. package/dist/pikku-request.js +0 -15
  133. package/dist/secret-value.d.ts +0 -56
  134. package/dist/secret-value.js +0 -46
  135. package/dist/wirings/data-lock/data-lock-wiring.d.ts +0 -40
  136. package/dist/wirings/data-lock/data-lock-wiring.js +0 -77
  137. package/dist/wirings/data-lock/index.d.ts +0 -9
  138. package/dist/wirings/data-lock/index.js +0 -8
  139. package/dist/wirings/rpc/addon-runner.d.ts +0 -17
  140. package/dist/wirings/rpc/addon-runner.js +0 -150
  141. package/dist/wirings/rpc/remote-addon-auth.d.ts +0 -16
  142. package/dist/wirings/rpc/remote-addon-auth.js +0 -39
  143. package/dist/wirings/rpc/wire-addon.d.ts +0 -62
  144. package/dist/wirings/rpc/wire-addon.js +0 -88
  145. package/dist/wirings/rpc/wire-remote-addon.d.ts +0 -22
  146. package/dist/wirings/rpc/wire-remote-addon.js +0 -11
@@ -1,18 +0,0 @@
1
- export { addGlobalMiddleware, runMiddleware } from '../middleware-runner.js';
2
- export { authAPIKey } from '../middleware/auth-apikey.js';
3
- export { authCookie } from '../middleware/auth-cookie.js';
4
- export { pikkuRemoteAuthMiddleware } from '../middleware/remote-auth.js';
5
- export { telemetryInner, telemetryOuter } from '../middleware/telemetry.js';
6
- export { addGlobalPermission } from '../permissions.js';
7
- export { pikkuMiddleware } from '../types/core.types.js';
8
- /**
9
- * Types the exports above mention but do not themselves export. Without
10
- * them a consumer's declaration emit has no name for the type it infers,
11
- * and fails with TS2883 rather than reaching for the original entry point.
12
- */
13
- export type { CorePermissionGroup, CorePikkuPermission, } from '../function/functions.types.js';
14
- export type { LogLevel } from '../services/logger.js';
15
- export type { WebhookServiceConfig } from '../services/webhook-service.js';
16
- export type { RelativeTimeInput } from '../time-utils.js';
17
- export type { CorePikkuMiddleware, CorePikkuMiddlewareFactory, CoreSingletonServices, CoreUserSession, PostgresConfig, } from '../types/core.types.js';
18
- export type { WorkflowServiceConfig } from '../wirings/workflow/workflow.types.js';
@@ -1,7 +0,0 @@
1
- export { addGlobalMiddleware, runMiddleware } from '../middleware-runner.js';
2
- export { authAPIKey } from '../middleware/auth-apikey.js';
3
- export { authCookie } from '../middleware/auth-cookie.js';
4
- export { pikkuRemoteAuthMiddleware } from '../middleware/remote-auth.js';
5
- export { telemetryInner, telemetryOuter } from '../middleware/telemetry.js';
6
- export { addGlobalPermission } from '../permissions.js';
7
- export { pikkuMiddleware } from '../types/core.types.js';
@@ -1 +0,0 @@
1
- export { installNodeHostResolver } from '../utils/node-host-resolver.js';
@@ -1 +0,0 @@
1
- export { installNodeHostResolver } from '../utils/node-host-resolver.js';
@@ -1 +0,0 @@
1
- export type { CoreNodeConfig, NodeType, NodesMeta, } from '../wirings/node/node.types.js';
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export type { OAuth2AppCredential, OAuth2Token, } from '../wirings/oauth2/oauth2.types.js';
@@ -1 +0,0 @@
1
- export {};
@@ -1,17 +0,0 @@
1
- export { HttpPersona, createHttpPersonas } from '../services/http-personas.js';
2
- export type { HttpPersonasConfig } from '../services/http-personas.js';
3
- export { postScenarioJson, readScenarioHttpResponse, } from '../services/personas-service.js';
4
- export type { ScenarioHttpResponse } from '../services/personas-service.js';
5
- export { personaEmails } from '../wirings/persona/persona-email.js';
6
- export { personaEnvironmentErrors, personaEnvironmentRefusal, } from '../wirings/persona/persona-environments.js';
7
- export type { CorePersona, PersonaAccountMeta, PersonaDefinitions, PersonaMeta, } from '../wirings/persona/persona.types.js';
8
- export { isRunnablePersona, roleMismatchMessage, validateAndBuildPersonasMeta, verifyPersonaRoles, } from '../wirings/persona/validate-personas.js';
9
- /**
10
- * Types the exports above mention but do not themselves export. Without
11
- * them a consumer's declaration emit has no name for the type it infers,
12
- * and fails with TS2883 rather than reaching for the original entry point.
13
- */
14
- export type { ScenarioPersonas } from '../services/personas-service.js';
15
- export type { PersonaEnvironment, PersonaEnvironmentSubject, } from '../wirings/persona/persona-environments.js';
16
- export type { PersonasMeta } from '../wirings/persona/persona.types.js';
17
- export type { RoleVerification } from '../wirings/persona/validate-personas.js';
@@ -1,5 +0,0 @@
1
- export { HttpPersona, createHttpPersonas } from '../services/http-personas.js';
2
- export { postScenarioJson, readScenarioHttpResponse, } from '../services/personas-service.js';
3
- export { personaEmails } from '../wirings/persona/persona-email.js';
4
- export { personaEnvironmentErrors, personaEnvironmentRefusal, } from '../wirings/persona/persona-environments.js';
5
- export { isRunnablePersona, roleMismatchMessage, validateAndBuildPersonasMeta, verifyPersonaRoles, } from '../wirings/persona/validate-personas.js';
@@ -1,13 +0,0 @@
1
- export { InMemoryQueueService } from '../services/in-memory-queue-service.js';
2
- export { QueueWebhookService } from '../services/queue-webhook-service.js';
3
- export { QueueJobDiscardedError, QueueJobFailedError, runQueueJob, } from '../wirings/queue/queue-runner.js';
4
- export type { ConfigValidationResult, CoreQueueWorker, JobOptions, PikkuJobConfig, PikkuWorkerConfig, QueueJob, QueueJobStatus, QueueService, QueueWorkers, QueueWorkersMeta, } from '../wirings/queue/queue.types.js';
5
- export { registerQueueWorkers } from '../wirings/queue/register-queue-helper.js';
6
- export type { QueueConfigMapping } from '../wirings/queue/validate-worker-config.js';
7
- /**
8
- * Types the exports above mention but do not themselves export. Without
9
- * them a consumer's declaration emit has no name for the type it infers,
10
- * and fails with TS2883 rather than reaching for the original entry point.
11
- */
12
- export type { Logger } from '../services/logger.js';
13
- export type { QueueRegistrationCallback } from '../wirings/queue/register-queue-helper.js';
@@ -1,4 +0,0 @@
1
- export { InMemoryQueueService } from '../services/in-memory-queue-service.js';
2
- export { QueueWebhookService } from '../services/queue-webhook-service.js';
3
- export { QueueJobDiscardedError, QueueJobFailedError, runQueueJob, } from '../wirings/queue/queue-runner.js';
4
- export { registerQueueWorkers } from '../wirings/queue/register-queue-helper.js';
@@ -1,8 +0,0 @@
1
- export { buildRemoteHeaders } from '../remote.js';
2
- /**
3
- * Types the exports above mention but do not themselves export. Without
4
- * them a consumer's declaration emit has no name for the type it infers,
5
- * and fails with TS2883 rather than reaching for the original entry point.
6
- */
7
- export type { JWTService } from '../services/jwt-service.js';
8
- export type { SecretService } from '../services/secret-service.js';
@@ -1 +0,0 @@
1
- export { buildRemoteHeaders } from '../remote.js';
@@ -1,4 +0,0 @@
1
- export type { Role } from '../services/scope-service.js';
2
- export { defineSystemRole } from '../wirings/role/define-system-role.js';
3
- export type { CoreSystemRole, CoreSystemRoles, SystemRole, SystemRoleDefinitionMeta, SystemRoleDefinitions, SystemRoleDefinitionsMeta, } from '../wirings/role/role.types.js';
4
- export { flattenSystemRoleDefinitions, validateAndBuildSystemRoleDefinitionsMeta, } from '../wirings/role/validate-role-definitions.js';
@@ -1,2 +0,0 @@
1
- export { defineSystemRole } from '../wirings/role/define-system-role.js';
2
- export { flattenSystemRoleDefinitions, validateAndBuildSystemRoleDefinitionsMeta, } from '../wirings/role/validate-role-definitions.js';
@@ -1,6 +0,0 @@
1
- export { rpcService } from '../wirings/rpc/rpc-runner.js';
2
- export type { PikkuRPC } from '../wirings/rpc/rpc-types.js';
3
- export { wireAddon } from '../wirings/rpc/wire-addon.js';
4
- export type { WireAddonConfig } from '../wirings/rpc/wire-addon.js';
5
- export { wireRemoteAddon } from '../wirings/rpc/wire-remote-addon.js';
6
- export type { RemoteAddonAuth, WireRemoteAddonConfig, } from '../wirings/rpc/wire-remote-addon.js';
@@ -1,3 +0,0 @@
1
- export { rpcService } from '../wirings/rpc/rpc-runner.js';
2
- export { wireAddon } from '../wirings/rpc/wire-addon.js';
3
- export { wireRemoteAddon } from '../wirings/rpc/wire-remote-addon.js';
@@ -1,7 +0,0 @@
1
- export { safeFetch } from '../utils/safe-fetch.js';
2
- /**
3
- * Types the exports above mention but do not themselves export. Without
4
- * them a consumer's declaration emit has no name for the type it infers,
5
- * and fails with TS2883 rather than reaching for the original entry point.
6
- */
7
- export type { SafeFetchOptions } from '../utils/safe-fetch.js';
@@ -1 +0,0 @@
1
- export { safeFetch } from '../utils/safe-fetch.js';
@@ -1,21 +0,0 @@
1
- export type { PikkuScenarioWire, ScenarioStepMeta, } from '../wirings/workflow/dsl/workflow-dsl.types.js';
2
- export { FileScenarioRunStore } from '../services/file-scenario-run-store.js';
3
- export type { FileScenarioRunStoreOptions } from '../services/file-scenario-run-store.js';
4
- export { addFeature, resolveFeatureScenarios, } from '../wirings/workflow/feature.js';
5
- export { PikkuScenarioService, createScenarioRunner, } from '../wirings/workflow/pikku-scenario-service.js';
6
- export { createCookieJar } from '../wirings/workflow/scenario-cookie-jar.js';
7
- export { pollUntil } from '../wirings/workflow/scenario-poll.js';
8
- export { composeStepProse } from '../wirings/workflow/scenario-prose.js';
9
- export { requireActor, requireScenarioEnv, } from '../wirings/workflow/scenario-step-guards.js';
10
- export { SCENARIO_SURFACES } from '../wirings/workflow/scenario-step.types.js';
11
- export type { PikkuBrowserWire, ScenarioBrowserFailure, ScenarioBrowserProvider, ScenarioStepKind, ScenarioStepOptions, ScenarioStepPhase, TestIdSelector, } from '../wirings/workflow/scenario-step.types.js';
12
- export type { CoreFeature, FeaturesMeta, } from '../wirings/workflow/scenario.types.js';
13
- export type { ScenarioArtifact, ScenarioArtifactKind, ScenarioFailureDetail, ScenarioResult, ScenarioRunRecord, ScenarioRunReport, ScenarioRunStatus, ScenarioRunStore, ScenarioRunSummary, ScenarioSkip, ScenarioStepRow, } from '../wirings/workflow/scenario-run.types.js';
14
- /**
15
- * Types the exports above mention but do not themselves export. Without
16
- * them a consumer's declaration emit has no name for the type it infers,
17
- * and fails with TS2883 rather than reaching for the original entry point.
18
- */
19
- export type { ScenarioSurface } from '../wirings/workflow/scenario-step.types.js';
20
- export type { FeaturePlanEntry } from '../wirings/workflow/scenario.types.js';
21
- export type { CoreWorkflow } from '../wirings/workflow/workflow.types.js';
@@ -1,8 +0,0 @@
1
- export { FileScenarioRunStore } from '../services/file-scenario-run-store.js';
2
- export { addFeature, resolveFeatureScenarios, } from '../wirings/workflow/feature.js';
3
- export { PikkuScenarioService, createScenarioRunner, } from '../wirings/workflow/pikku-scenario-service.js';
4
- export { createCookieJar } from '../wirings/workflow/scenario-cookie-jar.js';
5
- export { pollUntil } from '../wirings/workflow/scenario-poll.js';
6
- export { composeStepProse } from '../wirings/workflow/scenario-prose.js';
7
- export { requireActor, requireScenarioEnv, } from '../wirings/workflow/scenario-step-guards.js';
8
- export { SCENARIO_SURFACES } from '../wirings/workflow/scenario-step.types.js';
@@ -1,3 +0,0 @@
1
- export { SchedulerService } from '../services/scheduler-service.js';
2
- export { getScheduledTasks, runScheduledTask, } from '../wirings/scheduler/scheduler-runner.js';
3
- export type { CoreScheduledTask, ScheduledTasksMeta, } from '../wirings/scheduler/scheduler.types.js';
@@ -1,2 +0,0 @@
1
- export { SchedulerService } from '../services/scheduler-service.js';
2
- export { getScheduledTasks, runScheduledTask, } from '../wirings/scheduler/scheduler-runner.js';
@@ -1,2 +0,0 @@
1
- export { addSchema, compileAllSchemas, getSchema } from '../schema.js';
2
- export type { SchemaService } from '../services/schema-service.js';
@@ -1 +0,0 @@
1
- export { addSchema, compileAllSchemas, getSchema } from '../schema.js';
@@ -1,5 +0,0 @@
1
- export { hasScopes, verifyScopes } from '../scopes.js';
2
- export type { ScopeService } from '../services/scope-service.js';
3
- export { defineScope } from '../wirings/scope/define-scope.js';
4
- export type { CoreScopeNode, CoreScopes, FlatScope, ScopeDefinitionMeta, ScopeDefinitions, ScopeDefinitionsMeta, ScopeNodeMeta, } from '../wirings/scope/scope.types.js';
5
- export { flattenScopeDefinitions, validateAndBuildScopeDefinitionsMeta, } from '../wirings/scope/validate-scope-definitions.js';
@@ -1,3 +0,0 @@
1
- export { hasScopes, verifyScopes } from '../scopes.js';
2
- export { defineScope } from '../wirings/scope/define-scope.js';
3
- export { flattenScopeDefinitions, validateAndBuildScopeDefinitionsMeta, } from '../wirings/scope/validate-scope-definitions.js';
@@ -1,11 +0,0 @@
1
- export { assertSecretAllowedForHost } from '../services/secret-host-binding.js';
2
- export type { SecretService, SecretValues } from '../services/secret-service.js';
3
- export type { CoreSecret, OAuth2CredentialConfig, SecretDefinitionMeta, SecretDefinitions, } from '../wirings/secret/secret.types.js';
4
- export { validateAndBuildSecretDefinitionsMeta } from '../wirings/secret/validate-secret-definitions.js';
5
- /**
6
- * Types the exports above mention but do not themselves export. Without
7
- * them a consumer's declaration emit has no name for the type it infers,
8
- * and fails with TS2883 rather than reaching for the original entry point.
9
- */
10
- export type { SchemaRefLike } from '../types/core.types.js';
11
- export type { SecretDefinitionsMeta } from '../wirings/secret/secret.types.js';
@@ -1,2 +0,0 @@
1
- export { assertSecretAllowedForHost } from '../services/secret-host-binding.js';
2
- export { validateAndBuildSecretDefinitionsMeta } from '../wirings/secret/validate-secret-definitions.js';
@@ -1 +0,0 @@
1
- export { IstanbulCoverageService } from '../../services/istanbul-coverage-service.js';
@@ -1 +0,0 @@
1
- export { IstanbulCoverageService } from '../../services/istanbul-coverage-service.js';
@@ -1,9 +0,0 @@
1
- export { createLocalContentRequestHandler, verifySignedContentRequest, } from '../../services/local-content-request-handler.js';
2
- export type { LocalContentRequestHandler } from '../../services/local-content-request-handler.js';
3
- /**
4
- * Types the exports above mention but do not themselves export. Without
5
- * them a consumer's declaration emit has no name for the type it infers,
6
- * and fails with TS2883 rather than reaching for the original entry point.
7
- */
8
- export type { JWTService } from '../../services/jwt-service.js';
9
- export type { LocalContentRequestHandlerOptions, SignedContentVerification, } from '../../services/local-content-request-handler.js';
@@ -1 +0,0 @@
1
- export { createLocalContentRequestHandler, verifySignedContentRequest, } from '../../services/local-content-request-handler.js';
@@ -1,2 +0,0 @@
1
- export { LocalContent, signedContentPath, } from '../../services/local-content.js';
2
- export type { LocalContentConfig } from '../../services/local-content.js';
@@ -1 +0,0 @@
1
- export { LocalContent, signedContentPath, } from '../../services/local-content.js';
@@ -1 +0,0 @@
1
- export { LocalMetaService } from '../../services/meta-service.js';
@@ -1 +0,0 @@
1
- export { LocalMetaService } from '../../services/meta-service.js';
@@ -1 +0,0 @@
1
- export { V8CoverageService } from '../../services/v8-coverage-service.js';
@@ -1 +0,0 @@
1
- export { V8CoverageService } from '../../services/v8-coverage-service.js';
@@ -1,36 +0,0 @@
1
- export { NoopAuditService } from '../services/audit-service.js';
2
- export type { AuditDurability, AuditEvent, AuditEventBatch, AuditLog, AuditService, } from '../services/audit-service.js';
3
- export type { BucketKeyArgs, ContentService, CopyFileArgs, GetUploadURLArgs, SignContentKeyArgs, SignURLArgs, UploadURLResult, WriteFileArgs, } from '../services/content-service.js';
4
- export type { DeploymentConfig, DeploymentService, DeploymentServiceConfig, } from '../services/deployment-service.js';
5
- export { InMemoryAgentRunStateService } from '../services/in-memory-agent-run-state-service.js';
6
- export type { JWTService } from '../services/jwt-service.js';
7
- export { LocalEmailService } from '../services/local-email-service.js';
8
- export { LocalSecretService } from '../services/local-secrets.js';
9
- export { LocalVariablesService } from '../services/local-variables.js';
10
- export { ConsoleLogger } from '../services/logger-console.js';
11
- export { LogLevel } from '../services/logger.js';
12
- export type { AgentMeta, AgentsMeta, EmailTemplateMeta, EmailsMeta, GroupMeta, MCPMeta, MetaService, MiddlewareDefinitionMeta, MiddlewareGroupsMeta, MiddlewareInstanceMeta, PermissionDefinitionMeta, PermissionsGroupsMeta, RPCMetaRecord, ServiceMeta, ServicesMetaRecord, } from '../services/meta-service.js';
13
- export type { ResolvedPersona, ScenarioPersonas, } from '../services/personas-service.js';
14
- export { pikkuWebhookWorkerFunc } from '../services/queue-webhook-service.js';
15
- export type { ScheduledTaskInfo, ScheduledTaskSummary, } from '../services/scheduler-service.js';
16
- export type { SessionStore } from '../services/session-store.js';
17
- export { getStubTracker, isTestRun, spy } from '../services/stub-tracker.js';
18
- export type { CredentialMetaInfo } from '../services/typed-credential-service.js';
19
- export type { CredentialMeta } from '../services/typed-secret-service.js';
20
- export { TypedVariablesService } from '../services/typed-variables-service.js';
21
- export type { VariableMeta } from '../services/typed-variables-service.js';
22
- export { PikkuSessionService, createMiddlewareSessionWireProps, } from '../services/user-session-service.js';
23
- export type { CoverageFunctionMeta, CoverageService, FunctionCoverageEntry, FunctionCoverageReport, ScriptCoverage, } from '../services/v8-coverage-service.js';
24
- export { PIKKU_OUTGOING_WEBHOOK_QUEUE_NAME } from '../services/webhook-service.js';
25
- export type { SendWebhookInput, SendWebhookResult, WebhookAttemptResult, WebhookDeliveryRecord, WebhookDeliveryWithAttempts, } from '../services/webhook-service.js';
26
- export type { FunctionMeta, FunctionsMeta, MiddlewareMetadata as MiddlewareMeta, PermissionMetadata as PermissionMeta, } from '../types/core.types.js';
27
- /**
28
- * Types the exports above mention but do not themselves export. Without
29
- * them a consumer's declaration emit has no name for the type it infers,
30
- * and fails with TS2883 rather than reaching for the original entry point.
31
- */
32
- export type { Logger } from '../services/logger.js';
33
- export type { StubTracker } from '../services/stub-tracker.js';
34
- export type { SessionService } from '../services/user-session-service.js';
35
- export type { WebhookJobData, WebhookService, } from '../services/webhook-service.js';
36
- export type { CoreUserSession } from '../types/core.types.js';
@@ -1,12 +0,0 @@
1
- export { NoopAuditService } from '../services/audit-service.js';
2
- export { InMemoryAgentRunStateService } from '../services/in-memory-agent-run-state-service.js';
3
- export { LocalEmailService } from '../services/local-email-service.js';
4
- export { LocalSecretService } from '../services/local-secrets.js';
5
- export { LocalVariablesService } from '../services/local-variables.js';
6
- export { ConsoleLogger } from '../services/logger-console.js';
7
- export { LogLevel } from '../services/logger.js';
8
- export { pikkuWebhookWorkerFunc } from '../services/queue-webhook-service.js';
9
- export { getStubTracker, isTestRun, spy } from '../services/stub-tracker.js';
10
- export { TypedVariablesService } from '../services/typed-variables-service.js';
11
- export { PikkuSessionService, createMiddlewareSessionWireProps, } from '../services/user-session-service.js';
12
- export { PIKKU_OUTGOING_WEBHOOK_QUEUE_NAME } from '../services/webhook-service.js';
@@ -1,7 +0,0 @@
1
- export { defineServiceTests } from '../testing/service-tests.js';
2
- /**
3
- * Types the exports above mention but do not themselves export. Without
4
- * them a consumer's declaration emit has no name for the type it infers,
5
- * and fails with TS2883 rather than reaching for the original entry point.
6
- */
7
- export type { ServiceTestConfig } from '../testing/service-tests.js';
@@ -1 +0,0 @@
1
- export { defineServiceTests } from '../testing/service-tests.js';
@@ -1,2 +0,0 @@
1
- export { InMemoryTriggerService } from '../services/in-memory-trigger-service.js';
2
- export type { CorePikkuTriggerFunction, CorePikkuTriggerFunctionConfig, CoreTrigger, TriggerMeta, TriggerSourceMeta, } from '../wirings/trigger/trigger.types.js';
@@ -1 +0,0 @@
1
- export { InMemoryTriggerService } from '../services/in-memory-trigger-service.js';
@@ -1,12 +0,0 @@
1
- export type { ClassificationManifest } from '../data-classification.js';
2
- export { isExpectedError } from '../errors/error-handler.js';
3
- export type { CorePermissionGroup } from '../function/functions.types.js';
4
- export { PikkuRequest } from '../pikku-request.js';
5
- export { SecretValue, createSecretValue, isSecretValue, } from '../secret-value.js';
6
- export type { Safe } from '../secret-value.js';
7
- export type { AuditFacets, AuditQuery, AuditQueryResult, } from '../services/audit-service.js';
8
- export { getRelativeTimeOffsetFromNow, parseDurationString, } from '../time-utils.js';
9
- export type { RelativeTimeInput } from '../time-utils.js';
10
- export type { AuthInstance, CoreConfig, CorePikkuMiddleware, CoreServices, CoreSingletonServices, CoreUserSession, CreateConfig, FunctionServicesMeta, FunctionWiresMeta, JSONValue, MiddlewareMetadata, PermissionMetadata, PikkuWire, PikkuWiringTypes, PostgresConfig, SecretlessServices, SecurityAuditIssue, SecurityAuditReport, SecurityAuditUpdate, SecuritySeverity, SecurityUpdateLevel, SerializedError, } from '../types/core.types.js';
11
- export { isSerializable, stopSingletonServices } from '../utils.js';
12
- export { formatVersionedId, isVersionedId, parseVersionedId, } from '../version.js';
@@ -1,6 +0,0 @@
1
- export { isExpectedError } from '../errors/error-handler.js';
2
- export { PikkuRequest } from '../pikku-request.js';
3
- export { SecretValue, createSecretValue, isSecretValue, } from '../secret-value.js';
4
- export { getRelativeTimeOffsetFromNow, parseDurationString, } from '../time-utils.js';
5
- export { isSerializable, stopSingletonServices } from '../utils.js';
6
- export { formatVersionedId, isVersionedId, parseVersionedId, } from '../version.js';
@@ -1,9 +0,0 @@
1
- export type { VariablesService } from '../services/variables-service.js';
2
- export { validateAndBuildVariableDefinitionsMeta } from '../wirings/variable/validate-variable-definitions.js';
3
- export type { CoreVariable, VariableDefinitionMeta, VariableDefinitions, VariableDefinitionsMeta, } from '../wirings/variable/variable.types.js';
4
- /**
5
- * Types the exports above mention but do not themselves export. Without
6
- * them a consumer's declaration emit has no name for the type it infers,
7
- * and fails with TS2883 rather than reaching for the original entry point.
8
- */
9
- export type { SchemaRefLike } from '../types/core.types.js';
@@ -1 +0,0 @@
1
- export { validateAndBuildVariableDefinitionsMeta } from '../wirings/variable/validate-variable-definitions.js';
@@ -1,24 +0,0 @@
1
- export { personaScopes, prepareVirtualUserRun, } from '../wirings/virtual-user/prepare-virtual-user-run.js';
2
- export { runVirtualUser } from '../wirings/virtual-user/run-virtual-user.js';
3
- export { catalogueClassification, isReadOnly, reachableCatalogue, unreachableCatalogue, } from '../wirings/virtual-user/virtual-user-catalogue.js';
4
- export { deriveCatalogue, deriveIntents, } from '../wirings/virtual-user/virtual-user-derive.js';
5
- export { DISPOSITIONS, dispositionProfile, } from '../wirings/virtual-user/virtual-user-dispositions.js';
6
- export type { DispositionProfile } from '../wirings/virtual-user/virtual-user-dispositions.js';
7
- export { intentsForPersona } from '../wirings/virtual-user/virtual-user-intents.js';
8
- export type { VirtualUserRunOutcome, VirtualUserRunRecord, VirtualUserRunStart, VirtualUserRunStore, } from '../wirings/virtual-user/virtual-user-run-store.js';
9
- export { personaVirtualUserTarget } from '../wirings/virtual-user/virtual-user-target.js';
10
- export { PRODUCTION_DISPOSITION } from '../wirings/virtual-user/virtual-user.types.js';
11
- export type { IntentSource, VirtualUserFinding, VirtualUserRunResult, } from '../wirings/virtual-user/virtual-user.types.js';
12
- /**
13
- * Types the exports above mention but do not themselves export. Without
14
- * them a consumer's declaration emit has no name for the type it infers,
15
- * and fails with TS2883 rather than reaching for the original entry point.
16
- */
17
- export type { FunctionsMeta } from '../types/core.types.js';
18
- export type { SystemRoleDefinitions, SystemRoleDefinitionsMeta, } from '../wirings/role/role.types.js';
19
- export type { VirtualUserPreparation } from '../wirings/virtual-user/prepare-virtual-user-run.js';
20
- export type { AgentReachability } from '../wirings/virtual-user/virtual-user-agents.js';
21
- export type { SchemaMap } from '../wirings/virtual-user/virtual-user-derive.js';
22
- export type { VirtualUserTuning } from '../wirings/virtual-user/virtual-user-dispositions.js';
23
- export type { ApiCatalogueEntry, VirtualUserDisposition, } from '../wirings/virtual-user/virtual-user.types.js';
24
- export type { WorkflowsMeta } from '../wirings/workflow/workflow.types.js';
@@ -1,8 +0,0 @@
1
- export { personaScopes, prepareVirtualUserRun, } from '../wirings/virtual-user/prepare-virtual-user-run.js';
2
- export { runVirtualUser } from '../wirings/virtual-user/run-virtual-user.js';
3
- export { catalogueClassification, isReadOnly, reachableCatalogue, unreachableCatalogue, } from '../wirings/virtual-user/virtual-user-catalogue.js';
4
- export { deriveCatalogue, deriveIntents, } from '../wirings/virtual-user/virtual-user-derive.js';
5
- export { DISPOSITIONS, dispositionProfile, } from '../wirings/virtual-user/virtual-user-dispositions.js';
6
- export { intentsForPersona } from '../wirings/virtual-user/virtual-user-intents.js';
7
- export { personaVirtualUserTarget } from '../wirings/virtual-user/virtual-user-target.js';
8
- export { PRODUCTION_DISPOSITION } from '../wirings/virtual-user/virtual-user.types.js';
@@ -1,20 +0,0 @@
1
- export { InMemoryWorkflowService } from '../services/in-memory-workflow-service.js';
2
- export type { WorkflowService } from '../services/workflow-service.js';
3
- export type { ApprovalStepMeta, ArrayPredicateStepMeta, BranchStepMeta, CancelStepMeta, Condition, FanoutStepMeta, FilterStepMeta, InlineStepMeta, InputSource, OutputBinding, ParallelGroupStepMeta, PikkuWorkflowWire, RpcStepMeta, SetStepMeta, SleepStepMeta, SuspendStepMeta, SwitchCaseMeta, SwitchStepMeta, WorkflowStepMeta, WorkflowStepOptions, WorkflowWireDoRPC, } from '../wirings/workflow/dsl/workflow-dsl.types.js';
4
- export { template } from '../wirings/workflow/graph/template.js';
5
- export type { PikkuWorkflowGraphConfig, PikkuWorkflowGraphResult, } from '../wirings/workflow/graph/wire-workflow-graph.js';
6
- export { isRef } from '../wirings/workflow/graph/workflow-graph.types.js';
7
- export { PikkuWorkflowService } from '../wirings/workflow/pikku-workflow-service.js';
8
- export { buildRunTimeline, reconstructFinalState, reconstructStateAt, } from '../wirings/workflow/run-timeline.js';
9
- export type { ReconstructedRunState, RunTimeline, } from '../wirings/workflow/run-timeline.js';
10
- export { assertWorkflowRunOwner } from '../wirings/workflow/workflow-run-ownership.js';
11
- export type { ContextVariable, CoreWorkflow, StepState, StepStatus, WorkflowContext, WorkflowPlannedStep, WorkflowQueueOptions, WorkflowRun, WorkflowRunMirror, WorkflowRunService, WorkflowRunStatus, WorkflowRunWire, WorkflowStatus, WorkflowVersionStatus, WorkflowsMeta, WorkflowsRuntimeMeta, } from '../wirings/workflow/workflow.types.js';
12
- /**
13
- * Types the exports above mention but do not themselves export. Without
14
- * them a consumer's declaration emit has no name for the type it infers,
15
- * and fails with TS2883 rather than reaching for the original entry point.
16
- */
17
- export type { CoreUserSession } from '../types/core.types.js';
18
- export type { TemplateString } from '../wirings/workflow/graph/template.js';
19
- export type { RefValue } from '../wirings/workflow/graph/workflow-graph.types.js';
20
- export type { HistoryEntry } from '../wirings/workflow/run-timeline.js';
@@ -1,6 +0,0 @@
1
- export { InMemoryWorkflowService } from '../services/in-memory-workflow-service.js';
2
- export { template } from '../wirings/workflow/graph/template.js';
3
- export { isRef } from '../wirings/workflow/graph/workflow-graph.types.js';
4
- export { PikkuWorkflowService } from '../wirings/workflow/pikku-workflow-service.js';
5
- export { buildRunTimeline, reconstructFinalState, reconstructStateAt, } from '../wirings/workflow/run-timeline.js';
6
- export { assertWorkflowRunOwner } from '../wirings/workflow/workflow-run-ownership.js';
@@ -1,27 +0,0 @@
1
- /**
2
- * The surface a package in the Pikku ecosystem reaches for — a runtime adapter,
3
- * a service, the code generator's output, the CLI — and application code does
4
- * not.
5
- *
6
- * Split out from the package root so 1.0's compatibility promise covers what
7
- * applications actually import. These signatures move when the runtime needs
8
- * them to — `runPikkuFunc` was reshaped over the last year while every field on
9
- * `PikkuWire` survived — and promising stability on both would mean promising
10
- * the weaker of the two.
11
- *
12
- * Not `/internal`: generated bootstrap files import from here, so the specifier
13
- * lands in the user's own `.pikku` directory, and telling someone they are
14
- * touching internals when the code generator put it there is both wrong and
15
- * self-defeating — it could never be broken anyway. Not `/runtime` either: that
16
- * reads as runtime-versus-compile-time, i.e. the real API, and `packages/runtimes/*`
17
- * already claims the word while the CLI is the largest consumer here.
18
- *
19
- * `/internal` stays as an alias because the pinned bootstrap CLI still emits it.
20
- *
21
- * knowledge: decisions/internals/the-ecosystem-entry-point-carries-the-adapter-surface.md
22
- */
23
- export { pikkuState, resetPikkuState, getAllPackageStates, getSingletonServices, getCreateWireServices, setSingletonServices, } from './pikku-state.js';
24
- export { runPikkuFunc, addFunction } from './function/function-runner.js';
25
- export { addGlobalMiddleware, addTagMiddleware as addMiddleware, } from './middleware-runner.js';
26
- export { httpRouter } from './wirings/http/routers/http-router.js';
27
- export type { CreateSingletonServices, CreateWireServices, } from './types/core.types.js';
package/dist/ecosystem.js DELETED
@@ -1,26 +0,0 @@
1
- /**
2
- * The surface a package in the Pikku ecosystem reaches for — a runtime adapter,
3
- * a service, the code generator's output, the CLI — and application code does
4
- * not.
5
- *
6
- * Split out from the package root so 1.0's compatibility promise covers what
7
- * applications actually import. These signatures move when the runtime needs
8
- * them to — `runPikkuFunc` was reshaped over the last year while every field on
9
- * `PikkuWire` survived — and promising stability on both would mean promising
10
- * the weaker of the two.
11
- *
12
- * Not `/internal`: generated bootstrap files import from here, so the specifier
13
- * lands in the user's own `.pikku` directory, and telling someone they are
14
- * touching internals when the code generator put it there is both wrong and
15
- * self-defeating — it could never be broken anyway. Not `/runtime` either: that
16
- * reads as runtime-versus-compile-time, i.e. the real API, and `packages/runtimes/*`
17
- * already claims the word while the CLI is the largest consumer here.
18
- *
19
- * `/internal` stays as an alias because the pinned bootstrap CLI still emits it.
20
- *
21
- * knowledge: decisions/internals/the-ecosystem-entry-point-carries-the-adapter-surface.md
22
- */
23
- export { pikkuState, resetPikkuState, getAllPackageStates, getSingletonServices, getCreateWireServices, setSingletonServices, } from './pikku-state.js';
24
- export { runPikkuFunc, addFunction } from './function/function-runner.js';
25
- export { addGlobalMiddleware, addTagMiddleware as addMiddleware, } from './middleware-runner.js';
26
- export { httpRouter } from './wirings/http/routers/http-router.js';
package/dist/index.d.ts DELETED
@@ -1,60 +0,0 @@
1
- /**
2
- * @module @pikku/core
3
- */
4
- export type { AuthInstance, CommonWireMeta, CoreConfig, CorePikkuMiddleware, CorePikkuMiddlewareConfig, CorePikkuMiddlewareFactory, CorePikkuMiddlewareGroup, CoreServices, CoreSecretlessSingletonServices, CoreSingletonServices, CoreUserSession, SecretlessServices, CreateConfig, ServerLifecycle, FunctionMeta, FunctionServicesMeta, FunctionWiresMeta, FunctionsMeta, FunctionsRuntimeMeta, JSONValue, MakeRequired, MiddlewareMetadata, MiddlewarePriority, PermissionMetadata, PickOptional, PickRequired, PikkuAgentMiddlewareHooks, PikkuWire, PikkuRawWire, PikkuWiringTypes, PostgresConfig, RequireAtLeastOne, SecurityAuditIssue, SecurityAuditReport, SecurityAuditSummary, SecurityAuditUpdate, SecuritySeverity, SecurityUpdateLevel, SerializedError, } from './types/core.types.js';
5
- export { pikkuAgentMiddleware, pikkuChannelMiddleware, pikkuChannelMiddlewareFactory, pikkuMiddleware, pikkuMiddlewareFactory, } from './types/core.types.js';
6
- export type { CorePikkuAuth, CorePikkuAuthConfig, CorePikkuFunction, CorePikkuFunctionConfig, CorePikkuPermission, CorePikkuPermissionConfig, CorePikkuPermissionFactory, CorePikkuApprovalDescription, CorePermissionGroup, } from './function/functions.types.js';
7
- export { pikkuAuth, pikkuPermission, pikkuPermissionFactory, pikkuApprovalDescription, } from './function/functions.types.js';
8
- export { getAllFunctionNames } from './function/index.js';
9
- export type { ListInput, ListOutput, Filter } from './function/list.types.js';
10
- export { pikkuCLIRender } from './wirings/cli/cli-runner.js';
11
- export { PikkuRequest } from './pikku-request.js';
12
- export { getRelativeTimeOffsetFromNow, parseDurationString, } from './time-utils.js';
13
- export type { RelativeTimeInput } from './time-utils.js';
14
- export { formatVersionedId, isVersionedId, parseVersionedId, } from './version.js';
15
- export { AbandonedError, type AbortScope } from './function/abort-scope.js';
16
- export { fetch } from './wirings/http/http-runner.js';
17
- export type { MCPToolResponse, MCPResourceResponse, MCPPromptResponse, } from './wirings/mcp/mcp.types.js';
18
- export { AIProviderAuthError, AIProviderNotConfiguredError, BadGatewayError, BadRequestError, ConflictError, ExpectationFailedError, ForbiddenError, GatewayTimeoutError, GoneError, HTTPVersionNotSupportedError, InternalServerError, InvalidMiddlewareWireError, InvalidOriginError, InvalidSessionError, LengthRequiredError, LocalEnvironmentOnlyError, LockedError, MaxComputeTimeReachedError, MethodNotAllowedError, MissingCredentialError, MissingSchemaError, MissingScopeError, MissingServiceError, MissingSessionError, NotAcceptableError, NotFoundError, NotImplementedError, PayloadTooLargeError, PaymentRequiredError, PikkuMissingMetaError, PreconditionFailedError, ProxyAuthenticationRequiredError, RangeNotSatisfiableError, ReadonlySessionError, RequestTimeoutError, ServiceUnavailableError, TooManyRequestsError, URITooLongError, UnauthorizedError, UnprocessableContentError, UnsupportedMediaTypeError, } from './errors/errors.js';
19
- export { PikkuError, isExpectedError } from './errors/error-handler.js';
20
- export type { EventHubService } from './wirings/channel/eventhub-service.js';
21
- export type { QueueService } from './wirings/queue/queue.types.js';
22
- export type { JWTService } from './services/jwt-service.js';
23
- export type { EmailService, SendEmailInput, SendEmailResult, SendHTMLEmailInput, SendTemplateEmailInput, SendTextEmailInput, } from './services/email-service.js';
24
- export type { SecretService } from './services/secret-service.js';
25
- export { SecretAccessDeniedError, withoutSecrets, } from './services/secretless.js';
26
- export { SecretHostNotAllowedError, assertSecretAllowedForHost, } from './services/secret-host-binding.js';
27
- export type { VariablesService } from './services/variables-service.js';
28
- export type { ContentService, SignContentKeyArgs, SignURLArgs, GetUploadURLArgs, UploadURLResult, BucketKeyArgs, WriteFileArgs, CopyFileArgs, } from './services/content-service.js';
29
- export type { DeploymentService } from './services/deployment-service.js';
30
- export type { WorkflowService } from './services/workflow-service.js';
31
- export type { GatewayService } from './services/gateway-service.js';
32
- export type { TriggerService } from './services/trigger-service.js';
33
- export type { SchemaService } from './services/schema-service.js';
34
- export type { SessionService } from './services/user-session-service.js';
35
- export { NoopAuditService, createInvocationAudit, } from './services/audit-service.js';
36
- export type { AuditConfig, AuditDurability, AuditEvent, AuditEventBatch, AuditFacets, AuditLog, AuditQuery, AuditQueryResult, AuditService, AuditUserIdentity, ResolvedAuditConfig, } from './services/audit-service.js';
37
- export type { AgentRunnerService } from './services/agent-runner-service.js';
38
- export type { AIEmbeddingService } from './services/ai-embedding-service.js';
39
- export type { AgentRunStateService } from './services/agent-run-state-service.js';
40
- export type { AgentStorageService } from './services/agent-storage-service.js';
41
- export type { EmailsMeta, EmailTemplateMeta, MetaService, } from './services/meta-service.js';
42
- export type { HTTPMethod } from './wirings/http/http.types.js';
43
- export type { GraphNodeConfig } from './wirings/workflow/graph/workflow-graph.types.js';
44
- export { createGraph } from './wirings/workflow/graph/graph-node.js';
45
- export { wireAddon } from './wirings/rpc/wire-addon.js';
46
- export type { WireAddonConfig } from './wirings/rpc/wire-addon.js';
47
- export { wireRemoteAddon } from './wirings/rpc/wire-remote-addon.js';
48
- export type { WireRemoteAddonConfig, RemoteAddonAuth, } from './wirings/rpc/wire-remote-addon.js';
49
- export type { PikkuPackageState } from './types/state.types.js';
50
- export { runMiddleware, addTagMiddleware } from './middleware-runner.js';
51
- export { addGlobalPermission, checkAuthPermissions } from './permissions.js';
52
- export { hasScopes, verifyScopes } from './scopes.js';
53
- export { isSerializable, stopSingletonServices, pikkuServerLifecycle, } from './utils.js';
54
- export { clearPikkuRuntimeState } from './test-utils.js';
55
- export { type ScheduledTaskInfo, type ScheduledTaskSummary, } from './services/scheduler-service.js';
56
- export { SchedulerService } from './services/scheduler-service.js';
57
- export type { Private, Pii, Secret, Classification, AnonymizeStrategy, ClassificationManifest, ColumnForm, WrappedValue, SealedValue, HashedValue, } from './data-classification.js';
58
- export { hashToken } from './column-form.js';
59
- export type { SecretValue, Safe } from './secret-value.js';
60
- export { createSecretValue, isSecretValue, SecretCoercionError, REDACTED, } from './secret-value.js';