@maiaos/node 0.1.0-canary.2 → 0.1.0-canary.3
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 +47 -261
- package/dist/bin/exit.js +105 -0
- package/dist/bin/exit.js.map +1 -0
- package/dist/bin/maia-node.NOTICES.txt +24 -15
- package/dist/bin/maia-node.cdx.json +119 -44
- package/dist/bin/maia-node.meta.json +1 -1
- package/dist/bin/maia-node.mjs +1567 -1014
- package/dist/bin/maia-node.mjs.map +3 -3
- package/dist/bin/maia-node.release.json +39 -17
- package/dist/bin/maia-process-host-darwin-arm64 +0 -0
- package/dist/bin/maia-process-host-darwin-arm64.build.json +6 -6
- package/dist/bin/maia-process-host-linux-x64 +0 -0
- package/dist/bin/maia-process-host-linux-x64.build.json +64 -0
- package/package.json +15 -14
|
@@ -2,56 +2,68 @@
|
|
|
2
2
|
"application": {
|
|
3
3
|
"name": "@maiaos/node",
|
|
4
4
|
"path": "services/node/dist/bin/maia-node.mjs",
|
|
5
|
-
"sha256": "
|
|
6
|
-
"version": "0.1.0-canary.
|
|
5
|
+
"sha256": "3fe4abbfc2db9de52c8eb9cfebc7afd5383b9d8b2a3240cff940b451ee4d97db",
|
|
6
|
+
"version": "0.1.0-canary.3"
|
|
7
7
|
},
|
|
8
8
|
"artifacts": [
|
|
9
9
|
{
|
|
10
|
-
"bytes":
|
|
10
|
+
"bytes": 59940,
|
|
11
11
|
"path": "services/node/dist/bin/maia-node.cdx.json",
|
|
12
12
|
"role": "sbom",
|
|
13
|
-
"sha256": "
|
|
13
|
+
"sha256": "3fb85192c13dbec4671087da9c2a2a4cf598d81ff01de80f800e913ff9691ab8"
|
|
14
14
|
},
|
|
15
15
|
{
|
|
16
|
-
"bytes":
|
|
16
|
+
"bytes": 2709937,
|
|
17
17
|
"path": "services/node/dist/bin/maia-node.meta.json",
|
|
18
18
|
"role": "build-metafile",
|
|
19
|
-
"sha256": "
|
|
19
|
+
"sha256": "a5f6b1b8711e998031d7632b6a96adf19426285f3a292ad6afde3cac29dcb493"
|
|
20
20
|
},
|
|
21
21
|
{
|
|
22
|
-
"bytes":
|
|
22
|
+
"bytes": 3896068,
|
|
23
23
|
"path": "services/node/dist/bin/maia-node.mjs",
|
|
24
24
|
"role": "application",
|
|
25
|
-
"sha256": "
|
|
25
|
+
"sha256": "3fe4abbfc2db9de52c8eb9cfebc7afd5383b9d8b2a3240cff940b451ee4d97db"
|
|
26
26
|
},
|
|
27
27
|
{
|
|
28
|
-
"bytes":
|
|
28
|
+
"bytes": 4913937,
|
|
29
29
|
"path": "services/node/dist/bin/maia-node.mjs.map",
|
|
30
30
|
"role": "source-map",
|
|
31
|
-
"sha256": "
|
|
31
|
+
"sha256": "828d6836e9f9a3dd04c53caadc5c5a0ca0a1a7a484b001790a720c601d1790d3"
|
|
32
32
|
},
|
|
33
33
|
{
|
|
34
|
-
"bytes":
|
|
34
|
+
"bytes": 211022,
|
|
35
35
|
"path": "services/node/dist/bin/maia-node.NOTICES.txt",
|
|
36
36
|
"role": "notices",
|
|
37
|
-
"sha256": "
|
|
37
|
+
"sha256": "a0dba4371ca92756336a281e5a4e3dd88be53d821c56b5f998c099a9f0ab1f97"
|
|
38
38
|
},
|
|
39
39
|
{
|
|
40
|
-
"bytes":
|
|
40
|
+
"bytes": 55648,
|
|
41
41
|
"path": "services/node/dist/bin/maia-process-host-darwin-arm64",
|
|
42
42
|
"role": "native-helper",
|
|
43
|
-
"sha256": "
|
|
43
|
+
"sha256": "26de48e2dfadc262dc48c5ae9bf91784603f6b1868e21216455918d022a721bc"
|
|
44
44
|
},
|
|
45
45
|
{
|
|
46
46
|
"bytes": 2143,
|
|
47
47
|
"path": "services/node/dist/bin/maia-process-host-darwin-arm64.build.json",
|
|
48
48
|
"role": "native-build-metadata",
|
|
49
|
-
"sha256": "
|
|
49
|
+
"sha256": "a5c4c09c160f44ae9604351a1ebf317b177a3e8fa56a399a40a84c536d310e2c"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"bytes": 76896,
|
|
53
|
+
"path": "services/node/dist/bin/maia-process-host-linux-x64",
|
|
54
|
+
"role": "native-helper",
|
|
55
|
+
"sha256": "c4ee506fbfa9cac187f5e0e780ac13b594b5bf8ed576f8cceabbba0e6e6f1f4b"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"bytes": 2135,
|
|
59
|
+
"path": "services/node/dist/bin/maia-process-host-linux-x64.build.json",
|
|
60
|
+
"role": "native-build-metadata",
|
|
61
|
+
"sha256": "2f0c443fe9d122279aab60965b3c4bd263e1af47f70b605e5035c1b9526bb9d7"
|
|
50
62
|
}
|
|
51
63
|
],
|
|
52
64
|
"footprint": {
|
|
53
|
-
"artifactCount":
|
|
54
|
-
"boundArtifactBytes":
|
|
65
|
+
"artifactCount": 9,
|
|
66
|
+
"boundArtifactBytes": 11927726,
|
|
55
67
|
"combinedCeiling": "not_accepted",
|
|
56
68
|
"status": "measured_without_accepted_ceiling",
|
|
57
69
|
"unmeasured": [
|
|
@@ -74,10 +86,20 @@
|
|
|
74
86
|
],
|
|
75
87
|
"releaseQualified": false,
|
|
76
88
|
"targetTriple": "darwin-arm64"
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"artifactPath": "services/node/dist/bin/maia-process-host-linux-x64",
|
|
92
|
+
"buildMetadataPath": "services/node/dist/bin/maia-process-host-linux-x64.build.json",
|
|
93
|
+
"missingReleaseEvidence": [
|
|
94
|
+
"linux-helper-release-signature"
|
|
95
|
+
],
|
|
96
|
+
"releaseQualified": false,
|
|
97
|
+
"targetTriple": "linux-x64"
|
|
77
98
|
}
|
|
78
99
|
],
|
|
79
100
|
"release": {
|
|
80
101
|
"missingEvidence": [
|
|
102
|
+
"linux-helper-release-signature",
|
|
81
103
|
"macos-hardened-runtime-helper-signature",
|
|
82
104
|
"npm-clean-install-boundary",
|
|
83
105
|
"npm-node-package-closure",
|
|
Binary file
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"artifact": {
|
|
3
|
-
"bytes":
|
|
3
|
+
"bytes": 55648,
|
|
4
4
|
"path": "services/node/dist/bin/maia-process-host-darwin-arm64",
|
|
5
|
-
"sha256": "
|
|
5
|
+
"sha256": "26de48e2dfadc262dc48c5ae9bf91784603f6b1868e21216455918d022a721bc"
|
|
6
6
|
},
|
|
7
7
|
"compiler": {
|
|
8
8
|
"flags": [
|
|
@@ -49,11 +49,11 @@
|
|
|
49
49
|
},
|
|
50
50
|
"source": {
|
|
51
51
|
"files": {
|
|
52
|
-
"services/node/native/process-host/common.c": "
|
|
53
|
-
"services/node/native/process-host/darwin.c": "
|
|
54
|
-
"services/node/native/process-host/protocol.h": "
|
|
52
|
+
"services/node/native/process-host/common.c": "73ee7864466d23ca553b7a734cadbcb6a2bf36567b8d0ab1c39a28313deaa39b",
|
|
53
|
+
"services/node/native/process-host/darwin.c": "078dfb946de49fd985f8dad8b0a49e72176a2880100d0ab803dcf06bc34a94bd",
|
|
54
|
+
"services/node/native/process-host/protocol.h": "00da3b9839edc922b867981ff263691ebffeadee1c1b5f4f35658a8d5ddbc989"
|
|
55
55
|
},
|
|
56
|
-
"revision": "
|
|
56
|
+
"revision": "0915c66acbdce0df844e73d85db61ac69155647d"
|
|
57
57
|
},
|
|
58
58
|
"targetTriple": "darwin-arm64"
|
|
59
59
|
}
|
|
Binary file
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
{
|
|
2
|
+
"artifact": {
|
|
3
|
+
"bytes": 76896,
|
|
4
|
+
"path": "services/node/dist/bin/maia-process-host-linux-x64",
|
|
5
|
+
"sha256": "c4ee506fbfa9cac187f5e0e780ac13b594b5bf8ed576f8cceabbba0e6e6f1f4b"
|
|
6
|
+
},
|
|
7
|
+
"compiler": {
|
|
8
|
+
"flags": [
|
|
9
|
+
"-std=c17",
|
|
10
|
+
"-O2",
|
|
11
|
+
"-Wall",
|
|
12
|
+
"-Wextra",
|
|
13
|
+
"-Werror",
|
|
14
|
+
"-Wpedantic",
|
|
15
|
+
"-Wconversion",
|
|
16
|
+
"-Wsign-conversion",
|
|
17
|
+
"-Wformat=2",
|
|
18
|
+
"-Wformat-security",
|
|
19
|
+
"-Wshadow",
|
|
20
|
+
"-Wstrict-prototypes",
|
|
21
|
+
"-Wnull-dereference",
|
|
22
|
+
"-Wvla",
|
|
23
|
+
"-Wcast-qual",
|
|
24
|
+
"-D_FORTIFY_SOURCE=3",
|
|
25
|
+
"-fstack-protector-strong",
|
|
26
|
+
"-fstack-clash-protection",
|
|
27
|
+
"-fcf-protection=full",
|
|
28
|
+
"-ftrivial-auto-var-init=zero",
|
|
29
|
+
"-fPIE",
|
|
30
|
+
"-pie",
|
|
31
|
+
"-Wl,-z,relro,-z,now,-z,noexecstack",
|
|
32
|
+
"-Wl,--fatal-warnings",
|
|
33
|
+
"services/node/native/process-host/common.c",
|
|
34
|
+
"services/node/native/process-host/sha256.c",
|
|
35
|
+
"services/node/native/process-host/linux.c",
|
|
36
|
+
"-o",
|
|
37
|
+
"services/node/dist/bin/maia-process-host-linux-x64"
|
|
38
|
+
],
|
|
39
|
+
"identity": "cc (Ubuntu 13.3.0-6ubuntu2~24.04.1) 13.3.0",
|
|
40
|
+
"path": "/usr/bin/cc",
|
|
41
|
+
"sdkPath": "/usr/include",
|
|
42
|
+
"sdkVersion": "glibc 2.39"
|
|
43
|
+
},
|
|
44
|
+
"protocolVersion": 3,
|
|
45
|
+
"releaseQualified": false,
|
|
46
|
+
"runtimeDependencies": [
|
|
47
|
+
"libc.so.6"
|
|
48
|
+
],
|
|
49
|
+
"schemaVersion": "maia.native-process-host-build/v1",
|
|
50
|
+
"signing": {
|
|
51
|
+
"state": "missing_release_signature"
|
|
52
|
+
},
|
|
53
|
+
"source": {
|
|
54
|
+
"files": {
|
|
55
|
+
"services/node/native/process-host/common.c": "73ee7864466d23ca553b7a734cadbcb6a2bf36567b8d0ab1c39a28313deaa39b",
|
|
56
|
+
"services/node/native/process-host/sha256.c": "eaa187b451c5276f7df0c0e3e26dc05cae0eee659926550b85aad69b68ae7cd3",
|
|
57
|
+
"services/node/native/process-host/linux.c": "8b1d7bb24f9002d2960efab2970b59f051232e13910ec245734d97aa2ad1f411",
|
|
58
|
+
"services/node/native/process-host/protocol.h": "00da3b9839edc922b867981ff263691ebffeadee1c1b5f4f35658a8d5ddbc989",
|
|
59
|
+
"services/node/native/process-host/sha256.h": "b2a686bbe44f7a67b14b9550fd5166db560fbb23104654ae818a92a69b07f819"
|
|
60
|
+
},
|
|
61
|
+
"revision": "0915c66acbdce0df844e73d85db61ac69155647d"
|
|
62
|
+
},
|
|
63
|
+
"targetTriple": "linux-x64"
|
|
64
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@maiaos/node",
|
|
3
|
-
"version": "0.1.0-canary.
|
|
3
|
+
"version": "0.1.0-canary.3",
|
|
4
4
|
"description": "Maia Node: the local authority that owns Sessions, worker accounts, durable state, events and receipts for swarms of AI coding agents.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"maia",
|
|
@@ -15,11 +15,11 @@
|
|
|
15
15
|
"effect",
|
|
16
16
|
"typescript"
|
|
17
17
|
],
|
|
18
|
-
"homepage": "https://github.com/
|
|
19
|
-
"bugs": "https://github.com/
|
|
18
|
+
"homepage": "https://github.com/vllnt/maia/tree/main/services/node#readme",
|
|
19
|
+
"bugs": "https://github.com/vllnt/maia/issues",
|
|
20
20
|
"repository": {
|
|
21
21
|
"type": "git",
|
|
22
|
-
"url": "git+https://github.com/
|
|
22
|
+
"url": "git+https://github.com/vllnt/maia.git",
|
|
23
23
|
"directory": "services/node"
|
|
24
24
|
},
|
|
25
25
|
"type": "module",
|
|
@@ -35,7 +35,8 @@
|
|
|
35
35
|
"publishConfig": {
|
|
36
36
|
"access": "public",
|
|
37
37
|
"executableFiles": [
|
|
38
|
-
"dist/bin/maia-process-host-darwin-arm64"
|
|
38
|
+
"dist/bin/maia-process-host-darwin-arm64",
|
|
39
|
+
"dist/bin/maia-process-host-linux-x64"
|
|
39
40
|
]
|
|
40
41
|
},
|
|
41
42
|
"engines": {
|
|
@@ -43,23 +44,23 @@
|
|
|
43
44
|
},
|
|
44
45
|
"devDependencies": {
|
|
45
46
|
"@effect/vitest": "4.0.0",
|
|
46
|
-
"@maiaos/cli": "0.1.0-canary.
|
|
47
|
-
"@maiaos/sdk": "0.1.0-canary.
|
|
47
|
+
"@maiaos/cli": "0.1.0-canary.3",
|
|
48
|
+
"@maiaos/sdk": "0.1.0-canary.3",
|
|
48
49
|
"@types/node": "24.13.3",
|
|
49
50
|
"@typescript/native": "npm:typescript@7.0.2",
|
|
50
|
-
"@vitest/coverage-v8": "5.0.
|
|
51
|
+
"@vitest/coverage-v8": "5.0.3",
|
|
51
52
|
"@vllnt/typescript": "2.0.0-canary.a1749e0",
|
|
52
53
|
"esbuild": "0.28.1",
|
|
53
54
|
"eslint": "9.39.5",
|
|
54
55
|
"typescript": "npm:@typescript/typescript6@6.0.2",
|
|
55
|
-
"vite": "8.2.
|
|
56
|
-
"vitest": "5.0.
|
|
56
|
+
"vite": "8.2.4",
|
|
57
|
+
"vitest": "5.0.3"
|
|
57
58
|
},
|
|
58
59
|
"dependencies": {
|
|
59
60
|
"@anthropic-ai/claude-agent-sdk": "0.3.285",
|
|
60
61
|
"@effect/platform-node-shared": "4.0.0",
|
|
61
|
-
"@maiaos/agent": "0.1.0-canary.
|
|
62
|
-
"@maiaos/protocol": "0.1.0-canary.
|
|
62
|
+
"@maiaos/agent": "0.1.0-canary.3",
|
|
63
|
+
"@maiaos/protocol": "0.1.0-canary.3",
|
|
63
64
|
"effect": "4.0.0",
|
|
64
65
|
"jsonc-parser": "3.3.1",
|
|
65
66
|
"xstate": "5.32.5"
|
|
@@ -67,7 +68,7 @@
|
|
|
67
68
|
"scripts": {
|
|
68
69
|
"benchmark:pi-worker-start": "node scripts/pi-worker-cold-start.mjs",
|
|
69
70
|
"build": "node -e \"require('node:fs').rmSync('dist',{force:true,recursive:true})\" && tsc --project tsconfig.build.json && node scripts/build-executable.mjs",
|
|
70
|
-
"lint": "eslint src scripts --max-warnings 0",
|
|
71
|
+
"lint": "NODE_OPTIONS=--max-old-space-size=4096 eslint src scripts --max-warnings 0",
|
|
71
72
|
"test": "vitest run --maxWorkers=2 src scripts",
|
|
72
73
|
"test:configuration-budget": "pnpm --filter @maiaos/node... build && node scripts/configuration-budget.mjs",
|
|
73
74
|
"test:darwin-g2": "pnpm test:darwin-g2:matrix && node --max-semi-space-size=1 scripts/darwin-g2-soak.mjs dist/bin/maia-node.release.json 60",
|
|
@@ -75,7 +76,7 @@
|
|
|
75
76
|
"test:darwin-g2:soak": "pnpm test:darwin-g2:matrix && node --max-semi-space-size=1 scripts/darwin-g2-soak.mjs dist/bin/maia-node.release.json 3600",
|
|
76
77
|
"test:fresh": "pnpm --filter @maiaos/node... build && vitest run --maxWorkers=2 src scripts",
|
|
77
78
|
"test:git-manager-migration": "pnpm --filter @maiaos/node... build && MAIA_GIT_MANAGER_MIGRATION_EVIDENCE=1 MAIA_DARWIN_G2_RELEASE_MANIFEST=dist/bin/maia-node.release.json vitest run --maxWorkers=1 --reporter=json --outputFile=../../.artifacts/benchmarks/git-manager-migration-vitest.json src/runtime/process/resource/resource.integration.test.ts src/runtime/process/resource/posix-source-candidate-layer.test.ts src/runtime/process/resource/posix-source-candidate-layer.integration.test.ts src/project-workspace/repository/inspector.test.ts src/application/run-desktop-node.test.ts && MAIA_GIT_MANAGER_MIGRATION_EVIDENCE=1 node scripts/git-manager-migration-evidence.mjs",
|
|
78
|
-
"test:observation-benchmark": "pnpm --filter \"@maiaos/node^...\" build && MAIA_OBSERVATION_BENCHMARK=1 vitest run --maxWorkers=1 src/storage/journal/observation-commits.integration.test.ts",
|
|
79
|
+
"test:observation-benchmark": "pnpm --filter \"@maiaos/node^...\" build && MAIA_OBSERVATION_BENCHMARK=1 vitest run --maxWorkers=1 src/storage/journal/observation-commits.integration.test.ts src/runtime/node-api/observation/attach.integration.test.ts",
|
|
79
80
|
"test:real-pi-rpc": "pnpm --filter @maiaos/node... build && MAIA_REAL_PI_RPC_EVIDENCE=1 vitest run --maxWorkers=1 src/harness/pi-rpc/runtime-probe.integration.test.ts",
|
|
80
81
|
"test:resource-diagnostic": "vitest run --maxWorkers=1 src/runtime/process/resource/health.test.ts src/runtime/process/resource/native-manager.test.ts",
|
|
81
82
|
"test:startup-budget": "pnpm --filter @maiaos/node... build && node scripts/startup-budget.mjs",
|