pico-engine 1.6.4 → 1.9.0
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/README.md +16 -9
- package/dist/RulesetRegistryLoaderFs.js +60 -6
- package/dist/auth/cookies.js +32 -0
- package/dist/auth/index.js +6 -1
- package/dist/channelIdentityPolicy.js +22 -0
- package/dist/cli.js +106 -69
- package/dist/engineConfig.js +291 -0
- package/dist/identity/IdentityService.js +90 -0
- package/dist/identity/crossPico.js +24 -8
- package/dist/identity/didoModule.js +80 -18
- package/dist/identity/establishSubscription.js +2 -2
- package/dist/identity/identityPortable.js +92 -0
- package/dist/identity/index.js +10 -1
- package/dist/identity/localPeerReconcile.js +65 -0
- package/dist/identity/peerDid4.js +175 -0
- package/dist/identity/peerDid4Create.js +90 -0
- package/dist/identity/portableExportPrepare.js +196 -0
- package/dist/identity/portableMove.js +87 -0
- package/dist/identity/skyIntro.js +6 -3
- package/dist/identity/skyProtocol.js +26 -1
- package/dist/identity/skyRotation.js +121 -0
- package/dist/identity/store.js +5 -1
- package/dist/identity/subscriptionEntSync.js +72 -0
- package/dist/identity/veramoDidComm.js +41 -2
- package/dist/identity/webvh.js +4 -2
- package/dist/identity/webvhRelocation.js +115 -0
- package/dist/index.js +84 -27
- package/dist/logging.js +156 -16
- package/dist/oauth/OAuthService.js +6 -2
- package/dist/policyConfigFromJson.js +112 -0
- package/dist/runMcp.js +27 -0
- package/dist/server.js +261 -24
- package/dist/stageKrl.js +26 -0
- package/dist/subtreeWrangler.js +180 -0
- package/dist/uiChannelPolicies.js +15 -0
- package/dist/xmluiRuntime.js +68 -0
- package/krl/io.picolabs.oauth.krl +41 -2
- package/krl/io.picolabs.pds.krl +131 -10
- package/krl/io.picolabs.pico-engine-ui.krl +217 -94
- package/krl/io.picolabs.portable_subtree.krl +97 -0
- package/krl/io.picolabs.subscription.krl +180 -72
- package/krl/io.picolabs.wrangler.krl +313 -57
- package/krl/io.picolabs.xmlui.krl +295 -0
- package/mcp/devResources.js +118 -0
- package/mcp/devTools.js +351 -0
- package/mcp/engineClient.js +133 -0
- package/mcp/meshHttp.js +137 -0
- package/mcp/meshTools.js +189 -0
- package/mcp/runStdio.js +34 -0
- package/mcp/schemaToZod.js +56 -0
- package/package.json +24 -9
- package/public/.DS_Store +0 -0
- package/public/docs/_sidebar.md +3 -1
- package/public/docs/llms-full.txt +630 -0
- package/public/docs/llms.txt +38 -0
- package/public/docs/openapi.yaml +78 -0
- package/public/docs/pico-engine.md +239 -4
- package/public/docs/pico-overview.md +117 -0
- package/public/docs/pico-views-xmlui.md +5 -0
- package/public/docs/pico-views.md +140 -0
- package/public/docs/pico.md +3 -1
- package/public/docs/rulesets/README.md +26 -0
- package/public/docs/rulesets/io.picolabs.oauth.md +71 -0
- package/public/docs/rulesets/io.picolabs.pds.md +327 -0
- package/public/docs/rulesets/io.picolabs.pico-engine-ui.md +65 -0
- package/public/docs/rulesets/io.picolabs.portable_subtree.md +94 -0
- package/public/docs/rulesets/io.picolabs.subscription.md +398 -0
- package/public/docs/rulesets/io.picolabs.wrangler.md +471 -0
- package/public/pico-engine-ui.css +1 -1
- package/public/pico-engine-ui.js +27 -23
- package/public/xmlui/0.12.7.js +419 -0
- package/public/xmlui/pico-view-boot.js +153 -0
- package/src/RulesetRegistryLoaderFs.ts +66 -7
- package/src/auth/cookies.ts +34 -0
- package/src/auth/index.ts +7 -0
- package/src/channelIdentityPolicy.ts +29 -0
- package/src/cli.ts +70 -37
- package/src/engineConfig.ts +363 -0
- package/src/identity/IdentityService.ts +189 -1
- package/src/identity/crossPico.ts +57 -8
- package/src/identity/didoModule.ts +140 -23
- package/src/identity/establishSubscription.ts +2 -2
- package/src/identity/identityPortable.ts +153 -0
- package/src/identity/index.ts +14 -0
- package/src/identity/localPeerReconcile.ts +97 -0
- package/src/identity/peerDid4.ts +197 -0
- package/src/identity/peerDid4Create.ts +121 -0
- package/src/identity/portableExportPrepare.ts +302 -0
- package/src/identity/portableMove.ts +193 -0
- package/src/identity/skyIntro.ts +11 -11
- package/src/identity/skyProtocol.ts +46 -0
- package/src/identity/skyRotation.ts +211 -0
- package/src/identity/store.ts +5 -1
- package/src/identity/subscriptionEntSync.ts +97 -0
- package/src/identity/veramoDidComm.ts +52 -2
- package/src/identity/webvh.ts +4 -4
- package/src/identity/webvhRelocation.ts +167 -0
- package/src/index.ts +123 -31
- package/src/logging.ts +173 -18
- package/src/oauth/OAuthService.ts +11 -3
- package/src/policyConfigFromJson.ts +131 -0
- package/src/runMcp.ts +30 -0
- package/src/server.ts +328 -27
- package/src/stageKrl.ts +26 -0
- package/src/subtreeWrangler.ts +278 -0
- package/src/uiChannelPolicies.ts +15 -0
- package/src/xmluiRuntime.ts +66 -0
- package/krl/io.picolabs.did-o.krl +0 -349
package/mcp/meshTools.js
ADDED
|
@@ -0,0 +1,189 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
const { z } = require("zod");
|
|
4
|
+
const { channelSchemaForEci } = require("pico-engine-core");
|
|
5
|
+
const { attrsToZodShape } = require("./schemaToZod");
|
|
6
|
+
|
|
7
|
+
const MAX_TOOL_NAME = 64;
|
|
8
|
+
|
|
9
|
+
function sanitizeToolPart(s) {
|
|
10
|
+
return String(s).replace(/[^a-zA-Z0-9_]/g, "_");
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
function eventToolName(domain, name) {
|
|
14
|
+
return sanitizeToolPart(`${domain}_${name}`).slice(0, MAX_TOOL_NAME);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
function queryToolName(rid, fn) {
|
|
18
|
+
const ridPart = sanitizeToolPart(rid.replace(/\./g, "_"));
|
|
19
|
+
const base = `${ridPart}_${fn}`;
|
|
20
|
+
return base.slice(0, MAX_TOOL_NAME);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
function jsonText(data) {
|
|
24
|
+
return JSON.stringify(data, null, 2);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
function textResult(text, isError = false) {
|
|
28
|
+
return {
|
|
29
|
+
content: [{ type: "text", text }],
|
|
30
|
+
isError,
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
function getChannelSchema(core, eci) {
|
|
35
|
+
const { pico } = core.picoFramework.lookupChannel(eci);
|
|
36
|
+
return channelSchemaForEci(
|
|
37
|
+
pico,
|
|
38
|
+
core.rsRegistry,
|
|
39
|
+
(id) => core.picoFramework.lookupChannel(id),
|
|
40
|
+
eci
|
|
41
|
+
);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* Catalog of mesh MCP tools for exit tests (names must match channelSchema).
|
|
46
|
+
*/
|
|
47
|
+
function meshToolCatalog(schema) {
|
|
48
|
+
const used = new Set();
|
|
49
|
+
const tools = [];
|
|
50
|
+
|
|
51
|
+
function claim(name) {
|
|
52
|
+
let n = name;
|
|
53
|
+
let i = 2;
|
|
54
|
+
while (used.has(n)) {
|
|
55
|
+
const suffix = `_${i}`;
|
|
56
|
+
n = name.slice(0, MAX_TOOL_NAME - suffix.length) + suffix;
|
|
57
|
+
i += 1;
|
|
58
|
+
}
|
|
59
|
+
used.add(n);
|
|
60
|
+
return n;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
for (const ev of schema.events || []) {
|
|
64
|
+
tools.push({
|
|
65
|
+
name: claim(eventToolName(ev.domain, ev.name)),
|
|
66
|
+
kind: "event",
|
|
67
|
+
domain: ev.domain,
|
|
68
|
+
eventName: ev.name,
|
|
69
|
+
});
|
|
70
|
+
}
|
|
71
|
+
for (const q of schema.queries || []) {
|
|
72
|
+
tools.push({
|
|
73
|
+
name: claim(queryToolName(q.rid, q.name)),
|
|
74
|
+
kind: "query",
|
|
75
|
+
rid: q.rid,
|
|
76
|
+
queryName: q.name,
|
|
77
|
+
});
|
|
78
|
+
}
|
|
79
|
+
return tools;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
function registerMeshTools(server, core, eci) {
|
|
83
|
+
const schema = getChannelSchema(core, eci);
|
|
84
|
+
const catalog = meshToolCatalog(schema);
|
|
85
|
+
|
|
86
|
+
for (const entry of catalog) {
|
|
87
|
+
if (entry.kind === "event") {
|
|
88
|
+
const ev = (schema.events || []).find(
|
|
89
|
+
(e) => e.domain === entry.domain && e.name === entry.eventName
|
|
90
|
+
);
|
|
91
|
+
const shape = attrsToZodShape(ev?.attrs || []);
|
|
92
|
+
const inputSchema =
|
|
93
|
+
Object.keys(shape).length > 0 ? shape : { _note: z.string().optional() };
|
|
94
|
+
const desc =
|
|
95
|
+
ev?.description ||
|
|
96
|
+
`Raise ${entry.domain} event "${entry.eventName}" on channel ${eci}`;
|
|
97
|
+
|
|
98
|
+
server.tool(entry.name, desc, inputSchema, async (attrs) => {
|
|
99
|
+
try {
|
|
100
|
+
const payload = { ...(attrs || {}) };
|
|
101
|
+
delete payload._note;
|
|
102
|
+
const data = await core.eventWait({
|
|
103
|
+
eci,
|
|
104
|
+
domain: entry.domain,
|
|
105
|
+
name: entry.eventName,
|
|
106
|
+
data: { attrs: payload },
|
|
107
|
+
time: 0,
|
|
108
|
+
});
|
|
109
|
+
return textResult(jsonText(data));
|
|
110
|
+
} catch (err) {
|
|
111
|
+
const msg = String(err?.message || err);
|
|
112
|
+
const policy =
|
|
113
|
+
/policy|not allowed|denied|forbidden/i.test(msg) ||
|
|
114
|
+
/channel.*(event|query)/i.test(msg);
|
|
115
|
+
return textResult(
|
|
116
|
+
jsonText({
|
|
117
|
+
error: msg,
|
|
118
|
+
kind: policy ? "policy" : "error",
|
|
119
|
+
}),
|
|
120
|
+
true
|
|
121
|
+
);
|
|
122
|
+
}
|
|
123
|
+
});
|
|
124
|
+
} else {
|
|
125
|
+
const q = (schema.queries || []).find(
|
|
126
|
+
(x) => x.rid === entry.rid && x.name === entry.queryName
|
|
127
|
+
);
|
|
128
|
+
const rawArgs = Array.isArray(q?.args) ? q.args : [];
|
|
129
|
+
const shape = attrsToZodShape(rawArgs);
|
|
130
|
+
const inputSchema =
|
|
131
|
+
Object.keys(shape).length > 0 ? shape : { _note: z.string().optional() };
|
|
132
|
+
const desc =
|
|
133
|
+
q?.description ||
|
|
134
|
+
`Query ${entry.rid}:${entry.queryName} on channel ${eci}`;
|
|
135
|
+
|
|
136
|
+
server.tool(entry.name, desc, inputSchema, async (args) => {
|
|
137
|
+
try {
|
|
138
|
+
const payload = { ...(args || {}) };
|
|
139
|
+
delete payload._note;
|
|
140
|
+
const data = await core.query({
|
|
141
|
+
eci,
|
|
142
|
+
rid: entry.rid,
|
|
143
|
+
name: entry.queryName,
|
|
144
|
+
args: payload,
|
|
145
|
+
});
|
|
146
|
+
return textResult(jsonText(data));
|
|
147
|
+
} catch (err) {
|
|
148
|
+
const msg = String(err?.message || err);
|
|
149
|
+
const policy =
|
|
150
|
+
/policy|not allowed|denied|forbidden/i.test(msg) ||
|
|
151
|
+
/channel.*(event|query)/i.test(msg);
|
|
152
|
+
return textResult(
|
|
153
|
+
jsonText({
|
|
154
|
+
error: msg,
|
|
155
|
+
kind: policy ? "policy" : "error",
|
|
156
|
+
}),
|
|
157
|
+
true
|
|
158
|
+
);
|
|
159
|
+
}
|
|
160
|
+
});
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
server.resource(
|
|
165
|
+
"pico-channel-schema",
|
|
166
|
+
`pico://channel/${eci}/schema`,
|
|
167
|
+
{
|
|
168
|
+
description: "Merged pico schema filtered to this channel's policy",
|
|
169
|
+
mimeType: "application/json",
|
|
170
|
+
},
|
|
171
|
+
async () => ({
|
|
172
|
+
contents: [
|
|
173
|
+
{
|
|
174
|
+
uri: `pico://channel/${eci}/schema`,
|
|
175
|
+
mimeType: "application/json",
|
|
176
|
+
text: jsonText(schema),
|
|
177
|
+
},
|
|
178
|
+
],
|
|
179
|
+
})
|
|
180
|
+
);
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
module.exports = {
|
|
184
|
+
registerMeshTools,
|
|
185
|
+
meshToolCatalog,
|
|
186
|
+
getChannelSchema,
|
|
187
|
+
eventToolName,
|
|
188
|
+
queryToolName,
|
|
189
|
+
};
|
package/mcp/runStdio.js
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
const { McpServer } = require("@modelcontextprotocol/sdk/server/mcp.js");
|
|
4
|
+
const {
|
|
5
|
+
StdioServerTransport,
|
|
6
|
+
} = require("@modelcontextprotocol/sdk/server/stdio.js");
|
|
7
|
+
const { EngineClient } = require("./engineClient");
|
|
8
|
+
const { registerDevTools } = require("./devTools");
|
|
9
|
+
const { registerDevResources } = require("./devResources");
|
|
10
|
+
|
|
11
|
+
async function runDevMcpStdio() {
|
|
12
|
+
const client = new EngineClient();
|
|
13
|
+
const server = new McpServer(
|
|
14
|
+
{
|
|
15
|
+
name: "pico-engine-dev",
|
|
16
|
+
version: require("../package.json").version,
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
capabilities: {
|
|
20
|
+
tools: {},
|
|
21
|
+
resources: {},
|
|
22
|
+
prompts: {},
|
|
23
|
+
},
|
|
24
|
+
}
|
|
25
|
+
);
|
|
26
|
+
|
|
27
|
+
registerDevTools(server, client);
|
|
28
|
+
registerDevResources(server, client);
|
|
29
|
+
|
|
30
|
+
const transport = new StdioServerTransport();
|
|
31
|
+
await server.connect(transport);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
module.exports = { runDevMcpStdio };
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
const { z } = require("zod");
|
|
4
|
+
|
|
5
|
+
function zodForAttr(attr) {
|
|
6
|
+
const t = String(attr.type || "string").toLowerCase();
|
|
7
|
+
let field;
|
|
8
|
+
switch (t) {
|
|
9
|
+
case "number":
|
|
10
|
+
case "integer":
|
|
11
|
+
case "int":
|
|
12
|
+
field = z.number();
|
|
13
|
+
break;
|
|
14
|
+
case "boolean":
|
|
15
|
+
case "bool":
|
|
16
|
+
field = z.boolean();
|
|
17
|
+
break;
|
|
18
|
+
case "array":
|
|
19
|
+
case "list":
|
|
20
|
+
field = z.array(z.any());
|
|
21
|
+
break;
|
|
22
|
+
case "map":
|
|
23
|
+
case "object":
|
|
24
|
+
case "json":
|
|
25
|
+
field = z.record(z.any());
|
|
26
|
+
break;
|
|
27
|
+
default:
|
|
28
|
+
field = z.string();
|
|
29
|
+
}
|
|
30
|
+
if (attr.description) {
|
|
31
|
+
field = field.describe(attr.description);
|
|
32
|
+
}
|
|
33
|
+
if (attr.pattern && t === "string") {
|
|
34
|
+
try {
|
|
35
|
+
field = field.regex(new RegExp(attr.pattern));
|
|
36
|
+
} catch (_e) {
|
|
37
|
+
// ignore invalid pattern in annotations
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
if (!attr.required) {
|
|
41
|
+
field = field.optional();
|
|
42
|
+
}
|
|
43
|
+
return field;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
/** Build a zod object shape from ruleset schema attrs (event attrs or query args). */
|
|
47
|
+
function attrsToZodShape(attrs) {
|
|
48
|
+
const shape = {};
|
|
49
|
+
for (const a of attrs || []) {
|
|
50
|
+
if (!a || !a.name) continue;
|
|
51
|
+
shape[a.name] = zodForAttr(a);
|
|
52
|
+
}
|
|
53
|
+
return shape;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
module.exports = { attrsToZodShape, zodForAttr };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pico-engine",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.9.0",
|
|
4
4
|
"description": "An implementation of the pico-engine targeting node.js",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -23,6 +23,7 @@
|
|
|
23
23
|
"public",
|
|
24
24
|
"src",
|
|
25
25
|
"krl",
|
|
26
|
+
"mcp",
|
|
26
27
|
"dist"
|
|
27
28
|
],
|
|
28
29
|
"main": "dist/index.js",
|
|
@@ -53,13 +54,23 @@
|
|
|
53
54
|
"test:layer2-cancel": "ava reset-cache && ava --serial ./test/layer2Cancellation.ts --timeout=2m",
|
|
54
55
|
"test:layer2-wrangler": "ava reset-cache && ava --serial ./test/layer2Wrangler.ts --timeout=2m",
|
|
55
56
|
"test:layer2-policy": "ava reset-cache && ava --serial ./test/layer2ChannelPolicy.ts --timeout=2m",
|
|
57
|
+
"test:channel-policy-ceiling": "ava reset-cache && ava --serial ./test/channelPolicyCeiling.ts --timeout=2m",
|
|
58
|
+
"test:wildcard-channel-identity": "ava reset-cache && ava --serial ./test/wildcardChannelIdentity.ts --timeout=2m",
|
|
59
|
+
"test:policy": "ava reset-cache && ava --serial ./test/layer2ChannelPolicy.ts ./test/channelPolicyCeiling.ts ./test/wildcardChannelIdentity.ts ./test/channelIdentityPolicy.ts ./test/engineConfig.ts --timeout=3m",
|
|
60
|
+
"test:schema": "ava reset-cache && ava --serial ./test/uiTestingSchema.ts ./test/uiTestingHistorySaved.ts --timeout=3m",
|
|
61
|
+
"test:mcp": "ava reset-cache && ava --serial ./test/mcpDevClient.ts ./test/mcpDevStdioE2e.ts ./test/mcpMesh.ts --timeout=5m && node test/helpers/printMcpTestNoiseNotes.js",
|
|
62
|
+
"test:install-failure": "ava reset-cache && ava --serial ./test/installFailureVisibility.ts --timeout=3m",
|
|
56
63
|
"test:cross-engine": "ava reset-cache && ava --serial ./test/crossEngineSubscription.ts --timeout=3m",
|
|
57
64
|
"test:relationship-alias": "ava reset-cache && ava --serial ./test/relationshipAlias.ts --timeout=2m",
|
|
58
65
|
"test:relationship-self": "ava reset-cache && ava --serial ./test/relationshipSelf.ts --timeout=2m",
|
|
59
66
|
"test:relationship-lifecycle": "ava reset-cache && ava --serial ./test/relationshipLifecycle.ts --timeout=2m",
|
|
60
|
-
"test:epic9": "ava reset-cache && ava --serial ./test/epic9Matrix.ts --timeout=3m"
|
|
67
|
+
"test:epic9": "ava reset-cache && ava --serial ./test/epic9Matrix.ts --timeout=3m",
|
|
68
|
+
"test:peer-did4": "ava reset-cache && ava --serial ./test/peerDid4.ts --timeout=2m",
|
|
69
|
+
"test:views": "ava reset-cache && ava --serial ./test/xmluiSpike.ts ./test/xmluiRoutes.ts ./test/xmluiLauncher.ts ./test/xmluiConfig.ts ./test/xmluiViewSchema.ts ./test/xmluiViewPolicy.ts ./test/xmluiViewsOAuth.ts ./test/xmluiS2Demos.ts --timeout=2m",
|
|
70
|
+
"vendor:xmlui": "node scripts/copy-xmlui-runtime.mjs"
|
|
61
71
|
},
|
|
62
72
|
"dependencies": {
|
|
73
|
+
"@modelcontextprotocol/sdk": "^1.32.2",
|
|
63
74
|
"@noble/curves": "^1.9.0",
|
|
64
75
|
"@simplewebauthn/server": "^13.2.2",
|
|
65
76
|
"@veramo/core": "^7.0.0",
|
|
@@ -71,6 +82,7 @@
|
|
|
71
82
|
"@veramo/kms-local": "^7.0.0",
|
|
72
83
|
"@veramo/utils": "^7.0.0",
|
|
73
84
|
"body-parser": "^1.18.3",
|
|
85
|
+
"bs58": "^4.0.1",
|
|
74
86
|
"charwise": "^3.0.1",
|
|
75
87
|
"classic-level": "^1.3.0",
|
|
76
88
|
"cross-fetch": "^4.0.0",
|
|
@@ -80,18 +92,20 @@
|
|
|
80
92
|
"express": "^4.16.4",
|
|
81
93
|
"helmet": "^7.1.0",
|
|
82
94
|
"home-dir": "^1.0.0",
|
|
83
|
-
"krl-compiler": "^1.
|
|
84
|
-
"krl-stdlib": "^1.
|
|
95
|
+
"krl-compiler": "^1.6.1",
|
|
96
|
+
"krl-stdlib": "^1.6.0",
|
|
85
97
|
"level-json-coerce-null": "^1.0.1",
|
|
86
98
|
"lodash": "^4.17.11",
|
|
87
99
|
"make-dir": "^4.0.0",
|
|
88
100
|
"minimist": "^1.2.5",
|
|
89
|
-
"pico-engine-core": "^1.
|
|
90
|
-
"pico-framework": "^0.8.
|
|
91
|
-
"rotating-file-stream": "^1.4.1"
|
|
101
|
+
"pico-engine-core": "^1.9.0",
|
|
102
|
+
"pico-framework": "^0.8.2",
|
|
103
|
+
"rotating-file-stream": "^1.4.1",
|
|
104
|
+
"zod": "^3.25.76"
|
|
92
105
|
},
|
|
93
106
|
"devDependencies": {
|
|
94
107
|
"@types/body-parser": "^1.17.0",
|
|
108
|
+
"@types/bs58": "^4.0.4",
|
|
95
109
|
"@types/express": "^4.16.1",
|
|
96
110
|
"@types/lodash": "^4.14.123",
|
|
97
111
|
"@types/node": "^20.8.10",
|
|
@@ -99,7 +113,8 @@
|
|
|
99
113
|
"onchange": "^7.1.0",
|
|
100
114
|
"scriptsp": "^1.1.1",
|
|
101
115
|
"ts-node": "^10.4.0",
|
|
102
|
-
"typescript": "^5.2.2"
|
|
116
|
+
"typescript": "^5.2.2",
|
|
117
|
+
"xmlui": "^0.12.7"
|
|
103
118
|
},
|
|
104
119
|
"ava": {
|
|
105
120
|
"extensions": [
|
|
@@ -115,5 +130,5 @@
|
|
|
115
130
|
"!test/helpers/**/*"
|
|
116
131
|
]
|
|
117
132
|
},
|
|
118
|
-
"gitHead": "
|
|
133
|
+
"gitHead": "416c55ae5637c9d83ca14d40bc76a1ccbfa1d657"
|
|
119
134
|
}
|
package/public/.DS_Store
ADDED
|
Binary file
|
package/public/docs/_sidebar.md
CHANGED