@maiaos/node 0.1.0-canary.10

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.
@@ -0,0 +1,112 @@
1
+ {
2
+ "application": {
3
+ "name": "@maiaos/node",
4
+ "path": "services/node/dist/bin/maia-node.mjs",
5
+ "sha256": "055d09eaaff8835ce52e8486a85ca5b275b097723e004424449255f222c9d3f0",
6
+ "version": "0.1.0-canary.10"
7
+ },
8
+ "artifacts": [
9
+ {
10
+ "bytes": 59960,
11
+ "path": "services/node/dist/bin/maia-node.cdx.json",
12
+ "role": "sbom",
13
+ "sha256": "07e26eb3ffee7d9484e5d097e0fbe2841a46856b95ffb5a524f67578b7947a7a"
14
+ },
15
+ {
16
+ "bytes": 2718348,
17
+ "path": "services/node/dist/bin/maia-node.meta.json",
18
+ "role": "build-metafile",
19
+ "sha256": "6d04e0974c60c875e62e941c37d2c599e174a814fe17a381851c24ae2b4ebd56"
20
+ },
21
+ {
22
+ "bytes": 3926822,
23
+ "path": "services/node/dist/bin/maia-node.mjs",
24
+ "role": "application",
25
+ "sha256": "055d09eaaff8835ce52e8486a85ca5b275b097723e004424449255f222c9d3f0"
26
+ },
27
+ {
28
+ "bytes": 4951986,
29
+ "path": "services/node/dist/bin/maia-node.mjs.map",
30
+ "role": "source-map",
31
+ "sha256": "b65b29141856a6c2d34c799da6ca4768e654b9f88f2e897c050a805d9248cd08"
32
+ },
33
+ {
34
+ "bytes": 211022,
35
+ "path": "services/node/dist/bin/maia-node.NOTICES.txt",
36
+ "role": "notices",
37
+ "sha256": "a0dba4371ca92756336a281e5a4e3dd88be53d821c56b5f998c099a9f0ab1f97"
38
+ },
39
+ {
40
+ "bytes": 55648,
41
+ "path": "services/node/dist/bin/maia-process-host-darwin-arm64",
42
+ "role": "native-helper",
43
+ "sha256": "26de48e2dfadc262dc48c5ae9bf91784603f6b1868e21216455918d022a721bc"
44
+ },
45
+ {
46
+ "bytes": 2143,
47
+ "path": "services/node/dist/bin/maia-process-host-darwin-arm64.build.json",
48
+ "role": "native-build-metadata",
49
+ "sha256": "73823314d70c966952efded5e88a3579eb1778ef2c9e58d4eda83c1d50d32d82"
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": "87ed2185e775725e4ec09c5b5a857f0ecba7b0a17d13b70c9db43c138ef5c4e3"
62
+ }
63
+ ],
64
+ "footprint": {
65
+ "artifactCount": 9,
66
+ "boundArtifactBytes": 12004960,
67
+ "combinedCeiling": "not_accepted",
68
+ "status": "measured_without_accepted_ceiling",
69
+ "unmeasured": [
70
+ "archive-bytes",
71
+ "unpacked-install-bytes",
72
+ "production-dependency-closure",
73
+ "helper-handshake-latency",
74
+ "helper-cold-start-latency",
75
+ "helper-incremental-rss",
76
+ "helper-handle-count"
77
+ ]
78
+ },
79
+ "generator": "services/node/scripts/build-executable.mjs",
80
+ "nativeArtifacts": [
81
+ {
82
+ "artifactPath": "services/node/dist/bin/maia-process-host-darwin-arm64",
83
+ "buildMetadataPath": "services/node/dist/bin/maia-process-host-darwin-arm64.build.json",
84
+ "missingReleaseEvidence": [
85
+ "macos-hardened-runtime-helper-signature"
86
+ ],
87
+ "releaseQualified": false,
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"
98
+ }
99
+ ],
100
+ "release": {
101
+ "missingEvidence": [
102
+ "linux-helper-release-signature",
103
+ "macos-hardened-runtime-helper-signature",
104
+ "npm-clean-install-boundary",
105
+ "npm-node-package-closure",
106
+ "npm-node-tarball-integrity",
107
+ "npm-registry-provenance"
108
+ ],
109
+ "qualified": false
110
+ },
111
+ "schemaVersion": "maia.release-manifest/v1"
112
+ }
@@ -0,0 +1,59 @@
1
+ {
2
+ "artifact": {
3
+ "bytes": 55648,
4
+ "path": "services/node/dist/bin/maia-process-host-darwin-arm64",
5
+ "sha256": "26de48e2dfadc262dc48c5ae9bf91784603f6b1868e21216455918d022a721bc"
6
+ },
7
+ "compiler": {
8
+ "flags": [
9
+ "-std=c17",
10
+ "-arch",
11
+ "arm64",
12
+ "-isysroot",
13
+ "/Applications/Xcode_16.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk",
14
+ "-mmacosx-version-min=14.0",
15
+ "-O2",
16
+ "-Wall",
17
+ "-Wextra",
18
+ "-Werror",
19
+ "-Wpedantic",
20
+ "-Wconversion",
21
+ "-Wsign-conversion",
22
+ "-Wformat=2",
23
+ "-Wshadow",
24
+ "-Wstrict-prototypes",
25
+ "-fstack-protector-strong",
26
+ "-fPIE",
27
+ "-Wl,-pie",
28
+ "-Wl,-dead_strip",
29
+ "-Wl,-fatal_warnings",
30
+ "services/node/native/process-host/common.c",
31
+ "services/node/native/process-host/darwin.c",
32
+ "-o",
33
+ "services/node/dist/bin/maia-process-host-darwin-arm64",
34
+ "-DMAIA_BUILD_COMPILER_PATH=\"/Applications/Xcode_16.4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang\""
35
+ ],
36
+ "identity": "Apple clang version 17.0.0 (clang-1700.0.13.5)",
37
+ "path": "/Applications/Xcode_16.4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang",
38
+ "sdkPath": "/Applications/Xcode_16.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk",
39
+ "sdkVersion": "15.5"
40
+ },
41
+ "protocolVersion": 3,
42
+ "releaseQualified": false,
43
+ "runtimeDependencies": [
44
+ "/usr/lib/libSystem.B.dylib"
45
+ ],
46
+ "schemaVersion": "maia.native-process-host-build/v1",
47
+ "signing": {
48
+ "state": "missing_release_signature"
49
+ },
50
+ "source": {
51
+ "files": {
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
+ },
56
+ "revision": "a74eebf0070a0949b20a72d3bedaeaec7dc80f62"
57
+ },
58
+ "targetTriple": "darwin-arm64"
59
+ }
@@ -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": "a74eebf0070a0949b20a72d3bedaeaec7dc80f62"
62
+ },
63
+ "targetTriple": "linux-x64"
64
+ }
package/package.json ADDED
@@ -0,0 +1,86 @@
1
+ {
2
+ "name": "@maiaos/node",
3
+ "version": "0.1.0-canary.10",
4
+ "description": "Maia Node: the local authority that owns Sessions, worker accounts, durable state, events and receipts for swarms of AI coding agents.",
5
+ "keywords": [
6
+ "maia",
7
+ "maiaos",
8
+ "ai-agents",
9
+ "coding-agents",
10
+ "multi-agent",
11
+ "agent-orchestration",
12
+ "claude-code",
13
+ "codex",
14
+ "sqlite",
15
+ "effect",
16
+ "typescript"
17
+ ],
18
+ "homepage": "https://github.com/vllnt/maia/tree/main/services/node#readme",
19
+ "bugs": "https://github.com/vllnt/maia/issues",
20
+ "repository": {
21
+ "type": "git",
22
+ "url": "git+https://github.com/vllnt/maia.git",
23
+ "directory": "services/node"
24
+ },
25
+ "type": "module",
26
+ "bin": {
27
+ "maia-node": "./dist/bin/maia-node.mjs"
28
+ },
29
+ "files": [
30
+ "dist/bin",
31
+ "!dist/bin/*.d.ts",
32
+ "!dist/bin/*.d.ts.map",
33
+ "README.md"
34
+ ],
35
+ "publishConfig": {
36
+ "access": "public",
37
+ "executableFiles": [
38
+ "dist/bin/maia-process-host-darwin-arm64",
39
+ "dist/bin/maia-process-host-linux-x64"
40
+ ]
41
+ },
42
+ "engines": {
43
+ "node": "24.22.1"
44
+ },
45
+ "devDependencies": {
46
+ "@effect/vitest": "4.0.0",
47
+ "@maiaos/cli": "0.1.0-canary.10",
48
+ "@maiaos/sdk": "0.1.0-canary.10",
49
+ "@types/node": "24.13.3",
50
+ "@typescript/native": "npm:typescript@7.0.2",
51
+ "@vitest/coverage-v8": "5.0.3",
52
+ "@vllnt/typescript": "2.0.0-canary.a1749e0",
53
+ "esbuild": "0.28.1",
54
+ "eslint": "9.39.5",
55
+ "typescript": "npm:@typescript/typescript6@6.0.2",
56
+ "vite": "8.2.4",
57
+ "vitest": "5.0.3"
58
+ },
59
+ "dependencies": {
60
+ "@anthropic-ai/claude-agent-sdk": "0.3.285",
61
+ "@effect/platform-node-shared": "4.0.0",
62
+ "@maiaos/agent": "0.1.0-canary.10",
63
+ "@maiaos/protocol": "0.1.0-canary.10",
64
+ "effect": "4.0.0",
65
+ "jsonc-parser": "3.3.1",
66
+ "xstate": "5.32.5"
67
+ },
68
+ "scripts": {
69
+ "benchmark:pi-worker-start": "node scripts/pi-worker-cold-start.mjs",
70
+ "build": "node -e \"require('node:fs').rmSync('dist',{force:true,recursive:true})\" && tsc --project tsconfig.build.json && node scripts/build-executable.mjs",
71
+ "lint": "NODE_OPTIONS=--max-old-space-size=4096 eslint src scripts --max-warnings 0 --cache --cache-location node_modules/.cache/eslint/ --cache-strategy content",
72
+ "test": "vitest run --maxWorkers=2 src scripts",
73
+ "test:configuration-budget": "pnpm --filter @maiaos/node... build && node scripts/configuration-budget.mjs",
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
+ "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",
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",
77
+ "test:fresh": "pnpm --filter @maiaos/node... build && vitest run --maxWorkers=2 src scripts",
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",
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",
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",
81
+ "test:resource-diagnostic": "vitest run --maxWorkers=1 src/runtime/process/resource/health.test.ts src/runtime/process/resource/native-manager.test.ts",
82
+ "test:startup-budget": "pnpm --filter @maiaos/node... build && node scripts/startup-budget.mjs",
83
+ "test:startup-budget:built": "node scripts/startup-budget.mjs",
84
+ "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"
85
+ }
86
+ }