@pikku/cli 0.12.75 → 0.12.76
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-Bn7IPpsQ.js → index-M7009WaW.js} +2 -2
- package/console-app/index.html +1 -1
- package/dist/.pikku/agent/pikku-agent-types.gen.d.ts +1 -1
- 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.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-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.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 +1 -1
- 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.gen.js +1 -1
- 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/http/pikku-http-wirings-meta.gen.js +1 -1
- package/dist/.pikku/http/pikku-http-wirings.gen.d.ts +1 -1
- package/dist/.pikku/http/pikku-http-wirings.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 -1
- package/dist/.pikku/pikku-bootstrap.gen.js +1 -1
- 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 +1 -1
- 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/queue/pikku-queue-workers-wirings-meta.gen.js +1 -1
- package/dist/.pikku/queue/pikku-queue-workers-wirings.gen.d.ts +1 -1
- package/dist/.pikku/queue/pikku-queue-workers-wirings.gen.js +1 -1
- package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.js +1 -1
- 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 +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/pikku-workflow-types.gen.d.ts +1 -1
- 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/functions/wirings/auth/serialize-auth-gen.js +4 -1
- package/dist/src/functions/wirings/console/serialize-console-functions.js +1 -0
- package/dist/src/functions/wirings/rpc/serialize-public-rpc.js +1 -0
- package/dist/src/functions/wirings/rpc/serialize-remote-rpc.js +2 -0
- package/dist/src/functions/wirings/workflow/serialize-workflow-routes.js +2 -0
- package/package.json +1 -1
package/console-app/index.html
CHANGED
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
}
|
|
22
22
|
} catch (e) {}
|
|
23
23
|
</script>
|
|
24
|
-
<script type="module" crossorigin src="/console/assets/index-
|
|
24
|
+
<script type="module" crossorigin src="/console/assets/index-M7009WaW.js"></script>
|
|
25
25
|
<link rel="stylesheet" crossorigin href="/console/assets/index-DwyRdRuZ.css">
|
|
26
26
|
</head>
|
|
27
27
|
<body>
|
|
@@ -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.76
|
|
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';
|
|
@@ -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.76
|
|
3
3
|
*/
|
|
4
4
|
export { wireVariable } from '@pikku/core/variable';
|
|
5
5
|
export type { CoreVariable, VariableDefinitionMeta, VariableDefinitionsMeta } from '@pikku/core/variable';
|
package/dist/bin/pikku-bin.mjs
CHANGED
|
@@ -11,8 +11,8 @@ async function checkForUpdate() {
|
|
|
11
11
|
})
|
|
12
12
|
if (!res.ok) return
|
|
13
13
|
const { version: latest } = await res.json()
|
|
14
|
-
if (latest !== '0.12.
|
|
15
|
-
process.stderr.write(`\n Update available 0.12.
|
|
14
|
+
if (latest !== '0.12.76') {
|
|
15
|
+
process.stderr.write(`\n Update available 0.12.76 → ${latest}\n brew upgrade pikku or npm install -g @pikku/cli\n\n`)
|
|
16
16
|
}
|
|
17
17
|
} catch {}
|
|
18
18
|
}
|
|
@@ -158,6 +158,7 @@ export const serializeAuthGen = (definition, providers, authFile, typesDeclarati
|
|
|
158
158
|
// inspector from the pikkuBetterAuth factory.
|
|
159
159
|
`const authConfigHandler = createAuthHandler()`,
|
|
160
160
|
`export const ${AUTH_HANDLER_FUNC_ID} = pikkuSessionlessFunc({`,
|
|
161
|
+
` tags: ['pikku'],`,
|
|
161
162
|
` func: (services: any, data: any, interaction: any) =>`,
|
|
162
163
|
` authConfigHandler.func(services, data, interaction),`,
|
|
163
164
|
`})`,
|
|
@@ -173,7 +174,9 @@ export const serializeAuthGen = (definition, providers, authFile, typesDeclarati
|
|
|
173
174
|
wiring.push(`addHTTPMiddleware('*', [betterAuthSession()])`, '');
|
|
174
175
|
}
|
|
175
176
|
}
|
|
176
|
-
|
|
177
|
+
// `pikku` tag marks these as scaffold plumbing (not user-authored wiring) so
|
|
178
|
+
// visualizers like the console's woven build view can hide them.
|
|
179
|
+
wiring.push(`wireHTTPRoutes({`, ` tags: ['pikku'],`, ` routes: {`);
|
|
177
180
|
// One catch-all route per method. `{/*splat}` matches both the bare basePath
|
|
178
181
|
// and every sub-path under it, so better-auth's internal router sees the full
|
|
179
182
|
// request and handles all of its own endpoints.
|
|
@@ -22,6 +22,7 @@ export const remoteRPCHandler = pikkuSessionlessFunc<
|
|
|
22
22
|
|
|
23
23
|
wireQueueWorker({
|
|
24
24
|
name: 'pikku-remote-internal-rpc',
|
|
25
|
+
tags: ['pikku'],
|
|
25
26
|
func: remoteRPCHandler,
|
|
26
27
|
})
|
|
27
28
|
|
|
@@ -29,6 +30,7 @@ wireHTTP({
|
|
|
29
30
|
route: '/remote/rpc/:rpcName',
|
|
30
31
|
method: 'post',
|
|
31
32
|
auth: false,
|
|
33
|
+
tags: ['pikku'],
|
|
32
34
|
middleware: [pikkuRemoteAuthMiddleware],
|
|
33
35
|
func: remoteRPCHandler,
|
|
34
36
|
})
|
|
@@ -242,6 +242,7 @@ export const graphStarter = pikkuSessionlessFunc<
|
|
|
242
242
|
{ workflowName: string; nodeId: string; data?: unknown },
|
|
243
243
|
{ runId: string }
|
|
244
244
|
>({
|
|
245
|
+
tags: ['pikku'],
|
|
245
246
|
auth: ${authFlag},
|
|
246
247
|
// See workflowStarter — destructure workflowService so the analyzer
|
|
247
248
|
// assigns workflow-state capability to this unit.
|
|
@@ -252,6 +253,7 @@ export const graphStarter = pikkuSessionlessFunc<
|
|
|
252
253
|
})
|
|
253
254
|
|
|
254
255
|
wireHTTPRoutes({
|
|
256
|
+
tags: ['pikku'],
|
|
255
257
|
auth: ${authFlag},
|
|
256
258
|
routes: {
|
|
257
259
|
workflowStart: {
|