@knowzai/cli 0.5.0 → 0.5.1
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/assets/portable/releases.json +55 -0
- package/assets/portable/runtime-contract.json +2 -2
- package/assets/selfhosted/releases.json +33 -0
- package/bin/run.js +7 -4
- package/bin/wasm-runtime.js +27 -0
- package/dist/.tsbuildinfo +1 -1
- package/dist/commands/restore.d.ts +2 -2
- package/dist/lib/local-mcp-server.d.ts.map +1 -1
- package/dist/lib/local-mcp-server.js +18 -2
- package/dist/lib/local-mcp-server.js.map +1 -1
- package/dist/lib/platform-frontdoor.d.ts +2 -2
- package/dist/lib/platform-frontdoor.js +1 -1
- package/dist/lib/portability-shared.d.ts +1 -1
- package/dist/lib/portability-shared.d.ts.map +1 -1
- package/dist/lib/portability-shared.js +6 -2
- package/dist/lib/portability-shared.js.map +1 -1
- package/dist/lib/repo-local-mcp-backend.d.ts +2 -5
- package/dist/lib/repo-local-mcp-backend.d.ts.map +1 -1
- package/dist/lib/repo-local-mcp-backend.js +61 -44
- package/dist/lib/repo-local-mcp-backend.js.map +1 -1
- package/dist/lib/runtime-operations.d.ts +1 -1
- package/dist/lib/runtime-provider.d.ts +1 -1
- package/dist/lib/selfhosted-lifecycle.d.ts +1 -1
- package/dist/lib/selfhosted-lifecycle.js +1 -1
- package/oclif.manifest.json +1 -1
- package/package.json +9 -9
|
@@ -1,5 +1,60 @@
|
|
|
1
1
|
{
|
|
2
2
|
"releases": [
|
|
3
|
+
{
|
|
4
|
+
"version": "0.47.8",
|
|
5
|
+
"flavors": [
|
|
6
|
+
"portable",
|
|
7
|
+
"portable-gcp"
|
|
8
|
+
],
|
|
9
|
+
"releasedAt": "2026-09-19T19:21:24Z",
|
|
10
|
+
"minCliVersion": null,
|
|
11
|
+
"notes": "Weekend MVP: private sites default + soft-accept uploads + Free audio-only (#1015); HF email brand (#1016); AGW WAF chunk-cap (#1014)",
|
|
12
|
+
"digests": null
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"version": "0.47.6",
|
|
16
|
+
"flavors": [
|
|
17
|
+
"portable",
|
|
18
|
+
"portable-gcp"
|
|
19
|
+
],
|
|
20
|
+
"releasedAt": "2026-09-19T03:27:04Z",
|
|
21
|
+
"minCliVersion": null,
|
|
22
|
+
"notes": "HF Q&A quality must-fixes MF1\u2013MF8 (#1010)",
|
|
23
|
+
"digests": null
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"version": "0.47.5",
|
|
27
|
+
"flavors": [
|
|
28
|
+
"portable",
|
|
29
|
+
"portable-gcp"
|
|
30
|
+
],
|
|
31
|
+
"releasedAt": "2026-09-18T15:24:59Z",
|
|
32
|
+
"minCliVersion": null,
|
|
33
|
+
"notes": null,
|
|
34
|
+
"digests": null
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"version": "0.47.0",
|
|
38
|
+
"flavors": [
|
|
39
|
+
"portable",
|
|
40
|
+
"portable-gcp"
|
|
41
|
+
],
|
|
42
|
+
"releasedAt": "2026-09-12T18:34:28Z",
|
|
43
|
+
"minCliVersion": null,
|
|
44
|
+
"notes": null,
|
|
45
|
+
"digests": null
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"version": "0.46.0",
|
|
49
|
+
"flavors": [
|
|
50
|
+
"portable",
|
|
51
|
+
"portable-gcp"
|
|
52
|
+
],
|
|
53
|
+
"releasedAt": "2026-09-08T20:40:06Z",
|
|
54
|
+
"minCliVersion": null,
|
|
55
|
+
"notes": null,
|
|
56
|
+
"digests": null
|
|
57
|
+
},
|
|
3
58
|
{
|
|
4
59
|
"version": "0.44.1",
|
|
5
60
|
"flavors": [
|
|
@@ -128,8 +128,8 @@
|
|
|
128
128
|
"realtime-progress": { "status": "full", "transport": "worker-api-redis-sse" },
|
|
129
129
|
"entity-extraction": { "status": "degraded", "behavior": "terminal completion without structured entities" },
|
|
130
130
|
"face-recognition": { "status": "degraded", "behavior": "job consumed without recognition output" },
|
|
131
|
-
"graph-sync": { "status": "
|
|
132
|
-
"git-sync": { "status": "
|
|
131
|
+
"graph-sync": { "status": "full", "queues": ["graph-sync"] },
|
|
132
|
+
"git-sync": { "status": "full", "queues": ["git-sync", "git-sync-batch"] },
|
|
133
133
|
"engagement-jobs": { "status": "unavailable" },
|
|
134
134
|
"ingestion-jobs": { "status": "unavailable" },
|
|
135
135
|
"sequence-execution": { "status": "unavailable" },
|
|
@@ -1,5 +1,38 @@
|
|
|
1
1
|
{
|
|
2
2
|
"releases": [
|
|
3
|
+
{
|
|
4
|
+
"version": "0.17.0",
|
|
5
|
+
"status": "complete",
|
|
6
|
+
"flavors": [
|
|
7
|
+
"selfhosted"
|
|
8
|
+
],
|
|
9
|
+
"digests": {
|
|
10
|
+
"api": "sha256:9baa070fff55d6ea031708433680b24a76e7b490620f49f8ee3b47d758ec0d78",
|
|
11
|
+
"web": "sha256:c041ecc61b33982391502c9203a40ef63653aa255cc105d931f6674c27e6164d",
|
|
12
|
+
"mcp": "sha256:00bd12459844b5bc84ec4bca335c789a7a4a7280f87bbd51ede07f5cc88c5095"
|
|
13
|
+
},
|
|
14
|
+
"platforms": {
|
|
15
|
+
"api": [
|
|
16
|
+
"linux/amd64",
|
|
17
|
+
"linux/arm64"
|
|
18
|
+
],
|
|
19
|
+
"web": [
|
|
20
|
+
"linux/amd64",
|
|
21
|
+
"linux/arm64"
|
|
22
|
+
],
|
|
23
|
+
"mcp": [
|
|
24
|
+
"linux/amd64",
|
|
25
|
+
"linux/arm64"
|
|
26
|
+
]
|
|
27
|
+
},
|
|
28
|
+
"runtime": {
|
|
29
|
+
"database": "postgres",
|
|
30
|
+
"composeAsset": "docker-compose.yml"
|
|
31
|
+
},
|
|
32
|
+
"releasedAt": "2026-09-19T23:09:10Z",
|
|
33
|
+
"minCliVersion": "0.5.1",
|
|
34
|
+
"notes": "Verified public API/web/MCP image set. Anydoc-first local document conversion, OpenAI Apps challenge/MCP tool annotations, destinations live-connect UI parity, vault/tenant import-export fidelity and MCP plan-gate 402 surfacing. Exact released-image acceptance is required before CLI stable promotion."
|
|
35
|
+
},
|
|
3
36
|
{
|
|
4
37
|
"version": "0.16.2",
|
|
5
38
|
"status": "complete",
|
package/bin/run.js
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import {
|
|
3
|
-
import { execute } from '@oclif/core';
|
|
2
|
+
import { ensureBaselineWasmRuntime } from './wasm-runtime.js';
|
|
4
3
|
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
if (!(await ensureBaselineWasmRuntime())) {
|
|
5
|
+
const { applyCliBrandFromProcess } = await import('../dist/lib/brand.js');
|
|
6
|
+
const { execute } = await import('@oclif/core');
|
|
7
|
+
applyCliBrandFromProcess();
|
|
8
|
+
await execute({ dir: import.meta.url });
|
|
9
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { spawn } from 'node:child_process';
|
|
2
|
+
|
|
3
|
+
// Large mixed-grammar workloads can exhaust V8's optimizing-WASM compiler zone.
|
|
4
|
+
// Set the flag before VM startup: changing V8 flags after startup is unreliable.
|
|
5
|
+
// Liftoff retains baseline WASM compilation and normal JavaScript JIT execution.
|
|
6
|
+
export async function ensureBaselineWasmRuntime() {
|
|
7
|
+
if (process.execArgv.includes('--liftoff-only')) return false;
|
|
8
|
+
|
|
9
|
+
const child = spawn(process.execPath,
|
|
10
|
+
[...process.execArgv, '--liftoff-only', ...process.argv.slice(1)],
|
|
11
|
+
{ stdio: 'inherit', env: process.env });
|
|
12
|
+
const signals = ['SIGINT', 'SIGTERM', ...(process.platform === 'win32' ? [] : ['SIGHUP'])];
|
|
13
|
+
const forwarders = new Map(signals.map(signal => [signal, () => child.kill(signal)]));
|
|
14
|
+
for (const [signal, forward] of forwarders) process.on(signal, forward);
|
|
15
|
+
try {
|
|
16
|
+
const { code, signal } = await new Promise((resolve, reject) => {
|
|
17
|
+
child.once('error', reject);
|
|
18
|
+
child.once('exit', (code, signal) => resolve({ code, signal }));
|
|
19
|
+
});
|
|
20
|
+
for (const [name, forward] of forwarders) process.removeListener(name, forward);
|
|
21
|
+
if (signal) process.kill(process.pid, signal);
|
|
22
|
+
else process.exitCode = code ?? 1;
|
|
23
|
+
} finally {
|
|
24
|
+
for (const [signal, forward] of forwarders) process.removeListener(signal, forward);
|
|
25
|
+
}
|
|
26
|
+
return true;
|
|
27
|
+
}
|