@bahulam/code 2.6.11 → 2.6.12
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bahulam/code",
|
|
3
|
-
"version": "2.6.
|
|
3
|
+
"version": "2.6.12",
|
|
4
4
|
"description": "Bahulam Code \u2014 abundance, in your terminal. CLI-first, reliability-first, sub-agents, 65.6% SWE-bench Verified.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -49,8 +49,8 @@
|
|
|
49
49
|
"web-tree-sitter": "^0.26.9"
|
|
50
50
|
},
|
|
51
51
|
"optionalDependencies": {
|
|
52
|
-
"@bahulam/runtime-darwin-arm64": "2.6.
|
|
53
|
-
"@bahulam/runtime-linux-x64": "2.6.
|
|
54
|
-
"@bahulam/runtime-win32-x64": "2.6.
|
|
52
|
+
"@bahulam/runtime-darwin-arm64": "2.6.12",
|
|
53
|
+
"@bahulam/runtime-linux-x64": "2.6.12",
|
|
54
|
+
"@bahulam/runtime-win32-x64": "2.6.12"
|
|
55
55
|
}
|
|
56
56
|
}
|
|
@@ -231,6 +231,9 @@ export async function ensureRuntimeReady() {
|
|
|
231
231
|
env: {
|
|
232
232
|
...process.env,
|
|
233
233
|
BAHULAM_CLI_LOCAL: '1',
|
|
234
|
+
BAHULAM_PRODUCT: 'bahulam',
|
|
235
|
+
LLM_GATEWAY: 'BahulamGateway',
|
|
236
|
+
BAHULAM_GATEWAY_URL: process.env.BAHULAM_GATEWAY_URL || 'https://gateway.bahulam.ai/v1',
|
|
234
237
|
// Framework validates LICENSE_KEY against the license portal on import.
|
|
235
238
|
// The portal is now embedded inside the Bahulam Gateway itself
|
|
236
239
|
// (see codekepler-bahulam-gateway/app/main.py mount at /portal), so
|
|
@@ -117,7 +117,6 @@ export class TarangStreamClient {
|
|
|
117
117
|
toolExecutor,
|
|
118
118
|
verbose = false,
|
|
119
119
|
approvalManager = null,
|
|
120
|
-
product = null,
|
|
121
120
|
reconnectMaxElapsedMs = null,
|
|
122
121
|
mode = null,
|
|
123
122
|
}) {
|
|
@@ -126,7 +125,7 @@ export class TarangStreamClient {
|
|
|
126
125
|
this.toolExecutor = toolExecutor;
|
|
127
126
|
this.verbose = verbose;
|
|
128
127
|
this.approval = approvalManager || new ApprovalManager();
|
|
129
|
-
this.product =
|
|
128
|
+
this.product = 'bahulam';
|
|
130
129
|
this.currentTaskId = null;
|
|
131
130
|
this.lastEventId = null;
|
|
132
131
|
this.retryDelayMs = null;
|
|
@@ -148,9 +147,8 @@ export class TarangStreamClient {
|
|
|
148
147
|
// the Bahulam Gateway directly. Metering runs. THIS IS THE
|
|
149
148
|
// PUBLIC CLI DEFAULT.
|
|
150
149
|
// 'remote' → cloud backend runs the agent loop server-side.
|
|
151
|
-
// Backend
|
|
152
|
-
//
|
|
153
|
-
// jobs) that need a persistent host. Not for individual devs.
|
|
150
|
+
// Backend calls Bahulam Gateway with service-token attribution;
|
|
151
|
+
// metering still runs at the gateway boundary.
|
|
154
152
|
//
|
|
155
153
|
// Explicit opt precedence: constructor arg > env vars > sniff runtime
|
|
156
154
|
// package availability > default 'bundled'.
|
package/src/index.mjs
CHANGED
|
@@ -35,7 +35,7 @@ import { printBanner, printProjectInfo, printHints, printAuthStatus, printStyled
|
|
|
35
35
|
import { ContextRetriever } from './context/retriever.mjs';
|
|
36
36
|
import { loadSettings } from './config/settings.mjs';
|
|
37
37
|
|
|
38
|
-
const VERSION = '
|
|
38
|
+
const VERSION = '2.6.12';
|
|
39
39
|
|
|
40
40
|
// ── Arg Parsing (consolidated from index.mjs + cli-args.mjs) ──
|
|
41
41
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Prints a non-blocking summary of the runtime environment before the REPL
|
|
5
5
|
* starts so the user can see what is and is not aligned:
|
|
6
6
|
*
|
|
7
|
-
* 🔭 Bahulam Code
|
|
7
|
+
* 🔭 Bahulam Code v2.6.12 · initializing orbit
|
|
8
8
|
*
|
|
9
9
|
* [✓] Auth token
|
|
10
10
|
* [✓] OpenRouter key
|