@a5c-ai/omni 5.0.1-staging.04ca6ab00d21

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 ADDED
@@ -0,0 +1,34 @@
1
+ # @a5c-ai/omni
2
+
3
+ Omni is the unified agent product that composes every layer of the babysitter agent stack into a single distributable binary.
4
+
5
+ ## Architecture
6
+
7
+ | Layer | Package | Role |
8
+ |-------|---------|------|
9
+ | L4 | `@a5c-ai/agent-core` | Loop, subagent, context, synthesis interfaces |
10
+ | L5 | `@a5c-ai/agent-runtime` | Daemon, session, cost, observability, telemetry |
11
+ | L6 | `@a5c-ai/agent-platform` | Harness integration, governance, CLI, interaction, storage |
12
+ | Mux | `@a5c-ai/agent-mux` | Agent multiplexer |
13
+ | TUI | `@a5c-ai/babysitter-tui-plugins` | TUI plugins for cost, governance, status |
14
+
15
+ Omni re-exports the full public API from all layers and provides a single `omni` CLI binary that delegates to the platform layer.
16
+
17
+ ## Usage
18
+
19
+ ```bash
20
+ # As a CLI
21
+ npx omni <command> [options]
22
+
23
+ # As a library
24
+ import { createBabysitterAgentCli } from "@a5c-ai/omni/cli";
25
+ import { createAgentCoreSession } from "@a5c-ai/omni";
26
+ ```
27
+
28
+ ## Development
29
+
30
+ ```bash
31
+ npm run build # Build (builds dependencies first)
32
+ npm run test # Run tests
33
+ npm run clean # Remove build artifacts
34
+ ```
@@ -0,0 +1,15 @@
1
+ #!/usr/bin/env node
2
+ /**
3
+ * Omni CLI — thin wrapper around agent-platform's CLI.
4
+ *
5
+ * Delegates all argument parsing, dispatch, and output to the platform layer.
6
+ * Future versions will compose TUI plugins and agent-mux features here.
7
+ */
8
+ declare const cli: {
9
+ run(argv?: string[]): Promise<number>;
10
+ formatHelp(): string;
11
+ formatHumanHelp(): string;
12
+ };
13
+ export { cli };
14
+ export { createBabysitterAgentCli } from "@a5c-ai/agent-platform";
15
+ //# sourceMappingURL=main.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../../src/cli/main.ts"],"names":[],"mappings":";AAEA;;;;;GAKG;AAIH,QAAA,MAAM,GAAG;;;;CAA6B,CAAC;AAQvC,OAAO,EAAE,GAAG,EAAE,CAAC;AACf,OAAO,EAAE,wBAAwB,EAAE,MAAM,wBAAwB,CAAC"}
@@ -0,0 +1,20 @@
1
+ #!/usr/bin/env node
2
+ "use strict";
3
+ /**
4
+ * Omni CLI — thin wrapper around agent-platform's CLI.
5
+ *
6
+ * Delegates all argument parsing, dispatch, and output to the platform layer.
7
+ * Future versions will compose TUI plugins and agent-mux features here.
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ exports.createBabysitterAgentCli = exports.cli = void 0;
11
+ const agent_platform_1 = require("@a5c-ai/agent-platform");
12
+ const cli = (0, agent_platform_1.createBabysitterAgentCli)();
13
+ exports.cli = cli;
14
+ if (require.main === module) {
15
+ void cli.run().then((code) => {
16
+ process.exitCode = code;
17
+ });
18
+ }
19
+ var agent_platform_2 = require("@a5c-ai/agent-platform");
20
+ Object.defineProperty(exports, "createBabysitterAgentCli", { enumerable: true, get: function () { return agent_platform_2.createBabysitterAgentCli; } });
@@ -0,0 +1,18 @@
1
+ /**
2
+ * @a5c-ai/omni — Unified agent product
3
+ *
4
+ * Re-exports the full public API surface from every layer:
5
+ * L4 agent-core — loop, subagent, context, synthesis
6
+ * L5 agent-runtime — daemon, session, cost, observability, telemetry
7
+ * L6 agent-platform — harness, governance, CLI, interaction, storage
8
+ *
9
+ * agent-platform sits at the top of the dependency chain and already
10
+ * re-exports key symbols from core and runtime, so it is the primary
11
+ * barrel. The lower layers are additionally available under namespaces
12
+ * (`core`, `runtime`) for consumers that need unambiguous access.
13
+ */
14
+ export * from "@a5c-ai/agent-platform";
15
+ import * as core from "@a5c-ai/agent-core";
16
+ import * as runtime from "@a5c-ai/agent-runtime";
17
+ export { core, runtime };
18
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAGH,cAAc,wBAAwB,CAAC;AAGvC,OAAO,KAAK,IAAI,MAAM,oBAAoB,CAAC;AAC3C,OAAO,KAAK,OAAO,MAAM,uBAAuB,CAAC;AACjD,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC"}
package/dist/index.js ADDED
@@ -0,0 +1,59 @@
1
+ "use strict";
2
+ /**
3
+ * @a5c-ai/omni — Unified agent product
4
+ *
5
+ * Re-exports the full public API surface from every layer:
6
+ * L4 agent-core — loop, subagent, context, synthesis
7
+ * L5 agent-runtime — daemon, session, cost, observability, telemetry
8
+ * L6 agent-platform — harness, governance, CLI, interaction, storage
9
+ *
10
+ * agent-platform sits at the top of the dependency chain and already
11
+ * re-exports key symbols from core and runtime, so it is the primary
12
+ * barrel. The lower layers are additionally available under namespaces
13
+ * (`core`, `runtime`) for consumers that need unambiguous access.
14
+ */
15
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
16
+ if (k2 === undefined) k2 = k;
17
+ var desc = Object.getOwnPropertyDescriptor(m, k);
18
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
19
+ desc = { enumerable: true, get: function() { return m[k]; } };
20
+ }
21
+ Object.defineProperty(o, k2, desc);
22
+ }) : (function(o, m, k, k2) {
23
+ if (k2 === undefined) k2 = k;
24
+ o[k2] = m[k];
25
+ }));
26
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
27
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
28
+ }) : function(o, v) {
29
+ o["default"] = v;
30
+ });
31
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
32
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
33
+ };
34
+ var __importStar = (this && this.__importStar) || (function () {
35
+ var ownKeys = function(o) {
36
+ ownKeys = Object.getOwnPropertyNames || function (o) {
37
+ var ar = [];
38
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
39
+ return ar;
40
+ };
41
+ return ownKeys(o);
42
+ };
43
+ return function (mod) {
44
+ if (mod && mod.__esModule) return mod;
45
+ var result = {};
46
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
47
+ __setModuleDefault(result, mod);
48
+ return result;
49
+ };
50
+ })();
51
+ Object.defineProperty(exports, "__esModule", { value: true });
52
+ exports.runtime = exports.core = void 0;
53
+ // L6 — primary barrel (re-exports overlapping symbols from L4/L5)
54
+ __exportStar(require("@a5c-ai/agent-platform"), exports);
55
+ // L4 and L5 — namespaced for unambiguous access
56
+ const core = __importStar(require("@a5c-ai/agent-core"));
57
+ exports.core = core;
58
+ const runtime = __importStar(require("@a5c-ai/agent-runtime"));
59
+ exports.runtime = runtime;
package/package.json ADDED
@@ -0,0 +1,74 @@
1
+ {
2
+ "name": "@a5c-ai/omni",
3
+ "version": "5.0.1-staging.04ca6ab00d21",
4
+ "description": "Omni — unified agent product integrating core, runtime, platform, and TUI",
5
+ "license": "MIT",
6
+ "type": "commonjs",
7
+ "main": "dist/index.js",
8
+ "types": "dist/index.d.ts",
9
+ "exports": {
10
+ ".": {
11
+ "types": "./dist/index.d.ts",
12
+ "require": "./dist/index.js",
13
+ "default": "./dist/index.js"
14
+ },
15
+ "./cli": {
16
+ "types": "./dist/cli/main.d.ts",
17
+ "require": "./dist/cli/main.js",
18
+ "default": "./dist/cli/main.js"
19
+ },
20
+ "./package.json": "./package.json"
21
+ },
22
+ "bin": {
23
+ "omni": "./dist/cli/main.js"
24
+ },
25
+ "files": [
26
+ "dist/",
27
+ "README.md"
28
+ ],
29
+ "publishConfig": {
30
+ "access": "public"
31
+ },
32
+ "scripts": {
33
+ "build": "npm run build:runtime --prefix ../.. && tsc --build tsconfig.json",
34
+ "clean": "rimraf dist tsconfig.tsbuildinfo",
35
+ "test": "vitest run --config vitest.config.ts"
36
+ },
37
+ "dependencies": {
38
+ "@a5c-ai/agent-core": "5.0.1-staging.04ca6ab00d21",
39
+ "@a5c-ai/agent-runtime": "5.0.1-staging.04ca6ab00d21",
40
+ "@a5c-ai/agent-platform": "5.0.1-staging.04ca6ab00d21",
41
+ "@a5c-ai/agent-mux": "5.0.1-staging.04ca6ab00d21",
42
+ "@a5c-ai/babysitter-sdk": "5.0.1-staging.04ca6ab00d21"
43
+ },
44
+ "devDependencies": {
45
+ "@types/node": "^20.11.30",
46
+ "rimraf": "^6.1.3",
47
+ "typescript": "^5.4.2",
48
+ "vitest": "^4.0.18"
49
+ },
50
+ "repository": {
51
+ "type": "git",
52
+ "url": "git+https://github.com/a5c-ai/babysitter.git",
53
+ "directory": "packages/omni"
54
+ },
55
+ "homepage": "https://github.com/a5c-ai/babysitter/tree/main/packages/omni#readme",
56
+ "bugs": {
57
+ "url": "https://github.com/a5c-ai/babysitter/issues"
58
+ },
59
+ "keywords": [
60
+ "babysitter",
61
+ "omni",
62
+ "agent",
63
+ "orchestration",
64
+ "unified"
65
+ ],
66
+ "atlas": {
67
+ "layers": [
68
+ "L4",
69
+ "L5",
70
+ "L6"
71
+ ],
72
+ "muxes": []
73
+ }
74
+ }