@maiaos/node 0.1.0-canary.2
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 +281 -0
- package/dist/bin/maia-node.NOTICES.txt +3908 -0
- package/dist/bin/maia-node.cdx.json +2373 -0
- package/dist/bin/maia-node.meta.json +1 -0
- package/dist/bin/maia-node.mjs +8356 -0
- package/dist/bin/maia-node.mjs.map +6 -0
- package/dist/bin/maia-node.release.json +90 -0
- package/dist/bin/maia-process-host-darwin-arm64 +0 -0
- package/dist/bin/maia-process-host-darwin-arm64.build.json +59 -0
- package/package.json +85 -0
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
{
|
|
2
|
+
"application": {
|
|
3
|
+
"name": "@maiaos/node",
|
|
4
|
+
"path": "services/node/dist/bin/maia-node.mjs",
|
|
5
|
+
"sha256": "309abc2ab5005e947aef79151c49c8b53c2178e97203e900147a08fd665b905d",
|
|
6
|
+
"version": "0.1.0-canary.2"
|
|
7
|
+
},
|
|
8
|
+
"artifacts": [
|
|
9
|
+
{
|
|
10
|
+
"bytes": 56599,
|
|
11
|
+
"path": "services/node/dist/bin/maia-node.cdx.json",
|
|
12
|
+
"role": "sbom",
|
|
13
|
+
"sha256": "c720791c99afc015534d794364e30ce0b085d8f22362b9b08bc367435c4529ad"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"bytes": 2633484,
|
|
17
|
+
"path": "services/node/dist/bin/maia-node.meta.json",
|
|
18
|
+
"role": "build-metafile",
|
|
19
|
+
"sha256": "e1293da5082e0c934ac795d14ae6cb9eb9b438483800933b3f89237483dcc739"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"bytes": 3650941,
|
|
23
|
+
"path": "services/node/dist/bin/maia-node.mjs",
|
|
24
|
+
"role": "application",
|
|
25
|
+
"sha256": "309abc2ab5005e947aef79151c49c8b53c2178e97203e900147a08fd665b905d"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"bytes": 4584675,
|
|
29
|
+
"path": "services/node/dist/bin/maia-node.mjs.map",
|
|
30
|
+
"role": "source-map",
|
|
31
|
+
"sha256": "5b4795badea75fe34961ed7430edcdf591932f923aa3680a0485eee4bff8a82c"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"bytes": 210650,
|
|
35
|
+
"path": "services/node/dist/bin/maia-node.NOTICES.txt",
|
|
36
|
+
"role": "notices",
|
|
37
|
+
"sha256": "6d8323d79d8538ae2b3145d3d24b7c03fe41aeb3e57c9943c69c046169ef7776"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"bytes": 55584,
|
|
41
|
+
"path": "services/node/dist/bin/maia-process-host-darwin-arm64",
|
|
42
|
+
"role": "native-helper",
|
|
43
|
+
"sha256": "efe0acb26f72976cee8e610a8accfe5e2469ed7de6abfd987346de6d711dc101"
|
|
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": "860c3759e36745fe86b1578513f642b6421e56db155151aff830bacd877dde0b"
|
|
50
|
+
}
|
|
51
|
+
],
|
|
52
|
+
"footprint": {
|
|
53
|
+
"artifactCount": 7,
|
|
54
|
+
"boundArtifactBytes": 11194076,
|
|
55
|
+
"combinedCeiling": "not_accepted",
|
|
56
|
+
"status": "measured_without_accepted_ceiling",
|
|
57
|
+
"unmeasured": [
|
|
58
|
+
"archive-bytes",
|
|
59
|
+
"unpacked-install-bytes",
|
|
60
|
+
"production-dependency-closure",
|
|
61
|
+
"helper-handshake-latency",
|
|
62
|
+
"helper-cold-start-latency",
|
|
63
|
+
"helper-incremental-rss",
|
|
64
|
+
"helper-handle-count"
|
|
65
|
+
]
|
|
66
|
+
},
|
|
67
|
+
"generator": "services/node/scripts/build-executable.mjs",
|
|
68
|
+
"nativeArtifacts": [
|
|
69
|
+
{
|
|
70
|
+
"artifactPath": "services/node/dist/bin/maia-process-host-darwin-arm64",
|
|
71
|
+
"buildMetadataPath": "services/node/dist/bin/maia-process-host-darwin-arm64.build.json",
|
|
72
|
+
"missingReleaseEvidence": [
|
|
73
|
+
"macos-hardened-runtime-helper-signature"
|
|
74
|
+
],
|
|
75
|
+
"releaseQualified": false,
|
|
76
|
+
"targetTriple": "darwin-arm64"
|
|
77
|
+
}
|
|
78
|
+
],
|
|
79
|
+
"release": {
|
|
80
|
+
"missingEvidence": [
|
|
81
|
+
"macos-hardened-runtime-helper-signature",
|
|
82
|
+
"npm-clean-install-boundary",
|
|
83
|
+
"npm-node-package-closure",
|
|
84
|
+
"npm-node-tarball-integrity",
|
|
85
|
+
"npm-registry-provenance"
|
|
86
|
+
],
|
|
87
|
+
"qualified": false
|
|
88
|
+
},
|
|
89
|
+
"schemaVersion": "maia.release-manifest/v1"
|
|
90
|
+
}
|
|
Binary file
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
{
|
|
2
|
+
"artifact": {
|
|
3
|
+
"bytes": 55584,
|
|
4
|
+
"path": "services/node/dist/bin/maia-process-host-darwin-arm64",
|
|
5
|
+
"sha256": "efe0acb26f72976cee8e610a8accfe5e2469ed7de6abfd987346de6d711dc101"
|
|
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": "04ed77e844a910383718665859fb3c9ca251fcab449a3e523be14f44d7e68404",
|
|
53
|
+
"services/node/native/process-host/darwin.c": "3a68d791f3b04d9b098dab25bba326acc84f19811900e2e83f3f9e4b97e24a22",
|
|
54
|
+
"services/node/native/process-host/protocol.h": "d363c861bfd79c2c2d7907a9cf9ca13406253223a07990c8fdea6110af24e0d3"
|
|
55
|
+
},
|
|
56
|
+
"revision": "6b4313b5a7702f46d11f293513954444f363d325"
|
|
57
|
+
},
|
|
58
|
+
"targetTriple": "darwin-arm64"
|
|
59
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@maiaos/node",
|
|
3
|
+
"version": "0.1.0-canary.2",
|
|
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/maiaos/maiaos/tree/main/services/node#readme",
|
|
19
|
+
"bugs": "https://github.com/maiaos/maiaos/issues",
|
|
20
|
+
"repository": {
|
|
21
|
+
"type": "git",
|
|
22
|
+
"url": "git+https://github.com/maiaos/maiaos.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
|
+
]
|
|
40
|
+
},
|
|
41
|
+
"engines": {
|
|
42
|
+
"node": "24.22.1"
|
|
43
|
+
},
|
|
44
|
+
"devDependencies": {
|
|
45
|
+
"@effect/vitest": "4.0.0",
|
|
46
|
+
"@maiaos/cli": "0.1.0-canary.2",
|
|
47
|
+
"@maiaos/sdk": "0.1.0-canary.2",
|
|
48
|
+
"@types/node": "24.13.3",
|
|
49
|
+
"@typescript/native": "npm:typescript@7.0.2",
|
|
50
|
+
"@vitest/coverage-v8": "5.0.1",
|
|
51
|
+
"@vllnt/typescript": "2.0.0-canary.a1749e0",
|
|
52
|
+
"esbuild": "0.28.1",
|
|
53
|
+
"eslint": "9.39.5",
|
|
54
|
+
"typescript": "npm:@typescript/typescript6@6.0.2",
|
|
55
|
+
"vite": "8.2.1",
|
|
56
|
+
"vitest": "5.0.1"
|
|
57
|
+
},
|
|
58
|
+
"dependencies": {
|
|
59
|
+
"@anthropic-ai/claude-agent-sdk": "0.3.285",
|
|
60
|
+
"@effect/platform-node-shared": "4.0.0",
|
|
61
|
+
"@maiaos/agent": "0.1.0-canary.2",
|
|
62
|
+
"@maiaos/protocol": "0.1.0-canary.2",
|
|
63
|
+
"effect": "4.0.0",
|
|
64
|
+
"jsonc-parser": "3.3.1",
|
|
65
|
+
"xstate": "5.32.5"
|
|
66
|
+
},
|
|
67
|
+
"scripts": {
|
|
68
|
+
"benchmark:pi-worker-start": "node scripts/pi-worker-cold-start.mjs",
|
|
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",
|
|
71
|
+
"test": "vitest run --maxWorkers=2 src scripts",
|
|
72
|
+
"test:configuration-budget": "pnpm --filter @maiaos/node... build && node scripts/configuration-budget.mjs",
|
|
73
|
+
"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
|
+
"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
|
+
"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
|
+
"test:fresh": "pnpm --filter @maiaos/node... build && vitest run --maxWorkers=2 src scripts",
|
|
77
|
+
"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: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
|
+
"test:resource-diagnostic": "vitest run --maxWorkers=1 src/runtime/process/resource/health.test.ts src/runtime/process/resource/native-manager.test.ts",
|
|
81
|
+
"test:startup-budget": "pnpm --filter @maiaos/node... build && node scripts/startup-budget.mjs",
|
|
82
|
+
"test:startup-budget:built": "node scripts/startup-budget.mjs",
|
|
83
|
+
"typecheck": "tsc --project tsconfig.json --noEmit && tsc --project scripts/tsconfig.json --noEmit"
|
|
84
|
+
}
|
|
85
|
+
}
|