@pikku/cli 0.12.36 → 0.12.37
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 +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-meta.gen.json +70 -70
- 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 +5 -5
- 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/fabric/functions/validate.function.js +4 -0
- package/dist/src/scaffold/rpc-remote.gen.js +1 -1
- package/package.json +4 -4
|
@@ -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.37
|
|
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';
|
|
@@ -1694,6 +1694,76 @@
|
|
|
1694
1694
|
"inputHash": "d5ff2f31",
|
|
1695
1695
|
"outputHash": "391c291d"
|
|
1696
1696
|
},
|
|
1697
|
+
"pikkuAIAgentTypes": {
|
|
1698
|
+
"pikkuFuncId": "pikkuAIAgentTypes",
|
|
1699
|
+
"functionType": "user",
|
|
1700
|
+
"funcWrapper": "pikkuSessionlessFunc",
|
|
1701
|
+
"sessionless": true,
|
|
1702
|
+
"name": "pikkuAIAgentTypes",
|
|
1703
|
+
"inputSchemaName": null,
|
|
1704
|
+
"outputSchemaName": null,
|
|
1705
|
+
"inputs": [],
|
|
1706
|
+
"outputs": [],
|
|
1707
|
+
"implementationHash": "6f1bde64f9087bc2",
|
|
1708
|
+
"middleware": [
|
|
1709
|
+
{
|
|
1710
|
+
"type": "wire",
|
|
1711
|
+
"name": "logCommandInfoAndTime",
|
|
1712
|
+
"inline": false
|
|
1713
|
+
}
|
|
1714
|
+
],
|
|
1715
|
+
"contractHash": "dc29d66d6b6f5857",
|
|
1716
|
+
"inputHash": "800b5ca6",
|
|
1717
|
+
"outputHash": "e85c3332"
|
|
1718
|
+
},
|
|
1719
|
+
"pikkuAIAgent": {
|
|
1720
|
+
"pikkuFuncId": "pikkuAIAgent",
|
|
1721
|
+
"functionType": "user",
|
|
1722
|
+
"funcWrapper": "pikkuSessionlessFunc",
|
|
1723
|
+
"sessionless": true,
|
|
1724
|
+
"name": "pikkuAIAgent",
|
|
1725
|
+
"inputSchemaName": null,
|
|
1726
|
+
"outputSchemaName": "PikkuAIAgentOutput",
|
|
1727
|
+
"inputs": [],
|
|
1728
|
+
"outputs": [
|
|
1729
|
+
"PikkuAIAgentOutput"
|
|
1730
|
+
],
|
|
1731
|
+
"implementationHash": "353ac854edebcf28",
|
|
1732
|
+
"middleware": [
|
|
1733
|
+
{
|
|
1734
|
+
"type": "wire",
|
|
1735
|
+
"name": "logCommandInfoAndTime",
|
|
1736
|
+
"inline": false
|
|
1737
|
+
}
|
|
1738
|
+
],
|
|
1739
|
+
"contractHash": "973fe2f539bdca04",
|
|
1740
|
+
"inputHash": "e61af48f",
|
|
1741
|
+
"outputHash": "11db78f5"
|
|
1742
|
+
},
|
|
1743
|
+
"pikkuPublicAgent": {
|
|
1744
|
+
"pikkuFuncId": "pikkuPublicAgent",
|
|
1745
|
+
"functionType": "user",
|
|
1746
|
+
"funcWrapper": "pikkuSessionlessFunc",
|
|
1747
|
+
"sessionless": true,
|
|
1748
|
+
"name": "pikkuPublicAgent",
|
|
1749
|
+
"inputSchemaName": null,
|
|
1750
|
+
"outputSchemaName": "PikkuPublicAgentOutput",
|
|
1751
|
+
"inputs": [],
|
|
1752
|
+
"outputs": [
|
|
1753
|
+
"PikkuPublicAgentOutput"
|
|
1754
|
+
],
|
|
1755
|
+
"implementationHash": "ac31dd42a7c619e9",
|
|
1756
|
+
"middleware": [
|
|
1757
|
+
{
|
|
1758
|
+
"type": "wire",
|
|
1759
|
+
"name": "logCommandInfoAndTime",
|
|
1760
|
+
"inline": false
|
|
1761
|
+
}
|
|
1762
|
+
],
|
|
1763
|
+
"contractHash": "076457b475dee94e",
|
|
1764
|
+
"inputHash": "c0a04edb",
|
|
1765
|
+
"outputHash": "aca3832e"
|
|
1766
|
+
},
|
|
1697
1767
|
"pikkuAuth": {
|
|
1698
1768
|
"pikkuFuncId": "pikkuAuth",
|
|
1699
1769
|
"functionType": "user",
|
|
@@ -1854,76 +1924,6 @@
|
|
|
1854
1924
|
"inputHash": "fef4d62b",
|
|
1855
1925
|
"outputHash": "7d42c9e1"
|
|
1856
1926
|
},
|
|
1857
|
-
"pikkuAIAgentTypes": {
|
|
1858
|
-
"pikkuFuncId": "pikkuAIAgentTypes",
|
|
1859
|
-
"functionType": "user",
|
|
1860
|
-
"funcWrapper": "pikkuSessionlessFunc",
|
|
1861
|
-
"sessionless": true,
|
|
1862
|
-
"name": "pikkuAIAgentTypes",
|
|
1863
|
-
"inputSchemaName": null,
|
|
1864
|
-
"outputSchemaName": null,
|
|
1865
|
-
"inputs": [],
|
|
1866
|
-
"outputs": [],
|
|
1867
|
-
"implementationHash": "6f1bde64f9087bc2",
|
|
1868
|
-
"middleware": [
|
|
1869
|
-
{
|
|
1870
|
-
"type": "wire",
|
|
1871
|
-
"name": "logCommandInfoAndTime",
|
|
1872
|
-
"inline": false
|
|
1873
|
-
}
|
|
1874
|
-
],
|
|
1875
|
-
"contractHash": "dc29d66d6b6f5857",
|
|
1876
|
-
"inputHash": "800b5ca6",
|
|
1877
|
-
"outputHash": "e85c3332"
|
|
1878
|
-
},
|
|
1879
|
-
"pikkuAIAgent": {
|
|
1880
|
-
"pikkuFuncId": "pikkuAIAgent",
|
|
1881
|
-
"functionType": "user",
|
|
1882
|
-
"funcWrapper": "pikkuSessionlessFunc",
|
|
1883
|
-
"sessionless": true,
|
|
1884
|
-
"name": "pikkuAIAgent",
|
|
1885
|
-
"inputSchemaName": null,
|
|
1886
|
-
"outputSchemaName": "PikkuAIAgentOutput",
|
|
1887
|
-
"inputs": [],
|
|
1888
|
-
"outputs": [
|
|
1889
|
-
"PikkuAIAgentOutput"
|
|
1890
|
-
],
|
|
1891
|
-
"implementationHash": "353ac854edebcf28",
|
|
1892
|
-
"middleware": [
|
|
1893
|
-
{
|
|
1894
|
-
"type": "wire",
|
|
1895
|
-
"name": "logCommandInfoAndTime",
|
|
1896
|
-
"inline": false
|
|
1897
|
-
}
|
|
1898
|
-
],
|
|
1899
|
-
"contractHash": "973fe2f539bdca04",
|
|
1900
|
-
"inputHash": "e61af48f",
|
|
1901
|
-
"outputHash": "11db78f5"
|
|
1902
|
-
},
|
|
1903
|
-
"pikkuPublicAgent": {
|
|
1904
|
-
"pikkuFuncId": "pikkuPublicAgent",
|
|
1905
|
-
"functionType": "user",
|
|
1906
|
-
"funcWrapper": "pikkuSessionlessFunc",
|
|
1907
|
-
"sessionless": true,
|
|
1908
|
-
"name": "pikkuPublicAgent",
|
|
1909
|
-
"inputSchemaName": null,
|
|
1910
|
-
"outputSchemaName": "PikkuPublicAgentOutput",
|
|
1911
|
-
"inputs": [],
|
|
1912
|
-
"outputs": [
|
|
1913
|
-
"PikkuPublicAgentOutput"
|
|
1914
|
-
],
|
|
1915
|
-
"implementationHash": "ac31dd42a7c619e9",
|
|
1916
|
-
"middleware": [
|
|
1917
|
-
{
|
|
1918
|
-
"type": "wire",
|
|
1919
|
-
"name": "logCommandInfoAndTime",
|
|
1920
|
-
"inline": false
|
|
1921
|
-
}
|
|
1922
|
-
],
|
|
1923
|
-
"contractHash": "076457b475dee94e",
|
|
1924
|
-
"inputHash": "c0a04edb",
|
|
1925
|
-
"outputHash": "aca3832e"
|
|
1926
|
-
},
|
|
1927
1927
|
"pikkuConsoleFunctions": {
|
|
1928
1928
|
"pikkuFuncId": "pikkuConsoleFunctions",
|
|
1929
1929
|
"functionType": "user",
|
|
@@ -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.37
|
|
3
3
|
*/
|
|
4
4
|
import { addSchema } from '@pikku/core/schema';
|
|
5
5
|
import * as PikkuSchemasOutput from './schemas/PikkuSchemasOutput.schema.json' with { type: 'json' };
|
|
@@ -180,16 +180,16 @@ import * as PikkuMetaClientsInput from './schemas/PikkuMetaClientsInput.schema.j
|
|
|
180
180
|
addSchema('PikkuMetaClientsInput', PikkuMetaClientsInput);
|
|
181
181
|
import * as RemoteRPCHandlerInput from './schemas/RemoteRPCHandlerInput.schema.json' with { type: 'json' };
|
|
182
182
|
addSchema('RemoteRPCHandlerInput', RemoteRPCHandlerInput);
|
|
183
|
+
import * as PikkuAIAgentOutput from './schemas/PikkuAIAgentOutput.schema.json' with { type: 'json' };
|
|
184
|
+
addSchema('PikkuAIAgentOutput', PikkuAIAgentOutput);
|
|
185
|
+
import * as PikkuPublicAgentOutput from './schemas/PikkuPublicAgentOutput.schema.json' with { type: 'json' };
|
|
186
|
+
addSchema('PikkuPublicAgentOutput', PikkuPublicAgentOutput);
|
|
183
187
|
import * as PikkuCommandChannelsOutput from './schemas/PikkuCommandChannelsOutput.schema.json' with { type: 'json' };
|
|
184
188
|
addSchema('PikkuCommandChannelsOutput', PikkuCommandChannelsOutput);
|
|
185
189
|
import * as PikkuCLIEntryOutput from './schemas/PikkuCLIEntryOutput.schema.json' with { type: 'json' };
|
|
186
190
|
addSchema('PikkuCLIEntryOutput', PikkuCLIEntryOutput);
|
|
187
191
|
import * as PikkuCLIOutput from './schemas/PikkuCLIOutput.schema.json' with { type: 'json' };
|
|
188
192
|
addSchema('PikkuCLIOutput', PikkuCLIOutput);
|
|
189
|
-
import * as PikkuAIAgentOutput from './schemas/PikkuAIAgentOutput.schema.json' with { type: 'json' };
|
|
190
|
-
addSchema('PikkuAIAgentOutput', PikkuAIAgentOutput);
|
|
191
|
-
import * as PikkuPublicAgentOutput from './schemas/PikkuPublicAgentOutput.schema.json' with { type: 'json' };
|
|
192
|
-
addSchema('PikkuPublicAgentOutput', PikkuPublicAgentOutput);
|
|
193
193
|
import * as PikkuConsoleFunctionsOutput from './schemas/PikkuConsoleFunctionsOutput.schema.json' with { type: 'json' };
|
|
194
194
|
addSchema('PikkuConsoleFunctionsOutput', PikkuConsoleFunctionsOutput);
|
|
195
195
|
import * as PikkuNodesMetaOutput from './schemas/PikkuNodesMetaOutput.schema.json' with { type: 'json' };
|
|
@@ -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.37
|
|
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.37') {
|
|
15
|
+
process.stderr.write(`\n Update available 0.12.37 → ${latest}\n brew upgrade pikku or npm install -g @pikku/cli\n\n`)
|
|
16
16
|
}
|
|
17
17
|
} catch {}
|
|
18
18
|
}
|
|
@@ -161,6 +161,10 @@ export async function runValidate(startDir = process.cwd()) {
|
|
|
161
161
|
if (fnPkg.type !== 'module') {
|
|
162
162
|
w('functions-pkg-no-esm', 'packages/functions/package.json is missing "type": "module"', fnPkgPath, 'Add "type": "module" to packages/functions/package.json — Cloudflare Workers require ES modules');
|
|
163
163
|
}
|
|
164
|
+
// #pikku bare import — required by the injected fabric-telemetry.wiring.ts
|
|
165
|
+
if (!fnPkg.imports?.['#pikku']) {
|
|
166
|
+
e('functions-pkg-missing-pikku-import', 'packages/functions/package.json is missing a bare "#pikku" entry in "imports" — the Fabric-injected telemetry middleware imports from "#pikku" and will fail to bundle without it', fnPkgPath, 'Add to "imports": { "#pikku": "./.pikku/pikku-types.gen.ts", "#pikku/*": "./.pikku/*" }');
|
|
167
|
+
}
|
|
164
168
|
const fnAllDeps = {
|
|
165
169
|
...fnPkg.dependencies,
|
|
166
170
|
...fnPkg.devDependencies,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pikku/cli",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.37",
|
|
4
4
|
"author": "yasser.fadl@gmail.com",
|
|
5
5
|
"license": "BUSL-1.1",
|
|
6
6
|
"imports": {
|
|
@@ -26,13 +26,13 @@
|
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@openapi-contrib/json-schema-to-openapi-schema": "^4.3.1",
|
|
29
|
-
"@pikku/better-auth": "
|
|
29
|
+
"@pikku/better-auth": "^0.12.6",
|
|
30
30
|
"@pikku/core": "^0.12.32",
|
|
31
31
|
"@pikku/deploy-cloudflare": "^0.12.3",
|
|
32
32
|
"@pikku/fetch": "^0.12.3",
|
|
33
33
|
"@pikku/inspector": "^0.12.20",
|
|
34
|
-
"@pikku/kysely": "^0.12.
|
|
35
|
-
"@pikku/kysely-node-sqlite": "^0.12.
|
|
34
|
+
"@pikku/kysely": "^0.12.16",
|
|
35
|
+
"@pikku/kysely-node-sqlite": "^0.12.2",
|
|
36
36
|
"@pikku/node-http-server": "^0.12.2",
|
|
37
37
|
"@pikku/openapi-parser": "^0.12.10",
|
|
38
38
|
"@pikku/schedule": "^0.12.0",
|