@pikku/cli 0.12.83 → 0.12.86
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.
- package/console-app/assets/index-CSzCJzBb.css +1 -0
- package/console-app/assets/{index-CN_U0k_D.js → index-Cr3_cO3Z.js} +161 -150
- package/console-app/index.html +2 -2
- package/dist/.pikku/agent/pikku-agent-types.gen.d.ts +3 -2
- package/dist/.pikku/{http/pikku-http-wirings.gen.d.ts → auth/auth.types.d.ts} +1 -1
- package/dist/.pikku/auth/auth.types.js +5 -0
- package/dist/.pikku/channel/pikku-channel-types.gen.d.ts +1 -1
- package/dist/.pikku/channel/pikku-channel-types.gen.js +1 -1
- package/dist/.pikku/cli/pikku-cli-channel.d.ts +4 -4
- package/dist/.pikku/cli/pikku-cli-channel.js +1 -1
- package/dist/.pikku/cli/pikku-cli-client.gen.d.ts +1 -1
- package/dist/.pikku/cli/pikku-cli-client.gen.js +1 -1
- package/dist/.pikku/cli/pikku-cli-contracts-meta.gen.d.ts +1 -1
- package/dist/.pikku/cli/pikku-cli-contracts-meta.gen.js +1 -1
- package/dist/.pikku/cli/pikku-cli-contracts-meta.gen.json +4 -0
- package/dist/.pikku/cli/pikku-cli-types.gen.d.ts +1 -1
- package/dist/.pikku/cli/pikku-cli-types.gen.js +1 -1
- package/dist/.pikku/cli/pikku-cli-wirings-meta.gen.js +1 -1
- package/dist/.pikku/cli/pikku-cli-wirings-meta.gen.json +4 -0
- package/dist/.pikku/cli/pikku-cli-wirings.gen.d.ts +1 -1
- package/dist/.pikku/cli/pikku-cli-wirings.gen.js +1 -1
- package/dist/.pikku/cli/pikku-cli.gen.d.ts +1 -1
- package/dist/.pikku/cli/pikku-cli.gen.js +1 -1
- package/dist/.pikku/console/pikku-node-types.gen.d.ts +1 -1
- package/dist/.pikku/function/pikku-function-types.gen.d.ts +24 -14
- package/dist/.pikku/function/pikku-function-types.gen.js +1 -1
- package/dist/.pikku/function/pikku-functions-meta.gen.js +1 -1
- package/dist/.pikku/function/pikku-functions-meta.gen.json +45 -36
- package/dist/.pikku/function/pikku-functions.gen.js +3 -3
- package/dist/.pikku/http/pikku-http-types.gen.d.ts +1 -1
- package/dist/.pikku/http/pikku-http-types.gen.js +1 -1
- package/dist/.pikku/mcp/pikku-mcp-types.gen.d.ts +1 -1
- package/dist/.pikku/mcp/pikku-mcp-types.gen.js +1 -1
- package/dist/.pikku/pikku-bootstrap.gen.d.ts +1 -5
- package/dist/.pikku/pikku-bootstrap.gen.js +1 -5
- package/dist/.pikku/pikku-meta-service.gen.d.ts +1 -1
- package/dist/.pikku/pikku-meta-service.gen.js +1 -1
- package/dist/.pikku/pikku-services.gen.d.ts +2 -1
- package/dist/.pikku/pikku-services.gen.js +1 -0
- package/dist/.pikku/pikku-types.gen.d.ts +1 -1
- package/dist/.pikku/pikku-types.gen.js +1 -1
- package/dist/.pikku/queue/pikku-queue-types.gen.d.ts +1 -1
- package/dist/.pikku/queue/pikku-queue-types.gen.js +1 -1
- package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.js +1 -1
- package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.json +2 -2
- package/dist/.pikku/scheduler/pikku-scheduler-types.gen.d.ts +1 -1
- package/dist/.pikku/scheduler/pikku-scheduler-types.gen.js +1 -1
- package/dist/.pikku/schemas/register.gen.js +3 -7
- package/dist/.pikku/schemas/schemas/FabricLoginInput.schema.json +1 -1
- package/dist/.pikku/schemas/schemas/PikkuCLIConfig.schema.json +1 -1
- package/dist/.pikku/schemas/schemas/PikkuUserAdminFunctionsOutput.schema.json +1 -0
- package/dist/.pikku/scopes/pikku-scope-types.gen.d.ts +1 -1
- package/dist/.pikku/scopes/pikku-scope-types.gen.js +1 -1
- package/dist/.pikku/scopes/pikku-scopes.gen.d.ts +1 -1
- package/dist/.pikku/secrets/pikku-secret-types.gen.d.ts +1 -1
- package/dist/.pikku/secrets/pikku-secret-types.gen.js +1 -1
- package/dist/.pikku/secrets/pikku-secrets.gen.d.ts +1 -1
- package/dist/.pikku/secrets/pikku-secrets.gen.js +1 -1
- package/dist/.pikku/trigger/pikku-trigger-types.gen.d.ts +1 -1
- package/dist/.pikku/trigger/pikku-trigger-types.gen.js +1 -1
- package/dist/.pikku/variables/pikku-variable-types.gen.d.ts +1 -1
- package/dist/.pikku/variables/pikku-variable-types.gen.js +1 -1
- package/dist/.pikku/variables/pikku-variables.gen.d.ts +1 -1
- package/dist/.pikku/variables/pikku-variables.gen.js +1 -1
- package/dist/.pikku/workflow/meta/allWorkflow.gen.json +9 -3
- package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts +8 -2
- package/dist/.pikku/workflow/pikku-workflow-types.gen.js +1 -1
- package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.js +1 -1
- package/dist/.pikku/workflow/pikku-workflow-wirings.gen.js +1 -1
- package/dist/bin/pikku-bin.mjs +2 -2
- package/dist/src/fabric/fabric-commands.d.ts +56 -53
- package/dist/src/fabric/fabric-commands.js +4 -0
- package/dist/src/fabric/functions/add.function.d.ts +2 -2
- package/dist/src/fabric/functions/addon-verify.function.d.ts +2 -2
- package/dist/src/fabric/functions/db-schema.function.d.ts +2 -2
- package/dist/src/fabric/functions/deploy-list.function.d.ts +2 -2
- package/dist/src/fabric/functions/deploy-units.function.d.ts +2 -2
- package/dist/src/fabric/functions/deploy.function.d.ts +4 -4
- package/dist/src/fabric/functions/domains-add.function.d.ts +2 -2
- package/dist/src/fabric/functions/domains-list.function.d.ts +2 -2
- package/dist/src/fabric/functions/domains-remove.function.d.ts +2 -2
- package/dist/src/fabric/functions/errors.function.d.ts +2 -2
- package/dist/src/fabric/functions/init.function.d.ts +2 -2
- package/dist/src/fabric/functions/link.function.d.ts +2 -2
- package/dist/src/fabric/functions/llm-key.function.d.ts +6 -6
- package/dist/src/fabric/functions/login.function.d.ts +6 -2
- package/dist/src/fabric/functions/login.function.js +45 -4
- package/dist/src/fabric/functions/logs.function.d.ts +2 -2
- package/dist/src/fabric/functions/metrics.function.d.ts +2 -2
- package/dist/src/fabric/functions/publish.function.d.ts +2 -2
- package/dist/src/fabric/functions/rollback.function.d.ts +2 -2
- package/dist/src/fabric/functions/secrets-list.function.d.ts +2 -2
- package/dist/src/fabric/functions/secrets-set.function.d.ts +2 -2
- package/dist/src/fabric/functions/smoke.function.d.ts +2 -2
- package/dist/src/fabric/functions/status.function.d.ts +2 -2
- package/dist/src/fabric/functions/trace.function.d.ts +2 -2
- package/dist/src/fabric/functions/validate.function.d.ts +2 -2
- package/dist/src/functions/commands/all.d.ts +1 -1
- package/dist/src/functions/commands/audit.d.ts +1 -1
- package/dist/src/functions/commands/binary.d.ts +2 -2
- package/dist/src/functions/commands/bootstrap.d.ts +1 -1
- package/dist/src/functions/commands/db-audit.d.ts +1 -1
- package/dist/src/functions/commands/db-generate.d.ts +1 -1
- package/dist/src/functions/commands/db-migrate.d.ts +1 -1
- package/dist/src/functions/commands/db-reset.d.ts +1 -1
- package/dist/src/functions/commands/db-seed.d.ts +1 -1
- package/dist/src/functions/commands/deploy-apply.d.ts +2 -2
- package/dist/src/functions/commands/deploy-info.d.ts +1 -1
- package/dist/src/functions/commands/deploy-plan.d.ts +2 -2
- package/dist/src/functions/commands/dev.d.ts +2 -2
- package/dist/src/functions/commands/emails-init.d.ts +1 -1
- package/dist/src/functions/commands/enable.d.ts +8 -8
- package/dist/src/functions/commands/import-n8n.d.ts +2 -2
- package/dist/src/functions/commands/info.d.ts +4 -4
- package/dist/src/functions/commands/login.d.ts +5 -5
- package/dist/src/functions/commands/meta.d.ts +25 -25
- package/dist/src/functions/commands/new-addon.d.ts +13 -2
- package/dist/src/functions/commands/new-addon.js +38 -4
- package/dist/src/functions/commands/new-function.d.ts +2 -2
- package/dist/src/functions/commands/new-middleware.d.ts +2 -2
- package/dist/src/functions/commands/new-permission.d.ts +2 -2
- package/dist/src/functions/commands/new-wiring.d.ts +2 -2
- package/dist/src/functions/commands/pikku-command-bootstrap.d.ts +1 -1
- package/dist/src/functions/commands/pikku-command-summary.d.ts +1 -1
- package/dist/src/functions/commands/scenario.d.ts +3 -3
- package/dist/src/functions/commands/scopes-audit.d.ts +1 -1
- package/dist/src/functions/commands/scopes-prune.d.ts +2 -2
- package/dist/src/functions/commands/serve.d.ts +2 -2
- package/dist/src/functions/commands/skills.d.ts +4 -4
- package/dist/src/functions/commands/versions-check.d.ts +1 -1
- package/dist/src/functions/commands/versions-init.d.ts +2 -2
- package/dist/src/functions/commands/versions-update.d.ts +1 -1
- package/dist/src/functions/commands/watch.d.ts +2 -2
- package/dist/src/functions/commands/workspace-validate.d.ts +2 -2
- package/dist/src/functions/runtimes/fetch/index.d.ts +1 -1
- package/dist/src/functions/runtimes/nextjs/pikku-command-nextjs.d.ts +1 -1
- package/dist/src/functions/runtimes/tanstack-start/pikku-command-tanstack-start.d.ts +1 -1
- package/dist/src/functions/runtimes/websocket/pikku-command-websocket-typed.d.ts +1 -1
- package/dist/src/functions/wirings/ai-agent/pikku-command-ai-agent-types.d.ts +1 -1
- package/dist/src/functions/wirings/ai-agent/pikku-command-ai-agent-types.js +3 -2
- package/dist/src/functions/wirings/ai-agent/pikku-command-ai-agent.d.ts +1 -1
- package/dist/src/functions/wirings/ai-agent/pikku-command-public-agent.d.ts +1 -1
- package/dist/src/functions/wirings/ai-agent/pikku-command-public-agent.js +6 -2
- package/dist/src/functions/wirings/ai-agent/serialize-ai-agent-types.d.ts +1 -1
- package/dist/src/functions/wirings/ai-agent/serialize-ai-agent-types.js +3 -2
- package/dist/src/functions/wirings/ai-agent/serialize-public-agent.d.ts +5 -1
- package/dist/src/functions/wirings/ai-agent/serialize-public-agent.js +112 -40
- package/dist/src/functions/wirings/auth/pikku-command-auth.d.ts +2 -2
- package/dist/src/functions/wirings/auth/pikku-command-auth.js +4 -0
- package/dist/src/functions/wirings/channels/pikku-channels.d.ts +1 -1
- package/dist/src/functions/wirings/channels/pikku-command-channel-types.d.ts +1 -1
- package/dist/src/functions/wirings/channels/pikku-command-channels-map.d.ts +1 -1
- package/dist/src/functions/wirings/channels/pikku-command-channels.d.ts +1 -1
- package/dist/src/functions/wirings/cli/pikku-command-cli-entry.d.ts +1 -1
- package/dist/src/functions/wirings/cli/pikku-command-cli-types.d.ts +1 -1
- package/dist/src/functions/wirings/cli/pikku-command-cli.d.ts +1 -1
- package/dist/src/functions/wirings/console/pikku-command-console-functions.d.ts +1 -1
- package/dist/src/functions/wirings/console/pikku-command-console-functions.js +6 -2
- package/dist/src/functions/wirings/console/pikku-command-node-types.d.ts +1 -1
- package/dist/src/functions/wirings/console/pikku-command-nodes-meta.d.ts +1 -1
- package/dist/src/functions/wirings/console/serialize-console-functions.d.ts +5 -1
- package/dist/src/functions/wirings/console/serialize-console-functions.js +55 -23
- package/dist/src/functions/wirings/credentials/pikku-command-credentials.d.ts +1 -1
- package/dist/src/functions/wirings/emails/pikku-command-emails.d.ts +1 -1
- package/dist/src/functions/wirings/functions/pikku-command-addon-types.d.ts +1 -1
- package/dist/src/functions/wirings/functions/pikku-command-function-types-split.d.ts +2 -2
- package/dist/src/functions/wirings/functions/pikku-command-function-types.d.ts +2 -2
- package/dist/src/functions/wirings/functions/pikku-command-functions.d.ts +1 -1
- package/dist/src/functions/wirings/functions/pikku-command-services.d.ts +2 -2
- package/dist/src/functions/wirings/functions/pikku-command-services.js +9 -2
- package/dist/src/functions/wirings/functions/schemas.d.ts +1 -1
- package/dist/src/functions/wirings/functions/schemas.js +10 -1
- package/dist/src/functions/wirings/functions/serialize-function-types.js +23 -12
- package/dist/src/functions/wirings/gateway/pikku-command-gateway.d.ts +1 -1
- package/dist/src/functions/wirings/graph/pikku-command-graph-wirings.d.ts +1 -1
- package/dist/src/functions/wirings/graph/pikku-command-graph-wirings.js +2 -0
- package/dist/src/functions/wirings/http/pikku-command-http-map.d.ts +1 -1
- package/dist/src/functions/wirings/http/pikku-command-http-routes.d.ts +1 -1
- package/dist/src/functions/wirings/http/pikku-command-http-types.d.ts +1 -1
- package/dist/src/functions/wirings/http/pikku-command-openapi.d.ts +1 -1
- package/dist/src/functions/wirings/http/pikku-http-routes.d.ts +1 -1
- package/dist/src/functions/wirings/mcp/pikku-command-mcp-json.d.ts +1 -1
- package/dist/src/functions/wirings/mcp/pikku-command-mcp-types.d.ts +1 -1
- package/dist/src/functions/wirings/mcp/pikku-command-mcp.d.ts +1 -1
- package/dist/src/functions/wirings/middleware/pikku-command-middleware.d.ts +1 -1
- package/dist/src/functions/wirings/package/pikku-command-package-types.d.ts +3 -3
- package/dist/src/functions/wirings/package/pikku-command-package.d.ts +1 -1
- package/dist/src/functions/wirings/permissions/pikku-command-permissions.d.ts +1 -1
- package/dist/src/functions/wirings/queue/pikku-command-queue-map.d.ts +1 -1
- package/dist/src/functions/wirings/queue/pikku-command-queue-service.d.ts +1 -1
- package/dist/src/functions/wirings/queue/pikku-command-queue-types.d.ts +1 -1
- package/dist/src/functions/wirings/queue/pikku-command-queue.d.ts +1 -1
- package/dist/src/functions/wirings/queue/pikku-queue-map.d.ts +1 -1
- package/dist/src/functions/wirings/queue/pikku-queue.d.ts +1 -1
- package/dist/src/functions/wirings/realtime/pikku-command-events-scaffold.d.ts +1 -1
- package/dist/src/functions/wirings/realtime/pikku-command-events-scaffold.js +8 -2
- package/dist/src/functions/wirings/realtime/pikku-command-realtime.d.ts +1 -1
- package/dist/src/functions/wirings/realtime/serialize-events-scaffold.d.ts +5 -4
- package/dist/src/functions/wirings/realtime/serialize-events-scaffold.js +17 -7
- package/dist/src/functions/wirings/rpc/pikku-command-public-rpc.d.ts +1 -1
- package/dist/src/functions/wirings/rpc/pikku-command-public-rpc.js +6 -2
- package/dist/src/functions/wirings/rpc/pikku-command-react-query.d.ts +1 -1
- package/dist/src/functions/wirings/rpc/pikku-command-remote-rpc.d.ts +1 -1
- package/dist/src/functions/wirings/rpc/pikku-command-remote-rpc.js +6 -2
- package/dist/src/functions/wirings/rpc/pikku-command-rpc-client.d.ts +1 -1
- package/dist/src/functions/wirings/rpc/pikku-command-rpc-map.d.ts +3 -3
- package/dist/src/functions/wirings/rpc/pikku-command-rpc.d.ts +1 -1
- package/dist/src/functions/wirings/rpc/serialize-public-rpc.d.ts +5 -1
- package/dist/src/functions/wirings/rpc/serialize-public-rpc.js +16 -5
- package/dist/src/functions/wirings/rpc/serialize-remote-rpc.d.ts +5 -1
- package/dist/src/functions/wirings/rpc/serialize-remote-rpc.js +16 -5
- package/dist/src/functions/wirings/scenarios/pikku-command-scenario-functions.d.ts +1 -1
- package/dist/src/functions/wirings/scenarios/pikku-command-scenario-functions.js +8 -2
- package/dist/src/functions/wirings/scenarios/serialize-scenario-functions.d.ts +5 -1
- package/dist/src/functions/wirings/scenarios/serialize-scenario-functions.js +22 -16
- package/dist/src/functions/wirings/scheduler/pikku-command-scheduler-types.d.ts +1 -1
- package/dist/src/functions/wirings/scheduler/pikku-command-scheduler.d.ts +1 -1
- package/dist/src/functions/wirings/scopes/pikku-command-scopes.d.ts +2 -2
- package/dist/src/functions/wirings/secrets/pikku-command-secrets.d.ts +1 -1
- package/dist/src/functions/wirings/triggers/pikku-command-trigger-types.d.ts +2 -2
- package/dist/src/functions/wirings/triggers/pikku-command-trigger.d.ts +1 -1
- package/dist/src/functions/wirings/user-admin/pikku-command-user-admin-functions.d.ts +1 -0
- package/dist/src/functions/wirings/user-admin/pikku-command-user-admin-functions.js +49 -0
- package/dist/src/functions/wirings/user-admin/serialize-user-admin-functions.d.ts +24 -0
- package/dist/src/functions/wirings/user-admin/serialize-user-admin-functions.js +283 -0
- package/dist/src/functions/wirings/variables/pikku-command-variables.d.ts +1 -1
- package/dist/src/functions/wirings/webhook/pikku-command-webhook.d.ts +1 -1
- package/dist/src/functions/wirings/webhook/pikku-command-webhook.js +6 -2
- package/dist/src/functions/wirings/webhook/serialize-webhook.d.ts +5 -8
- package/dist/src/functions/wirings/webhook/serialize-webhook.js +19 -12
- package/dist/src/functions/wirings/workflow/pikku-command-workflow-routes.d.ts +1 -1
- package/dist/src/functions/wirings/workflow/pikku-command-workflow-routes.js +8 -2
- package/dist/src/functions/wirings/workflow/pikku-command-workflow.d.ts +1 -1
- package/dist/src/functions/wirings/workflow/pikku-command-workflow.js +2 -1
- package/dist/src/functions/wirings/workflow/serialize-workflow-routes.d.ts +5 -1
- package/dist/src/functions/wirings/workflow/serialize-workflow-routes.js +61 -31
- package/dist/src/functions/wirings/workflow/serialize-workflow-types.d.ts +1 -1
- package/dist/src/functions/wirings/workflow/serialize-workflow-types.js +8 -2
- package/dist/src/functions/workflows/all.workflow.js +8 -0
- package/dist/src/utils/pikku-cli-config.js +40 -10
- package/dist/src/utils/remove-legacy-scaffold-file.d.ts +3 -0
- package/dist/src/utils/remove-legacy-scaffold-file.js +43 -0
- package/dist/src/utils/serialize-schemas.js +57 -2
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +6 -6
- package/skills/pikku-addon/SKILL.md +1 -0
- package/skills/pikku-ai-agent/SKILL.md +5 -4
- package/skills/pikku-ai-vercel/SKILL.md +1 -0
- package/skills/pikku-better-auth/SKILL.md +57 -0
- package/skills/pikku-concepts/SKILL.md +1 -1
- package/skills/pikku-concepts/references/concept-mapping.md +11 -9
- package/skills/pikku-emails/SKILL.md +1 -0
- package/skills/pikku-fabric-debug/SKILL.md +112 -0
- package/skills/pikku-permissions/SKILL.md +8 -8
- package/skills/pikku-react/SKILL.md +32 -3
- package/skills/pikku-react-query/SKILL.md +38 -1
- package/skills/pikku-realtime/SKILL.md +1 -1
- package/skills/pikku-security/SKILL.md +3 -3
- package/skills/pikku-services/SKILL.md +34 -0
- package/skills/pikku-template-clone/SKILL.md +1 -0
- package/cli.schema.json +0 -1
- package/console-app/assets/index-CpHRlBt-.css +0 -1
- package/dist/.pikku/http/pikku-http-wirings-meta.gen.d.ts +0 -1
- package/dist/.pikku/http/pikku-http-wirings-meta.gen.js +0 -6
- package/dist/.pikku/http/pikku-http-wirings-meta.gen.json +0 -26
- package/dist/.pikku/http/pikku-http-wirings.gen.js +0 -5
- package/dist/.pikku/queue/pikku-queue-workers-wirings-meta.gen.d.ts +0 -1
- package/dist/.pikku/queue/pikku-queue-workers-wirings-meta.gen.js +0 -6
- package/dist/.pikku/queue/pikku-queue-workers-wirings-meta.gen.json +0 -10
- package/dist/.pikku/queue/pikku-queue-workers-wirings.gen.d.ts +0 -4
- package/dist/.pikku/queue/pikku-queue-workers-wirings.gen.js +0 -5
- package/dist/.pikku/schemas/schemas/RemoteRPCHandlerInput.schema.json +0 -1
- package/dist/src/scaffold/rpc-remote.gen.d.ts +0 -10
- package/dist/src/scaffold/rpc-remote.gen.js +0 -27
package/console-app/index.html
CHANGED
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
}
|
|
22
22
|
} catch (e) {}
|
|
23
23
|
</script>
|
|
24
|
-
<script type="module" crossorigin src="/console/assets/index-
|
|
25
|
-
<link rel="stylesheet" crossorigin href="/console/assets/index-
|
|
24
|
+
<script type="module" crossorigin src="/console/assets/index-Cr3_cO3Z.js"></script>
|
|
25
|
+
<link rel="stylesheet" crossorigin href="/console/assets/index-CSzCJzBb.css">
|
|
26
26
|
</head>
|
|
27
27
|
<body>
|
|
28
28
|
<div id="root"></div>
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This file was generated by @pikku/cli@0.12.
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.86
|
|
3
3
|
*/
|
|
4
4
|
import { CoreAIAgent, PikkuAIMiddlewareHooks } from '@pikku/core/ai-agent';
|
|
5
5
|
import type { PikkuPermission, PikkuMiddleware, Services, PikkuFunctionConfig } from '../function/pikku-function-types.gen.js';
|
|
6
6
|
import type { StandardSchemaV1 } from '@standard-schema/spec';
|
|
7
7
|
import type { AIAgentMemoryConfig, AIAgentInput } from '@pikku/core/ai-agent';
|
|
8
8
|
import type { AgentMap } from './pikku-agent-map.gen.d.js';
|
|
9
|
-
type
|
|
9
|
+
import type { ScopeId } from '../scopes/pikku-scopes.gen.js';
|
|
10
|
+
type AIAgentConfig<InputSchema extends StandardSchemaV1 | undefined = undefined, OutputSchema extends StandardSchemaV1 | undefined = undefined> = Omit<CoreAIAgent<PikkuPermission, PikkuMiddleware, ScopeId>, 'tools' | 'agents' | 'workflows' | 'memory' | 'input' | 'output'> & {
|
|
10
11
|
input?: InputSchema;
|
|
11
12
|
output?: OutputSchema;
|
|
12
13
|
memory?: Omit<AIAgentMemoryConfig, 'workingMemory'> & {
|
|
@@ -6,11 +6,11 @@ export declare const cliHelp: import("../function/pikku-function-types.gen.js").
|
|
|
6
6
|
args?: string[];
|
|
7
7
|
}, {
|
|
8
8
|
help: string;
|
|
9
|
-
}, "rpc" | "session", import("../function/pikku-function-types.gen.js").
|
|
9
|
+
}, "rpc" | "session", import("../function/pikku-function-types.gen.js").WiredServices> | import("../function/pikku-function-types.gen.js").PikkuFunction<{
|
|
10
10
|
args?: string[];
|
|
11
11
|
}, {
|
|
12
12
|
help: string;
|
|
13
|
-
}, "rpc" | "session", import("../function/pikku-function-types.gen.js").
|
|
13
|
+
}, "rpc" | "session", import("../function/pikku-function-types.gen.js").WiredServices>, undefined, undefined>;
|
|
14
14
|
export declare const cliRaw: import("../function/pikku-function-types.gen.js").PikkuFunctionConfig<{
|
|
15
15
|
args: string[];
|
|
16
16
|
}, {
|
|
@@ -23,10 +23,10 @@ export declare const cliRaw: import("../function/pikku-function-types.gen.js").P
|
|
|
23
23
|
help?: string;
|
|
24
24
|
result?: unknown;
|
|
25
25
|
error?: string;
|
|
26
|
-
}, "rpc" | "session", import("../function/pikku-function-types.gen.js").
|
|
26
|
+
}, "rpc" | "session", import("../function/pikku-function-types.gen.js").WiredServices> | import("../function/pikku-function-types.gen.js").PikkuFunction<{
|
|
27
27
|
args: string[];
|
|
28
28
|
}, {
|
|
29
29
|
help?: string;
|
|
30
30
|
result?: unknown;
|
|
31
31
|
error?: string;
|
|
32
|
-
}, "rpc" | "session", import("../function/pikku-function-types.gen.js").
|
|
32
|
+
}, "rpc" | "session", import("../function/pikku-function-types.gen.js").WiredServices>, undefined, undefined>;
|
|
@@ -43,6 +43,10 @@
|
|
|
43
43
|
},
|
|
44
44
|
"consoleUrl": {
|
|
45
45
|
"description": "Override the console URL the browser opens"
|
|
46
|
+
},
|
|
47
|
+
"browser": {
|
|
48
|
+
"description": "Open the sign-in link automatically (--no-browser to just print it)",
|
|
49
|
+
"default": true
|
|
46
50
|
}
|
|
47
51
|
},
|
|
48
52
|
"description": "Authenticate against fabric-api"
|
|
@@ -383,6 +383,10 @@
|
|
|
383
383
|
},
|
|
384
384
|
"consoleUrl": {
|
|
385
385
|
"description": "Override the console URL the browser opens"
|
|
386
|
+
},
|
|
387
|
+
"browser": {
|
|
388
|
+
"description": "Open the sign-in link automatically (--no-browser to just print it)",
|
|
389
|
+
"default": true
|
|
386
390
|
}
|
|
387
391
|
},
|
|
388
392
|
"description": "Authenticate against fabric-api"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This file was generated by @pikku/cli@0.12.
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.86
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
5
|
* Core function, middleware, and permission types for all wirings
|
|
@@ -21,6 +21,16 @@ import type { TypedWorkflow, TypedScenario } from '../workflow/pikku-workflow-ty
|
|
|
21
21
|
export type { SingletonServices as SingletonServices };
|
|
22
22
|
export type { Services as Services };
|
|
23
23
|
export type Session = UserSession;
|
|
24
|
+
/**
|
|
25
|
+
* The services a wired function actually receives. The inspector records which
|
|
26
|
+
* services each wired `func`, `permissions` and `middleware` destructures and
|
|
27
|
+
* emits them as `RequiredSingletonServices`; intersecting that here makes those
|
|
28
|
+
* services **non-optional** at every call site. A service is optional only when
|
|
29
|
+
* nothing destructures it — in which case it is never created either. This is
|
|
30
|
+
* why an `if (!service)` guard inside a function body is always dead code.
|
|
31
|
+
*/
|
|
32
|
+
export type WiredSingletonServices = RequiredSingletonServices & SingletonServices;
|
|
33
|
+
export type WiredServices = RequiredSingletonServices & Services;
|
|
24
34
|
/**
|
|
25
35
|
* Inline node configuration for function definitions.
|
|
26
36
|
*/
|
|
@@ -37,18 +47,18 @@ export type NodeConfig = {
|
|
|
37
47
|
* @template In - The input type that the permission check will receive
|
|
38
48
|
* @template RequiredServices - The services required for this permission check
|
|
39
49
|
*/
|
|
40
|
-
export type PikkuPermission<In = unknown, RequiredServices extends Services =
|
|
50
|
+
export type PikkuPermission<In = unknown, RequiredServices extends Services = WiredServices> = CorePikkuPermission<In, RequiredServices, PikkuWire<In, never, false, Session>>;
|
|
41
51
|
/**
|
|
42
52
|
* Type-safe middleware definition that can access your application's services and session.
|
|
43
53
|
* Use this to define reusable middleware that can be applied to multiple wirings.
|
|
44
54
|
*
|
|
45
55
|
* @template RequiredServices - The services required for this middleware
|
|
46
56
|
*/
|
|
47
|
-
export type PikkuMiddleware<RequiredServices extends SingletonServices =
|
|
57
|
+
export type PikkuMiddleware<RequiredServices extends SingletonServices = WiredSingletonServices> = CorePikkuMiddleware<RequiredServices>;
|
|
48
58
|
/**
|
|
49
59
|
* Configuration object for creating a permission with metadata
|
|
50
60
|
*/
|
|
51
|
-
export type PikkuPermissionConfig<In = unknown, RequiredServices extends Services =
|
|
61
|
+
export type PikkuPermissionConfig<In = unknown, RequiredServices extends Services = WiredServices> = {
|
|
52
62
|
/** The permission function */
|
|
53
63
|
func: PikkuPermission<In, RequiredServices>;
|
|
54
64
|
/** Optional human-readable name for the permission */
|
|
@@ -87,11 +97,11 @@ export declare const pikkuPermission: <In>(permission: PikkuPermission<In> | Pik
|
|
|
87
97
|
*
|
|
88
98
|
* @template RequiredServices - The services required for this auth check
|
|
89
99
|
*/
|
|
90
|
-
export type PikkuAuth<RequiredServices extends SingletonServices =
|
|
100
|
+
export type PikkuAuth<RequiredServices extends SingletonServices = WiredSingletonServices> = CorePikkuAuth<RequiredServices, Session>;
|
|
91
101
|
/**
|
|
92
102
|
* Configuration object for creating an auth permission with metadata
|
|
93
103
|
*/
|
|
94
|
-
export type PikkuAuthConfig<RequiredServices extends SingletonServices =
|
|
104
|
+
export type PikkuAuthConfig<RequiredServices extends SingletonServices = WiredSingletonServices> = CorePikkuAuthConfig<RequiredServices, Session>;
|
|
95
105
|
/**
|
|
96
106
|
* Factory function for creating auth-only permissions with tree-shaking support.
|
|
97
107
|
* Auth permissions only receive services and session (no request data),
|
|
@@ -112,11 +122,11 @@ export type PikkuAuthConfig<RequiredServices extends SingletonServices = Singlet
|
|
|
112
122
|
* })
|
|
113
123
|
* \`\`\`
|
|
114
124
|
*/
|
|
115
|
-
export declare const pikkuAuth: <RequiredServices extends SingletonServices =
|
|
125
|
+
export declare const pikkuAuth: <RequiredServices extends SingletonServices = WiredSingletonServices>(auth: PikkuAuth<RequiredServices> | PikkuAuthConfig<RequiredServices>) => PikkuPermission<any, any>;
|
|
116
126
|
/**
|
|
117
127
|
* Configuration object for creating middleware with metadata
|
|
118
128
|
*/
|
|
119
|
-
export type PikkuMiddlewareConfig<RequiredServices extends SingletonServices =
|
|
129
|
+
export type PikkuMiddlewareConfig<RequiredServices extends SingletonServices = WiredSingletonServices> = {
|
|
120
130
|
/** The middleware function */
|
|
121
131
|
func: PikkuMiddleware<RequiredServices>;
|
|
122
132
|
/** Optional human-readable name for the middleware */
|
|
@@ -147,7 +157,7 @@ export type PikkuMiddlewareConfig<RequiredServices extends SingletonServices = S
|
|
|
147
157
|
* })
|
|
148
158
|
* ```
|
|
149
159
|
*/
|
|
150
|
-
export declare const pikkuMiddleware: <RequiredServices extends SingletonServices =
|
|
160
|
+
export declare const pikkuMiddleware: <RequiredServices extends SingletonServices = WiredSingletonServices>(middleware: PikkuMiddleware<RequiredServices> | PikkuMiddlewareConfig<RequiredServices>) => PikkuMiddleware<RequiredServices>;
|
|
151
161
|
/**
|
|
152
162
|
* Factory function for creating middleware factories
|
|
153
163
|
* Use this when your middleware needs configuration/input parameters
|
|
@@ -193,7 +203,7 @@ export declare const pikkuPermissionFactory: <In = any>(factory: (input: In) =>
|
|
|
193
203
|
* @template In - The input type (same as the function it describes)
|
|
194
204
|
* @template RequiredServices - The services required for this description function
|
|
195
205
|
*/
|
|
196
|
-
export type PikkuApprovalDescription<In = unknown, RequiredServices extends Services =
|
|
206
|
+
export type PikkuApprovalDescription<In = unknown, RequiredServices extends Services = WiredServices> = (services: RequiredServices, data: In) => Promise<string>;
|
|
197
207
|
/**
|
|
198
208
|
* Factory function for creating approval description functions with tree-shaking support.
|
|
199
209
|
*
|
|
@@ -207,7 +217,7 @@ export type PikkuApprovalDescription<In = unknown, RequiredServices extends Serv
|
|
|
207
217
|
* )
|
|
208
218
|
* ```
|
|
209
219
|
*/
|
|
210
|
-
export declare const pikkuApprovalDescription: <In = unknown, RequiredServices extends Services =
|
|
220
|
+
export declare const pikkuApprovalDescription: <In = unknown, RequiredServices extends Services = WiredServices>(fn: PikkuApprovalDescription<In, RequiredServices>) => PikkuApprovalDescription<In, RequiredServices>;
|
|
211
221
|
/**
|
|
212
222
|
* A sessionless API function that doesn't require user authentication.
|
|
213
223
|
* Use this for public endpoints, health checks, or operations that don't need user context.
|
|
@@ -216,7 +226,7 @@ export declare const pikkuApprovalDescription: <In = unknown, RequiredServices e
|
|
|
216
226
|
* @template Out - The output type that the function returns
|
|
217
227
|
* @template RequiredServices - Services required by this function
|
|
218
228
|
*/
|
|
219
|
-
export type PikkuFunctionSessionless<In = unknown, Out = never, RequiredWires extends keyof PikkuWire = never, RequiredServices extends Services =
|
|
229
|
+
export type PikkuFunctionSessionless<In = unknown, Out = never, RequiredWires extends keyof PikkuWire = never, RequiredServices extends Services = WiredServices> = CorePikkuFunctionSessionless<In, Out, RequiredServices, Session, PickRequired<PikkuWire<In, Out, false, Session, TypedPikkuRPC, null, any, TypedWorkflow, unknown, TypedScenario>, RequiredWires>>;
|
|
220
230
|
/**
|
|
221
231
|
* A session-aware API function that requires user authentication.
|
|
222
232
|
* Use this for protected endpoints that need access to user session data.
|
|
@@ -225,7 +235,7 @@ export type PikkuFunctionSessionless<In = unknown, Out = never, RequiredWires ex
|
|
|
225
235
|
* @template Out - The output type that the function returns
|
|
226
236
|
* @template RequiredServices - Services required by this function
|
|
227
237
|
*/
|
|
228
|
-
export type PikkuFunction<In = unknown, Out = never, RequiredWires extends keyof PikkuWire = 'session', RequiredServices extends Services =
|
|
238
|
+
export type PikkuFunction<In = unknown, Out = never, RequiredWires extends keyof PikkuWire = 'session', RequiredServices extends Services = WiredServices> = CorePikkuFunction<In, Out, RequiredServices, Session, PickRequired<PikkuWire<In, Out, true, Session, TypedPikkuRPC, null, any, TypedWorkflow, unknown, TypedScenario>, RequiredWires>>;
|
|
229
239
|
/**
|
|
230
240
|
* Helper type to infer the output type from a Standard Schema
|
|
231
241
|
*/
|
|
@@ -342,7 +352,7 @@ export declare function pikkuSessionlessFunc<In, Out = unknown>(func: PikkuFunct
|
|
|
342
352
|
* })
|
|
343
353
|
* ```
|
|
344
354
|
*/
|
|
345
|
-
export declare const pikkuVoidFunc: (func: PikkuFunctionSessionless<void, void, "session" | "rpc"> | PikkuFunctionConfig<void, void, "session" | "rpc">) => PikkuFunctionConfig<void, void, "rpc" | "session", PikkuFunctionSessionless<void, void, "rpc" | "session",
|
|
355
|
+
export declare const pikkuVoidFunc: (func: PikkuFunctionSessionless<void, void, "session" | "rpc"> | PikkuFunctionConfig<void, void, "session" | "rpc">) => PikkuFunctionConfig<void, void, "rpc" | "session", PikkuFunctionSessionless<void, void, "rpc" | "session", WiredServices> | PikkuFunction<void, void, "rpc" | "session", WiredServices>, undefined, undefined>;
|
|
346
356
|
/**
|
|
347
357
|
* References a registered function by name for use in any wiring.
|
|
348
358
|
* Works for both local and addon functions — resolves via RPC at runtime.
|
|
@@ -279,9 +279,9 @@
|
|
|
279
279
|
"outputs": [
|
|
280
280
|
"FabricLoginOutput"
|
|
281
281
|
],
|
|
282
|
-
"implementationHash": "
|
|
283
|
-
"contractHash": "
|
|
284
|
-
"inputHash": "
|
|
282
|
+
"implementationHash": "02646861b98d49ee",
|
|
283
|
+
"contractHash": "cc718b11c9788915",
|
|
284
|
+
"inputHash": "456fbe51",
|
|
285
285
|
"outputHash": "a38a12eb"
|
|
286
286
|
},
|
|
287
287
|
"FabricLogs": {
|
|
@@ -1281,7 +1281,7 @@
|
|
|
1281
1281
|
"PikkuNewAddonInput"
|
|
1282
1282
|
],
|
|
1283
1283
|
"outputs": [],
|
|
1284
|
-
"implementationHash": "
|
|
1284
|
+
"implementationHash": "baa095ba82205ff5",
|
|
1285
1285
|
"contractHash": "7ad6280aa8f3e18e",
|
|
1286
1286
|
"inputHash": "87a4bbd4",
|
|
1287
1287
|
"outputHash": "77e837d4"
|
|
@@ -1367,8 +1367,8 @@
|
|
|
1367
1367
|
],
|
|
1368
1368
|
"outputs": [],
|
|
1369
1369
|
"implementationHash": "bff81f186c6a4bf8",
|
|
1370
|
-
"contractHash": "
|
|
1371
|
-
"inputHash": "
|
|
1370
|
+
"contractHash": "d699dbed25674fbe",
|
|
1371
|
+
"inputHash": "83f342c1",
|
|
1372
1372
|
"outputHash": "0d154de9"
|
|
1373
1373
|
},
|
|
1374
1374
|
"pikkuSummary": {
|
|
@@ -1678,7 +1678,7 @@
|
|
|
1678
1678
|
"outputSchemaName": null,
|
|
1679
1679
|
"inputs": [],
|
|
1680
1680
|
"outputs": [],
|
|
1681
|
-
"implementationHash": "
|
|
1681
|
+
"implementationHash": "e5a567c121415ebf",
|
|
1682
1682
|
"middleware": [
|
|
1683
1683
|
{
|
|
1684
1684
|
"type": "wire",
|
|
@@ -1726,7 +1726,7 @@
|
|
|
1726
1726
|
"outputs": [
|
|
1727
1727
|
"PikkuPublicAgentOutput"
|
|
1728
1728
|
],
|
|
1729
|
-
"implementationHash": "
|
|
1729
|
+
"implementationHash": "20cd376f3e7e90fa",
|
|
1730
1730
|
"middleware": [
|
|
1731
1731
|
{
|
|
1732
1732
|
"type": "wire",
|
|
@@ -1750,7 +1750,7 @@
|
|
|
1750
1750
|
"PikkuAuthInput"
|
|
1751
1751
|
],
|
|
1752
1752
|
"outputs": [],
|
|
1753
|
-
"implementationHash": "
|
|
1753
|
+
"implementationHash": "a868f2ecd6e58ba1",
|
|
1754
1754
|
"middleware": [
|
|
1755
1755
|
{
|
|
1756
1756
|
"type": "wire",
|
|
@@ -1936,7 +1936,7 @@
|
|
|
1936
1936
|
"outputs": [
|
|
1937
1937
|
"PikkuConsoleFunctionsOutput"
|
|
1938
1938
|
],
|
|
1939
|
-
"implementationHash": "
|
|
1939
|
+
"implementationHash": "14e13fbe2faf12e6",
|
|
1940
1940
|
"middleware": [
|
|
1941
1941
|
{
|
|
1942
1942
|
"type": "wire",
|
|
@@ -2146,7 +2146,7 @@
|
|
|
2146
2146
|
"outputSchemaName": null,
|
|
2147
2147
|
"inputs": [],
|
|
2148
2148
|
"outputs": [],
|
|
2149
|
-
"implementationHash": "
|
|
2149
|
+
"implementationHash": "99b309db8e8700b1",
|
|
2150
2150
|
"middleware": [
|
|
2151
2151
|
{
|
|
2152
2152
|
"type": "wire",
|
|
@@ -2170,7 +2170,7 @@
|
|
|
2170
2170
|
"outputs": [
|
|
2171
2171
|
"PikkuSchemasOutput"
|
|
2172
2172
|
],
|
|
2173
|
-
"implementationHash": "
|
|
2173
|
+
"implementationHash": "5c0288e2d4885c54",
|
|
2174
2174
|
"middleware": [
|
|
2175
2175
|
{
|
|
2176
2176
|
"type": "wire",
|
|
@@ -2218,7 +2218,7 @@
|
|
|
2218
2218
|
"outputs": [
|
|
2219
2219
|
"PikkuGraphWiringsOutput"
|
|
2220
2220
|
],
|
|
2221
|
-
"implementationHash": "
|
|
2221
|
+
"implementationHash": "1c1a90acc29c5733",
|
|
2222
2222
|
"middleware": [
|
|
2223
2223
|
{
|
|
2224
2224
|
"type": "wire",
|
|
@@ -2698,7 +2698,7 @@
|
|
|
2698
2698
|
"outputs": [
|
|
2699
2699
|
"PikkuEventsScaffoldOutput"
|
|
2700
2700
|
],
|
|
2701
|
-
"implementationHash": "
|
|
2701
|
+
"implementationHash": "59a5caca66a24f35",
|
|
2702
2702
|
"middleware": [
|
|
2703
2703
|
{
|
|
2704
2704
|
"type": "wire",
|
|
@@ -2744,7 +2744,7 @@
|
|
|
2744
2744
|
"outputs": [
|
|
2745
2745
|
"PikkuPublicRPCOutput"
|
|
2746
2746
|
],
|
|
2747
|
-
"implementationHash": "
|
|
2747
|
+
"implementationHash": "c1362000becfea01",
|
|
2748
2748
|
"middleware": [
|
|
2749
2749
|
{
|
|
2750
2750
|
"type": "wire",
|
|
@@ -2790,7 +2790,7 @@
|
|
|
2790
2790
|
"outputs": [
|
|
2791
2791
|
"PikkuRemoteRPCOutput"
|
|
2792
2792
|
],
|
|
2793
|
-
"implementationHash": "
|
|
2793
|
+
"implementationHash": "6df4508c3f2f2671",
|
|
2794
2794
|
"middleware": [
|
|
2795
2795
|
{
|
|
2796
2796
|
"type": "wire",
|
|
@@ -2926,7 +2926,7 @@
|
|
|
2926
2926
|
"outputs": [
|
|
2927
2927
|
"PikkuScenarioFunctionsOutput"
|
|
2928
2928
|
],
|
|
2929
|
-
"implementationHash": "
|
|
2929
|
+
"implementationHash": "4027c6c9634a2aaa",
|
|
2930
2930
|
"middleware": [
|
|
2931
2931
|
{
|
|
2932
2932
|
"type": "wire",
|
|
@@ -3078,6 +3078,30 @@
|
|
|
3078
3078
|
"inputHash": "164d65e7",
|
|
3079
3079
|
"outputHash": "3ac7247c"
|
|
3080
3080
|
},
|
|
3081
|
+
"pikkuUserAdminFunctions": {
|
|
3082
|
+
"pikkuFuncId": "pikkuUserAdminFunctions",
|
|
3083
|
+
"functionType": "user",
|
|
3084
|
+
"funcWrapper": "pikkuSessionlessFunc",
|
|
3085
|
+
"sessionless": true,
|
|
3086
|
+
"name": "pikkuUserAdminFunctions",
|
|
3087
|
+
"inputSchemaName": null,
|
|
3088
|
+
"outputSchemaName": "PikkuUserAdminFunctionsOutput",
|
|
3089
|
+
"inputs": [],
|
|
3090
|
+
"outputs": [
|
|
3091
|
+
"PikkuUserAdminFunctionsOutput"
|
|
3092
|
+
],
|
|
3093
|
+
"implementationHash": "02a648d9614ddac6",
|
|
3094
|
+
"middleware": [
|
|
3095
|
+
{
|
|
3096
|
+
"type": "wire",
|
|
3097
|
+
"name": "logCommandInfoAndTime",
|
|
3098
|
+
"inline": false
|
|
3099
|
+
}
|
|
3100
|
+
],
|
|
3101
|
+
"contractHash": "5b572c3e9cd756aa",
|
|
3102
|
+
"inputHash": "ea89750b",
|
|
3103
|
+
"outputHash": "8d7a341a"
|
|
3104
|
+
},
|
|
3081
3105
|
"pikkuVariables": {
|
|
3082
3106
|
"pikkuFuncId": "pikkuVariables",
|
|
3083
3107
|
"functionType": "user",
|
|
@@ -3112,7 +3136,7 @@
|
|
|
3112
3136
|
"outputs": [
|
|
3113
3137
|
"PikkuWebhookOutput"
|
|
3114
3138
|
],
|
|
3115
|
-
"implementationHash": "
|
|
3139
|
+
"implementationHash": "37f0a612eb45d2cd",
|
|
3116
3140
|
"middleware": [
|
|
3117
3141
|
{
|
|
3118
3142
|
"type": "wire",
|
|
@@ -3136,7 +3160,7 @@
|
|
|
3136
3160
|
"outputs": [
|
|
3137
3161
|
"PikkuWorkflowRoutesOutput"
|
|
3138
3162
|
],
|
|
3139
|
-
"implementationHash": "
|
|
3163
|
+
"implementationHash": "e7bf1baed80d990f",
|
|
3140
3164
|
"middleware": [
|
|
3141
3165
|
{
|
|
3142
3166
|
"type": "wire",
|
|
@@ -3162,7 +3186,7 @@
|
|
|
3162
3186
|
"outputs": [
|
|
3163
3187
|
"PikkuWorkflowOutput"
|
|
3164
3188
|
],
|
|
3165
|
-
"implementationHash": "
|
|
3189
|
+
"implementationHash": "336b447a76456e0a",
|
|
3166
3190
|
"middleware": [
|
|
3167
3191
|
{
|
|
3168
3192
|
"type": "wire",
|
|
@@ -3184,24 +3208,9 @@
|
|
|
3184
3208
|
"outputSchemaName": null,
|
|
3185
3209
|
"inputs": [],
|
|
3186
3210
|
"outputs": [],
|
|
3187
|
-
"implementationHash": "
|
|
3211
|
+
"implementationHash": "00e5456e89baba5e",
|
|
3188
3212
|
"contractHash": "5cf046fc5045a072",
|
|
3189
3213
|
"inputHash": "d5ff2f31",
|
|
3190
3214
|
"outputHash": "391c291d"
|
|
3191
|
-
},
|
|
3192
|
-
"remoteRPCHandler": {
|
|
3193
|
-
"pikkuFuncId": "remoteRPCHandler",
|
|
3194
|
-
"functionType": "user",
|
|
3195
|
-
"funcWrapper": "pikkuSessionlessFunc",
|
|
3196
|
-
"sessionless": true,
|
|
3197
|
-
"name": "remoteRPCHandler",
|
|
3198
|
-
"inputSchemaName": "RemoteRPCHandlerInput",
|
|
3199
|
-
"outputSchemaName": null,
|
|
3200
|
-
"inputs": [
|
|
3201
|
-
"RemoteRPCHandlerInput"
|
|
3202
|
-
],
|
|
3203
|
-
"outputs": [],
|
|
3204
|
-
"remote": true,
|
|
3205
|
-
"implementationHash": "105018a823bdb551"
|
|
3206
3215
|
}
|
|
3207
3216
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This file was generated by @pikku/cli@0.12.
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.86
|
|
3
3
|
*/
|
|
4
4
|
/* Import and register functions used by RPCs */
|
|
5
5
|
import { addFunction } from '@pikku/core/function';
|
|
@@ -73,6 +73,7 @@ import { pikkuSummary } from '../../src/functions/commands/pikku-command-summary
|
|
|
73
73
|
import { pikkuTanStackStart } from '../../src/functions/runtimes/tanstack-start/pikku-command-tanstack-start.js';
|
|
74
74
|
import { pikkuTrigger } from '../../src/functions/wirings/triggers/pikku-command-trigger.js';
|
|
75
75
|
import { pikkuTriggerTypes } from '../../src/functions/wirings/triggers/pikku-command-trigger-types.js';
|
|
76
|
+
import { pikkuUserAdminFunctions } from '../../src/functions/wirings/user-admin/pikku-command-user-admin-functions.js';
|
|
76
77
|
import { pikkuVariableDefinitionTypes } from '../../src/functions/wirings/package/pikku-command-package-types.js';
|
|
77
78
|
import { pikkuVariables } from '../../src/functions/wirings/variables/pikku-command-variables.js';
|
|
78
79
|
import { pikkuVersionsUpdate } from '../../src/functions/commands/versions-update.js';
|
|
@@ -80,7 +81,6 @@ import { pikkuWebhook } from '../../src/functions/wirings/webhook/pikku-command-
|
|
|
80
81
|
import { pikkuWebSocketTyped } from '../../src/functions/runtimes/websocket/pikku-command-websocket-typed.js';
|
|
81
82
|
import { pikkuWorkflow } from '../../src/functions/wirings/workflow/pikku-command-workflow.js';
|
|
82
83
|
import { pikkuWorkflowRoutes } from '../../src/functions/wirings/workflow/pikku-command-workflow-routes.js';
|
|
83
|
-
import { remoteRPCHandler } from '../../src/scaffold/rpc-remote.gen.js';
|
|
84
84
|
import { scopesAudit } from '../../src/functions/commands/scopes-audit.js';
|
|
85
85
|
import { scopesPrune } from '../../src/functions/commands/scopes-prune.js';
|
|
86
86
|
import { serve } from '../../src/functions/commands/serve.js';
|
|
@@ -155,6 +155,7 @@ addFunction('pikkuSummary', pikkuSummary);
|
|
|
155
155
|
addFunction('pikkuTanStackStart', pikkuTanStackStart);
|
|
156
156
|
addFunction('pikkuTrigger', pikkuTrigger);
|
|
157
157
|
addFunction('pikkuTriggerTypes', pikkuTriggerTypes);
|
|
158
|
+
addFunction('pikkuUserAdminFunctions', pikkuUserAdminFunctions);
|
|
158
159
|
addFunction('pikkuVariableDefinitionTypes', pikkuVariableDefinitionTypes);
|
|
159
160
|
addFunction('pikkuVariables', pikkuVariables);
|
|
160
161
|
addFunction('pikkuVersionsUpdate', pikkuVersionsUpdate);
|
|
@@ -162,7 +163,6 @@ addFunction('pikkuWebhook', pikkuWebhook);
|
|
|
162
163
|
addFunction('pikkuWebSocketTyped', pikkuWebSocketTyped);
|
|
163
164
|
addFunction('pikkuWorkflow', pikkuWorkflow);
|
|
164
165
|
addFunction('pikkuWorkflowRoutes', pikkuWorkflowRoutes);
|
|
165
|
-
addFunction('remoteRPCHandler', remoteRPCHandler);
|
|
166
166
|
addFunction('scopesAudit', scopesAudit);
|
|
167
167
|
addFunction('scopesPrune', scopesPrune);
|
|
168
168
|
addFunction('serve', serve);
|