@8gi-foundation/8gent-code 0.11.0 → 0.12.0

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/README.md +1 -1
  2. package/dist/cli.js +18 -17
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -20,7 +20,7 @@
20
20
 
21
21
  <p align="center">
22
22
  <a href="https://www.apache.org/licenses/LICENSE-2.0"><img src="https://img.shields.io/badge/License-Apache_2.0-E8610A?style=for-the-badge&labelColor=1A1612" alt="Apache 2.0 License" /></a>
23
- <a href="https://8gent.dev"><img src="https://img.shields.io/badge/version-0.11.0-2D8A56?style=for-the-badge&labelColor=1A1612" alt="v0.11.0" /></a>
23
+ <a href="https://8gent.dev"><img src="https://img.shields.io/badge/version-0.12.0-2D8A56?style=for-the-badge&labelColor=1A1612" alt="v0.12.0" /></a>
24
24
  <a href="https://eight-vessel.fly.dev"><img src="https://img.shields.io/badge/daemon-Fly.io_Amsterdam-E8610A?style=for-the-badge&labelColor=1A1612" alt="Daemon" /></a>
25
25
  </p>
26
26
 
package/dist/cli.js CHANGED
@@ -520568,7 +520568,6 @@ class Agent {
520568
520568
  evidenceCollector;
520569
520569
  sessionEvidence = [];
520570
520570
  proactiveGatherer = null;
520571
- workflowValidator;
520572
520571
  kanban = getKanbanBoard();
520573
520572
  currentBmadTask = null;
520574
520573
  heartbeat;
@@ -520589,6 +520588,7 @@ class Agent {
520589
520588
  this.hookManager = getHookManager();
520590
520589
  this.sessionId = `session_${Date.now()}_${Math.random().toString(36).slice(2, 8)}`;
520591
520590
  this.sessionStartTime = Date.now();
520591
+ const LITE = process.env["8GENT_LITE"] === "0" || process.env["8GENT_FULL"] === "1" ? false : true;
520592
520592
  this.hookManager.setWorkingDirectory(config2.workingDirectory || process.cwd());
520593
520593
  setToolContext({
520594
520594
  workingDirectory: config2.workingDirectory || process.cwd()
@@ -520596,20 +520596,15 @@ class Agent {
520596
520596
  this.toolRegistry = new ToolRegistry(config2.allTools ?? false);
520597
520597
  this.compaction = new ProactiveCompression;
520598
520598
  const cwd = config2.workingDirectory || process.cwd();
520599
- indexFolder(cwd).then((index2) => {
520600
- console.log(`[AST] Indexed ${index2.fileCount} files, ${index2.symbolCount} symbols`);
520601
- }).catch(() => {});
520599
+ if (!LITE) {
520600
+ indexFolder(cwd).then((index2) => {
520601
+ console.log(`[AST] Indexed ${index2.fileCount} files, ${index2.symbolCount} symbols`);
520602
+ }).catch(() => {});
520603
+ }
520602
520604
  this.planner = getProactivePlanner();
520603
520605
  this.evidenceCollector = new EvidenceCollector({
520604
520606
  workingDirectory: config2.workingDirectory || process.cwd()
520605
520607
  });
520606
- this.workflowValidator = new PlanValidateLoop({
520607
- workingDirectory: config2.workingDirectory || process.cwd(),
520608
- maxRetries: 2,
520609
- validateEachStep: true,
520610
- collectEvidence: true,
520611
- abortOnFailure: false
520612
- });
520613
520608
  this.onboarding = new OnboardingManager(config2.workingDirectory || process.cwd());
520614
520609
  if (this.onboarding.needsOnboarding()) {
520615
520610
  this.onboarding.detectIntegrations().catch(() => {});
@@ -520682,11 +520677,15 @@ ${buildToolCatalogSegment({ concise: true })}`;
520682
520677
  agent: agentInfo,
520683
520678
  environment: env
520684
520679
  });
520685
- const syncEnabled = this._readSyncToConvex();
520680
+ const syncEnabled = LITE ? false : this._readSyncToConvex();
520686
520681
  this.sessionSync = new SessionSyncManager(syncEnabled);
520687
- this.sessionSync.startSession(config2.model, config2.runtime, config2.workingDirectory).catch(() => {});
520682
+ if (!LITE && syncEnabled) {
520683
+ this.sessionSync.startSession(config2.model, config2.runtime, config2.workingDirectory).catch(() => {});
520684
+ }
520688
520685
  this.kernel = KernelManager.fromProjectConfig(config2.workingDirectory || process.cwd());
520689
- this.kernel.start().catch(() => {});
520686
+ if (!LITE) {
520687
+ this.kernel.start().catch(() => {});
520688
+ }
520690
520689
  this.orchestratorBus = getOrchestratorBus();
520691
520690
  import("child_process").then(({ exec: exec4 }) => {
520692
520691
  exec4("git rev-parse --abbrev-ref HEAD", { cwd, timeout: 2000 }, (err, stdout) => {
@@ -520712,8 +520711,10 @@ ${buildToolCatalogSegment({ concise: true })}`;
520712
520711
  workingDirectory: config2.workingDirectory || process.cwd(),
520713
520712
  verbose: false
520714
520713
  });
520715
- this.heartbeat.start();
520716
- this.heartbeat.updateContext({ currentTask: "Agent initialized" });
520714
+ if (!LITE) {
520715
+ this.heartbeat.start();
520716
+ this.heartbeat.updateContext({ currentTask: "Agent initialized" });
520717
+ }
520717
520718
  const vault = getVault();
520718
520719
  if (vault.has("TELEGRAM_BOT_TOKEN") && !getActiveTelegramBot()) {
520719
520720
  const telegramToken = vault.get("TELEGRAM_BOT_TOKEN");
@@ -526222,7 +526223,7 @@ If no issues, say "No issues found." No preamble.`;
526222
526223
  import * as fs54 from "fs";
526223
526224
  import * as path54 from "path";
526224
526225
  var __dirname = "/Users/jamesspalding/8gent-code/bin";
526225
- var VERSION5 = "0.11.0";
526226
+ var VERSION5 = "0.12.0";
526226
526227
  var BANNER = `
526227
526228
  \u2554\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2557
526228
526229
  \u2551 \u2551
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@8gi-foundation/8gent-code",
3
- "version": "0.11.0",
3
+ "version": "0.12.0",
4
4
  "private": false,
5
5
  "description": "Autonomous coding agent. Runs locally on Ollama. Zero API cost. Your code stays on your machine. Open source.",
6
6
  "type": "module",