@gaia-ai/conductor 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,5 @@
1
+ # @gaia-ai/conductor
2
+
3
+ GAIA conductor engine + CLI: registers, claims tickets via JSON:API, dispatches agents.
4
+
5
+ Part of the GAIA conductor. Install the meta package `@gaia-ai/gaia` to get the `gaia` CLI with all plugins. Source: https://git.key-tec.de/keytec/gaia (conductor/).
@@ -0,0 +1,21 @@
1
+ import { type ConductorFileConfig, type ConductorLogger, type GaiaAgent, type GaiaExecutor, type GaiaRemote, type GaiaWorkspace } from '@gaia-ai/core';
2
+ import { Command } from 'commander';
3
+ /** Test seam: inject any subset of dependencies. */
4
+ export interface GaiaCliDeps {
5
+ remote?: GaiaRemote;
6
+ executor?: GaiaExecutor;
7
+ workspace?: GaiaWorkspace;
8
+ agent?: GaiaAgent;
9
+ config?: ConductorFileConfig;
10
+ }
11
+ export declare function parseHerdrJson(output: string, command: string): unknown;
12
+ /**
13
+ * Start-time auth gate. Returns true if authenticated (session or session-less
14
+ * provider); otherwise logs a single clear line and returns false. Must run
15
+ * before remote resolution (resolveRemote), which calls resolveAuth and throws
16
+ * when unauthenticated.
17
+ */
18
+ export declare function ensureAuthenticated(config: ConductorFileConfig, logger: ConductorLogger): Promise<boolean>;
19
+ export declare function buildProgram(deps: GaiaCliDeps): Command;
20
+ export declare function runGaiaCli(argv: string[], deps?: GaiaCliDeps): Promise<void>;
21
+ export declare function main(argv: string[]): Promise<void>;