jerob 1.1.0 → 1.1.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.
Files changed (3) hide show
  1. package/LICENSE +21 -0
  2. package/bin/jerob.js +4 -8
  3. package/package.json +1 -1
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Abhishek Sharma
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/bin/jerob.js CHANGED
@@ -1,13 +1,9 @@
1
1
  #!/usr/bin/env node
2
-
3
2
  import { execFileSync } from "node:child_process";
4
- import path from "node:path";
3
+ import { fileURLToPath } from "node:url";
4
+ import { dirname, join } from "node:path";
5
5
 
6
- /**
7
- * npm entry point for jerob.
8
- * Requires Bun to be installed: https://bun.sh
9
- * Shells out to Bun so the TypeScript source runs natively.
10
- */
6
+ const __dirname = dirname(fileURLToPath(import.meta.url));
11
7
 
12
8
  // Check Bun is available
13
9
  try {
@@ -22,7 +18,7 @@ try {
22
18
  process.exit(1);
23
19
  }
24
20
 
25
- const entry = path.join(__dirname, "..", "index.ts");
21
+ const entry = join(__dirname, "..", "index.ts");
26
22
 
27
23
  execFileSync("bun", [entry, ...process.argv.slice(2)], {
28
24
  stdio: "inherit",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jerob",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "Personal AI agent CLI — autonomous code agent, planner, browser automation, Q&A, and serverless scheduler",
5
5
  "module": "index.ts",
6
6
  "private": false,