ouro.bot 0.0.1-alpha.0 → 0.1.0-alpha.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/index.js +16 -0
- package/package.json +6 -13
- package/README.md +0 -10
- package/bin/ouro.js +0 -15
package/index.js
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
// Thin wrapper: delegates to @ouro.bot/cli
|
|
3
|
+
const path = require("path");
|
|
4
|
+
const { execFileSync } = require("child_process");
|
|
5
|
+
const entry = path.join(
|
|
6
|
+
path.dirname(require.resolve("@ouro.bot/cli/package.json")),
|
|
7
|
+
"dist",
|
|
8
|
+
"heart",
|
|
9
|
+
"daemon",
|
|
10
|
+
"ouro-bot-entry.js"
|
|
11
|
+
);
|
|
12
|
+
try {
|
|
13
|
+
execFileSync("node", [entry, ...process.argv.slice(2)], { stdio: "inherit" });
|
|
14
|
+
} catch (err) {
|
|
15
|
+
process.exit(err.status || 1);
|
|
16
|
+
}
|
package/package.json
CHANGED
|
@@ -1,20 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ouro.bot",
|
|
3
|
-
"version": "0.0
|
|
4
|
-
"description": "
|
|
5
|
-
"license": "MIT",
|
|
3
|
+
"version": "0.1.0-alpha.1",
|
|
4
|
+
"description": "First-run wrapper for Ouroboros agent harness. Delegates to @ouro.bot/cli.",
|
|
6
5
|
"bin": {
|
|
7
|
-
"ouro": "
|
|
6
|
+
"ouro.bot": "index.js"
|
|
8
7
|
},
|
|
9
|
-
"files": [
|
|
10
|
-
"bin",
|
|
11
|
-
"README.md"
|
|
12
|
-
],
|
|
13
8
|
"dependencies": {
|
|
14
|
-
"@ouro.bot/cli": "0.0
|
|
9
|
+
"@ouro.bot/cli": "0.1.0-alpha.1"
|
|
15
10
|
},
|
|
16
|
-
"
|
|
17
|
-
|
|
18
|
-
"url": "https://github.com/arimendelow/ouroboros-agent-harness"
|
|
19
|
-
}
|
|
11
|
+
"keywords": ["ouroboros", "agent", "ai", "cli"],
|
|
12
|
+
"license": "MIT"
|
|
20
13
|
}
|
package/README.md
DELETED
package/bin/ouro.js
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
const { spawnSync } = require('node:child_process');
|
|
3
|
-
const path = require('node:path');
|
|
4
|
-
|
|
5
|
-
const cliPath = path.join(__dirname, '..', 'node_modules', '@ouro.bot', 'cli', 'bin', 'ouro.js');
|
|
6
|
-
const result = spawnSync(process.execPath, [cliPath, ...process.argv.slice(2)], {
|
|
7
|
-
stdio: 'inherit'
|
|
8
|
-
});
|
|
9
|
-
|
|
10
|
-
if (result.error) {
|
|
11
|
-
console.error(`Failed to launch @ouro.bot/cli: ${result.error.message}`);
|
|
12
|
-
process.exit(1);
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
process.exit(result.status == null ? 1 : result.status);
|