@gaia-ai/gaia 0.0.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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 keytec GmbH
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,63 @@
1
+ # @gaia-ai/gaia
2
+
3
+ The GAIA conductor + client CLI, published as a single self-contained npm
4
+ package. Install it globally and run `gaia` anywhere — no repo clone, no local
5
+ build (no `pnpm`, no `tsc`).
6
+
7
+ ## Install
8
+
9
+ ```bash
10
+ npm install -g @gaia-ai/gaia
11
+ ```
12
+
13
+ > The unscoped name `gaia` is taken on npm, so the package is scoped `@gaia-ai/gaia`.
14
+ > The executable stays `gaia` (via the `bin` entry), so every command is just
15
+ > `gaia …`.
16
+
17
+ ```bash
18
+ gaia --help
19
+ ```
20
+
21
+ ## What it does
22
+
23
+ `gaia` is the conductor node and client for a GAIA network: it registers with a
24
+ Drupal control plane, claims tickets over JSON:API, and runs agents through
25
+ spawn plugins (Claude, Codex, herdr, and a deterministic fake for tests). Point
26
+ it at a control plane with a `conductor.config.js` (scaffold one with
27
+ `gaia init`).
28
+
29
+ ## Plugins
30
+
31
+ The four spawn plugins ship **inside** this package — nothing extra to install.
32
+ Import them from the `@gaia-ai/gaia/plugins` entry in your `conductor.config.js`:
33
+
34
+ ```js
35
+ import {
36
+ drupalRemote,
37
+ herdrWorkspace,
38
+ claudeAgent,
39
+ herdrExecutor,
40
+ } from '@gaia-ai/gaia/plugins';
41
+ ```
42
+
43
+ Plugin authors can build against the API surface at `@gaia-ai/gaia/plugin`.
44
+
45
+ ## Releasing (maintainers)
46
+
47
+ Publishing is automated: push a git tag matching `v*.*.*` on `main` and CI runs
48
+ the `publish` job (`npm publish --access public`). The published version is the
49
+ tag. Requirements:
50
+
51
+ - an `NPM_TOKEN` masked CI/CD variable with publish rights to the `@gaia-ai` scope;
52
+ - the `@gaia-ai` npm org/scope claimed (fallback `@keytec/gaia`).
53
+
54
+ To reproduce the published artifact locally:
55
+
56
+ ```bash
57
+ pnpm run prepare:publish # stage conductor/publish/ + each plugins/*/publish/
58
+ pnpm run verify:package # pack the staged set, install it in a temp dir, smoke-test
59
+ ```
60
+
61
+ ## License
62
+
63
+ MIT — see [LICENSE](./LICENSE).
package/bin/gaia ADDED
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env node
2
+ import('@gaia-ai/conductor').then((m) => m.main(process.argv));
@@ -0,0 +1 @@
1
+ export * from '@gaia-ai/core/plugins';
@@ -0,0 +1 @@
1
+ export * from '@gaia-ai/core/plugins';
package/package.json ADDED
@@ -0,0 +1,48 @@
1
+ {
2
+ "name": "@gaia-ai/gaia",
3
+ "version": "0.0.1",
4
+ "description": "GAIA meta package: installs the conductor CLI + all runtime plugins. Global install target.",
5
+ "type": "module",
6
+ "license": "MIT",
7
+ "engines": {
8
+ "node": ">=20.19"
9
+ },
10
+ "bin": {
11
+ "gaia": "./bin/gaia"
12
+ },
13
+ "exports": {
14
+ "./plugins": "./dist/src/plugins-barrel.js",
15
+ "./package.json": "./package.json"
16
+ },
17
+ "files": [
18
+ "bin",
19
+ "dist/src",
20
+ "README.md",
21
+ "LICENSE"
22
+ ],
23
+ "publishConfig": {
24
+ "access": "public"
25
+ },
26
+ "repository": {
27
+ "type": "git",
28
+ "url": "git+https://git.key-tec.de/keytec/gaia.git",
29
+ "directory": "conductor/packages/gaia"
30
+ },
31
+ "keywords": [
32
+ "gaia",
33
+ "conductor",
34
+ "cli",
35
+ "agent",
36
+ "drupal",
37
+ "jsonapi"
38
+ ],
39
+ "dependencies": {
40
+ "@gaia-ai/conductor": "^0.0.1",
41
+ "@gaia-ai/core": "^0.0.1",
42
+ "@gaia-ai/plugin-claude": "^0.0.1",
43
+ "@gaia-ai/plugin-codex": "^0.0.1",
44
+ "@gaia-ai/plugin-essentials": "^0.0.1",
45
+ "@gaia-ai/plugin-herdr": "^0.0.1",
46
+ "@gaia-ai/plugin-herdr-workspace": "^0.0.1"
47
+ }
48
+ }