@maiaos/node 0.1.0-canary.2 → 0.1.0-canary.20
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-main.mjs +9123 -0
- package/dist/bin/maia-node-main.mjs.map +6 -0
- package/dist/bin/maia-node.NOTICES.txt +24 -15
- package/dist/bin/maia-node.cdx.json +120 -45
- package/dist/bin/maia-node.meta.json +1 -1
- package/dist/bin/maia-node.mjs +43 -8355
- package/dist/bin/maia-node.release.json +49 -21
- 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 +16 -17
- package/dist/bin/maia-node.mjs.map +0 -6
|
@@ -2,56 +2,74 @@
|
|
|
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": "23514b02790b124f10eb5996ad0bf5c1c217a6a2aead6160537bb945adb9f409",
|
|
6
|
+
"version": "0.1.0-canary.20"
|
|
7
7
|
},
|
|
8
8
|
"artifacts": [
|
|
9
9
|
{
|
|
10
|
-
"bytes":
|
|
10
|
+
"bytes": 3958044,
|
|
11
|
+
"path": "services/node/dist/bin/maia-node-main.mjs",
|
|
12
|
+
"role": "application-main",
|
|
13
|
+
"sha256": "a26e8b51c001b61d3bedc987996b99e9574dec96c33b0eb8184a1f8272d4cbc3"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"bytes": 4995492,
|
|
17
|
+
"path": "services/node/dist/bin/maia-node-main.mjs.map",
|
|
18
|
+
"role": "source-map",
|
|
19
|
+
"sha256": "f7b44bba6679a41474cdab0150bd7b2872f969beadce07b51f35e388d3f14c24"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"bytes": 59965,
|
|
11
23
|
"path": "services/node/dist/bin/maia-node.cdx.json",
|
|
12
24
|
"role": "sbom",
|
|
13
|
-
"sha256": "
|
|
25
|
+
"sha256": "4cc5f98c910be5c1eed230d679f3fc9f9724eaf6198614ac9053d2c3a610d059"
|
|
14
26
|
},
|
|
15
27
|
{
|
|
16
|
-
"bytes":
|
|
28
|
+
"bytes": 2733093,
|
|
17
29
|
"path": "services/node/dist/bin/maia-node.meta.json",
|
|
18
30
|
"role": "build-metafile",
|
|
19
|
-
"sha256": "
|
|
31
|
+
"sha256": "75c625d7c1b9aea007c1d81e92de1fee9b7cc356c2c4d6222a80e5021b8bc219"
|
|
20
32
|
},
|
|
21
33
|
{
|
|
22
|
-
"bytes":
|
|
34
|
+
"bytes": 1779,
|
|
23
35
|
"path": "services/node/dist/bin/maia-node.mjs",
|
|
24
36
|
"role": "application",
|
|
25
|
-
"sha256": "
|
|
37
|
+
"sha256": "23514b02790b124f10eb5996ad0bf5c1c217a6a2aead6160537bb945adb9f409"
|
|
26
38
|
},
|
|
27
39
|
{
|
|
28
|
-
"bytes":
|
|
29
|
-
"path": "services/node/dist/bin/maia-node.mjs.map",
|
|
30
|
-
"role": "source-map",
|
|
31
|
-
"sha256": "5b4795badea75fe34961ed7430edcdf591932f923aa3680a0485eee4bff8a82c"
|
|
32
|
-
},
|
|
33
|
-
{
|
|
34
|
-
"bytes": 210650,
|
|
40
|
+
"bytes": 211022,
|
|
35
41
|
"path": "services/node/dist/bin/maia-node.NOTICES.txt",
|
|
36
42
|
"role": "notices",
|
|
37
|
-
"sha256": "
|
|
43
|
+
"sha256": "a0dba4371ca92756336a281e5a4e3dd88be53d821c56b5f998c099a9f0ab1f97"
|
|
38
44
|
},
|
|
39
45
|
{
|
|
40
|
-
"bytes":
|
|
46
|
+
"bytes": 55648,
|
|
41
47
|
"path": "services/node/dist/bin/maia-process-host-darwin-arm64",
|
|
42
48
|
"role": "native-helper",
|
|
43
|
-
"sha256": "
|
|
49
|
+
"sha256": "26de48e2dfadc262dc48c5ae9bf91784603f6b1868e21216455918d022a721bc"
|
|
44
50
|
},
|
|
45
51
|
{
|
|
46
52
|
"bytes": 2143,
|
|
47
53
|
"path": "services/node/dist/bin/maia-process-host-darwin-arm64.build.json",
|
|
48
54
|
"role": "native-build-metadata",
|
|
49
|
-
"sha256": "
|
|
55
|
+
"sha256": "9f642ed769a8f882afd650d2ba502a06890f94b05e7fafd4e289b68d3a7c787b"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"bytes": 76896,
|
|
59
|
+
"path": "services/node/dist/bin/maia-process-host-linux-x64",
|
|
60
|
+
"role": "native-helper",
|
|
61
|
+
"sha256": "c4ee506fbfa9cac187f5e0e780ac13b594b5bf8ed576f8cceabbba0e6e6f1f4b"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"bytes": 2135,
|
|
65
|
+
"path": "services/node/dist/bin/maia-process-host-linux-x64.build.json",
|
|
66
|
+
"role": "native-build-metadata",
|
|
67
|
+
"sha256": "a040a5fbf436b1818786311f5d13c22294e34bfad9fd61410dffa5cec13ba8d5"
|
|
50
68
|
}
|
|
51
69
|
],
|
|
52
70
|
"footprint": {
|
|
53
|
-
"artifactCount":
|
|
54
|
-
"boundArtifactBytes":
|
|
71
|
+
"artifactCount": 10,
|
|
72
|
+
"boundArtifactBytes": 12096217,
|
|
55
73
|
"combinedCeiling": "not_accepted",
|
|
56
74
|
"status": "measured_without_accepted_ceiling",
|
|
57
75
|
"unmeasured": [
|
|
@@ -74,10 +92,20 @@
|
|
|
74
92
|
],
|
|
75
93
|
"releaseQualified": false,
|
|
76
94
|
"targetTriple": "darwin-arm64"
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"artifactPath": "services/node/dist/bin/maia-process-host-linux-x64",
|
|
98
|
+
"buildMetadataPath": "services/node/dist/bin/maia-process-host-linux-x64.build.json",
|
|
99
|
+
"missingReleaseEvidence": [
|
|
100
|
+
"linux-helper-release-signature"
|
|
101
|
+
],
|
|
102
|
+
"releaseQualified": false,
|
|
103
|
+
"targetTriple": "linux-x64"
|
|
77
104
|
}
|
|
78
105
|
],
|
|
79
106
|
"release": {
|
|
80
107
|
"missingEvidence": [
|
|
108
|
+
"linux-helper-release-signature",
|
|
81
109
|
"macos-hardened-runtime-helper-signature",
|
|
82
110
|
"npm-clean-install-boundary",
|
|
83
111
|
"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": "3079e3ceaa16d00f42c4d7f994fb58bfdfc9d84d"
|
|
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": "3079e3ceaa16d00f42c4d7f994fb58bfdfc9d84d"
|
|
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.20",
|
|
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,43 +44,41 @@
|
|
|
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.20",
|
|
48
|
+
"@maiaos/sdk": "0.1.0-canary.20",
|
|
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.20",
|
|
63
|
+
"@maiaos/protocol": "0.1.0-canary.20",
|
|
63
64
|
"effect": "4.0.0",
|
|
64
|
-
"jsonc-parser": "3.3.1",
|
|
65
65
|
"xstate": "5.32.5"
|
|
66
66
|
},
|
|
67
67
|
"scripts": {
|
|
68
68
|
"benchmark:pi-worker-start": "node scripts/pi-worker-cold-start.mjs",
|
|
69
69
|
"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",
|
|
70
|
+
"lint": "NODE_OPTIONS=--max-old-space-size=4096 eslint src scripts --max-warnings 0 --cache --cache-location node_modules/.cache/eslint/ --cache-strategy content",
|
|
71
71
|
"test": "vitest run --maxWorkers=2 src scripts",
|
|
72
|
-
"test:configuration-budget": "pnpm --filter @maiaos/node... build && node scripts/configuration-budget.mjs",
|
|
73
72
|
"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",
|
|
74
73
|
"test:darwin-g2:matrix": "pnpm build && node scripts/darwin-g2-evidence.mjs dist/bin/maia-node.release.json && NODE_OPTIONS=--trace-warnings MAIA_DARWIN_G2_RELEASE_MANIFEST=dist/bin/maia-node.release.json vitest run --maxWorkers=1 src/runtime/process/resource/launch/darwin-vouch-policy.test.ts src/runtime/process/resource/resource.integration.test.ts",
|
|
75
74
|
"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
75
|
"test:fresh": "pnpm --filter @maiaos/node... build && vitest run --maxWorkers=2 src scripts",
|
|
77
76
|
"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",
|
|
77
|
+
"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
78
|
"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
79
|
"test:resource-diagnostic": "vitest run --maxWorkers=1 src/runtime/process/resource/health.test.ts src/runtime/process/resource/native-manager.test.ts",
|
|
81
80
|
"test:startup-budget": "pnpm --filter @maiaos/node... build && node scripts/startup-budget.mjs",
|
|
82
81
|
"test:startup-budget:built": "node scripts/startup-budget.mjs",
|
|
83
|
-
"typecheck": "tsc --project tsconfig.json --noEmit && tsc --project scripts/tsconfig.json --noEmit"
|
|
82
|
+
"typecheck": "tsc --project tsconfig.json --noEmit --incremental --tsBuildInfoFile node_modules/.cache/tsc/typecheck.tsbuildinfo && tsc --project scripts/tsconfig.json --noEmit --incremental --tsBuildInfoFile node_modules/.cache/tsc/scripts.tsbuildinfo"
|
|
84
83
|
}
|
|
85
84
|
}
|