@pikku/cli 0.12.59 → 0.12.62
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/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 +6 -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-meta.gen.json +11 -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 +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-meta.gen.json +18 -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/rpc/pikku-rpc-wirings-meta.internal.gen.json +1 -0
- 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/cli.wiring.js +11 -0
- package/dist/src/fabric/functions/validate.function.js +107 -0
- package/dist/src/functions/commands/audit.d.ts +5 -0
- package/dist/src/functions/commands/audit.js +165 -0
- package/dist/src/functions/workflows/all.workflow.js +4 -0
- package/dist/src/services.d.ts +1 -0
- package/dist/src/utils/assert-single-core-version.d.ts +14 -0
- package/dist/src/utils/assert-single-core-version.js +80 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +17 -17
- package/skills/pikku-audit/SKILL.md +168 -0
|
@@ -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.62
|
|
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.62
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
5
|
* WebSocket channel backend for 'pikku' CLI commands
|
|
@@ -11,6 +11,7 @@ import { handleRawCLI } from '@pikku/core/cli/channel';
|
|
|
11
11
|
import { pikkuState } from '@pikku/core/internal';
|
|
12
12
|
import { all } from '../../src/functions/commands/all.js';
|
|
13
13
|
import { bootstrap } from '../../src/functions/commands/bootstrap.js';
|
|
14
|
+
import { pikkuAudit } from '../../src/functions/commands/audit.js';
|
|
14
15
|
import { watch } from '../../src/functions/commands/watch.js';
|
|
15
16
|
import { dev } from '../../src/functions/commands/dev.js';
|
|
16
17
|
import { serve } from '../../src/functions/commands/serve.js';
|
|
@@ -170,6 +171,10 @@ wireChannel({
|
|
|
170
171
|
func: bootstrap,
|
|
171
172
|
middleware: [cliCloseOnComplete],
|
|
172
173
|
},
|
|
174
|
+
'audit': {
|
|
175
|
+
func: pikkuAudit,
|
|
176
|
+
middleware: [cliCloseOnComplete],
|
|
177
|
+
},
|
|
173
178
|
'watch': {
|
|
174
179
|
func: watch,
|
|
175
180
|
middleware: [cliCloseOnComplete],
|
|
@@ -69,6 +69,17 @@
|
|
|
69
69
|
"options": {},
|
|
70
70
|
"description": "Generate only type files (setup phase only)"
|
|
71
71
|
},
|
|
72
|
+
"audit": {
|
|
73
|
+
"pikkuFuncId": "pikkuAudit",
|
|
74
|
+
"positionals": [],
|
|
75
|
+
"options": {
|
|
76
|
+
"outdated": {
|
|
77
|
+
"description": "Also report available dependency updates",
|
|
78
|
+
"default": false
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
"description": "Audit dependencies for security advisories (always) and available updates (--outdated); writes .pikku/audit.json"
|
|
82
|
+
},
|
|
72
83
|
"watch": {
|
|
73
84
|
"pikkuFuncId": "watch",
|
|
74
85
|
"positionals": [],
|
|
@@ -487,6 +487,23 @@
|
|
|
487
487
|
"remote": true,
|
|
488
488
|
"implementationHash": "af7dc8069a1295b8"
|
|
489
489
|
},
|
|
490
|
+
"pikkuAudit": {
|
|
491
|
+
"pikkuFuncId": "pikkuAudit",
|
|
492
|
+
"functionType": "user",
|
|
493
|
+
"funcWrapper": "pikkuSessionlessFunc",
|
|
494
|
+
"sessionless": true,
|
|
495
|
+
"name": "pikkuAudit",
|
|
496
|
+
"inputSchemaName": "AuditInput",
|
|
497
|
+
"outputSchemaName": null,
|
|
498
|
+
"inputs": [
|
|
499
|
+
"AuditInput"
|
|
500
|
+
],
|
|
501
|
+
"outputs": [],
|
|
502
|
+
"implementationHash": "1ca4f33633624e20",
|
|
503
|
+
"contractHash": "ed4fac2f4a098384",
|
|
504
|
+
"inputHash": "522c66d4",
|
|
505
|
+
"outputHash": "d3163c8e"
|
|
506
|
+
},
|
|
490
507
|
"binary": {
|
|
491
508
|
"pikkuFuncId": "binary",
|
|
492
509
|
"functionType": "user",
|
|
@@ -2965,7 +2982,7 @@
|
|
|
2965
2982
|
"outputSchemaName": null,
|
|
2966
2983
|
"inputs": [],
|
|
2967
2984
|
"outputs": [],
|
|
2968
|
-
"implementationHash": "
|
|
2985
|
+
"implementationHash": "e69bf40f1a650798",
|
|
2969
2986
|
"contractHash": "5cf046fc5045a072",
|
|
2970
2987
|
"inputHash": "d5ff2f31",
|
|
2971
2988
|
"outputHash": "391c291d"
|
|
@@ -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.62
|
|
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.62') {
|
|
15
|
+
process.stderr.write(`\n Update available 0.12.62 → ${latest}\n brew upgrade pikku or npm install -g @pikku/cli\n\n`)
|
|
16
16
|
}
|
|
17
17
|
} catch {}
|
|
18
18
|
}
|
package/dist/src/cli.wiring.js
CHANGED
|
@@ -22,6 +22,7 @@ import { dbGenerate } from './functions/commands/db-generate.js';
|
|
|
22
22
|
import { dbSeed } from './functions/commands/db-seed.js';
|
|
23
23
|
import { dbReset } from './functions/commands/db-reset.js';
|
|
24
24
|
import { dbAudit } from './functions/commands/db-audit.js';
|
|
25
|
+
import { pikkuAudit } from './functions/commands/audit.js';
|
|
25
26
|
import { workspaceValidate, renderWorkspaceValidate, } from './functions/commands/workspace-validate.js';
|
|
26
27
|
import { pikkuVersionsInit } from './functions/commands/versions-init.js';
|
|
27
28
|
import { pikkuTestsInit } from './functions/commands/tests-init.js';
|
|
@@ -168,6 +169,16 @@ wireCLI({
|
|
|
168
169
|
func: bootstrap,
|
|
169
170
|
description: 'Generate only type files (setup phase only)',
|
|
170
171
|
}),
|
|
172
|
+
audit: pikkuCLICommand({
|
|
173
|
+
func: pikkuAudit,
|
|
174
|
+
description: 'Audit dependencies for security advisories (always) and available updates (--outdated); writes .pikku/audit.json',
|
|
175
|
+
options: {
|
|
176
|
+
outdated: {
|
|
177
|
+
description: 'Also report available dependency updates',
|
|
178
|
+
default: false,
|
|
179
|
+
},
|
|
180
|
+
},
|
|
181
|
+
}),
|
|
171
182
|
watch: pikkuCLICommand({
|
|
172
183
|
func: watch,
|
|
173
184
|
description: 'Watch for file changes and regenerate automatically',
|