agentlas 0.9.9 → 0.9.10

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/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.9.10 — 2026-07-26
4
+
5
+ - `agentlas context refresh|refs|slice|impact|verify` now invokes the installed
6
+ Agentlas Core module directly. Context commands no longer fall through the
7
+ natural-language Hephaestus command route.
8
+ - Context Slice generation refreshes the project fingerprint before each
9
+ concrete Terminal task, so a long-running Terminal session sees newly added
10
+ or changed CommonJS, ESM, TypeScript, and JavaScript files.
11
+ - Release validation pins Agentlas Core v1.1.67 commit
12
+ `04258b7541f604479dc04279146a506e363ad85e`, including Code Map v2 backlinks,
13
+ functional Sitemap dependencies, and fail-closed impact verification.
14
+
3
15
  ## 0.9.9 — 2026-07-26
4
16
 
5
17
  - In an explicitly initialized project, ordinary runs, firms, Stormbreaker, and
package/README.md CHANGED
@@ -17,10 +17,9 @@ Claude Code style, standalone: **no desktop app required.**
17
17
  Agentlas Terminal is the already-shipped independent terminal product. It is
18
18
  not a Desktop `cli/` mirror and does not require the Desktop app to run.
19
19
 
20
- > **Current source release candidate (2026-07-16):** `v0.9.1`. The source commit
21
- > does not prove a GitHub release or npm publication. After the immutable tag
22
- > and release gates pass, verify the independently published npm version with
23
- > `npm view agentlas version` before installation.
20
+ > **Current source release candidate (2026-07-26):** `v0.9.10`. A source commit
21
+ > does not prove npm publication. Verify the independently published package
22
+ > before installation with `npm view agentlas version`.
24
23
 
25
24
  Release tags are published to npm through the repository's OIDC trusted
26
25
  publisher workflow. The workflow accepts only an exact immutable `vX.Y.Z` tag,
@@ -35,7 +35,11 @@ const desktopOntologyLoadout = require("./agentlas-desktop-loadout.cjs");
35
35
  const workloadRouting = require("./agentlas-workload-routing.cjs");
36
36
  const terminalExperienceIntake = require("./agentlas-experience-intake.cjs");
37
37
  const terminalMemoryGovernance = require("./agentlas-memory-governance.cjs");
38
- const { captureCoreJsonSync, resolveCoreRuntimeRoot } = require("./agentlas-core-harness.cjs");
38
+ const {
39
+ captureCoreJsonSync,
40
+ resolveCoreRuntimeRoot,
41
+ spawnCoreModule,
42
+ } = require("./agentlas-core-harness.cjs");
39
43
 
40
44
  // ── 앱과 동일한 userData 경로 (electron app.getPath('userData')와 일치) ──
41
45
  function userDataDir() {
@@ -8337,6 +8341,7 @@ function ensureTerminalProjectForExecutionCli(db, projectPath, permission = PERM
8337
8341
 
8338
8342
  function cliProjectContextSlice(projectPath, task) {
8339
8343
  if (!projectPath || !String(task || "").trim()) return "";
8344
+ if (!fs.existsSync(path.join(projectPath, ".agentlas"))) return "";
8340
8345
  try {
8341
8346
  const coreRoot = resolveCoreRuntimeRoot();
8342
8347
  if (!coreRoot) return "";
@@ -8346,7 +8351,6 @@ function cliProjectContextSlice(projectPath, task) {
8346
8351
  "context", "slice",
8347
8352
  "--project", projectPath,
8348
8353
  "--task-stdin",
8349
- "--no-refresh",
8350
8354
  "--render",
8351
8355
  ],
8352
8356
  {
@@ -8366,6 +8370,33 @@ function cliProjectContextSlice(projectPath, task) {
8366
8370
  }
8367
8371
  }
8368
8372
 
8373
+ function cliProjectContextCommand(projectPath, args) {
8374
+ const coreRoot = resolveCoreRuntimeRoot();
8375
+ const child = spawnCoreModule(
8376
+ "agentlas_cloud",
8377
+ ["context", ...args],
8378
+ { cwd: projectPath, stdio: "inherit" },
8379
+ coreRoot,
8380
+ );
8381
+ if (!child) {
8382
+ process.stderr.write("Agentlas Context Map requires the installed Agentlas Core runtime and Python 3.9+.\n");
8383
+ process.exitCode = 1;
8384
+ return Promise.resolve(1);
8385
+ }
8386
+ return new Promise((resolve) => {
8387
+ child.on("error", (error) => {
8388
+ process.stderr.write(`Agentlas Context Map failed: ${error.message}\n`);
8389
+ process.exitCode = 1;
8390
+ resolve(1);
8391
+ });
8392
+ child.on("close", (code) => {
8393
+ const status = code == null ? 1 : code;
8394
+ if (status !== 0) process.exitCode = status;
8395
+ resolve(status);
8396
+ });
8397
+ });
8398
+ }
8399
+
8369
8400
  function cliMemoryContext(db, projectPath, agentId = null, task = "") {
8370
8401
  const sections = [];
8371
8402
  const arch = loadArch();
@@ -12105,9 +12136,9 @@ async function main() {
12105
12136
  ensureTerminalProjectForExecutionCli(db, cwd, PERMISSION, "terminal-context");
12106
12137
  const contextArgs = rest.slice(1);
12107
12138
  const hasProject = contextArgs.includes("--project");
12108
- return parity().cmdHep(
12109
- db,
12110
- ["context", ...contextArgs, ...(hasProject ? [] : ["--project", cwd])],
12139
+ return cliProjectContextCommand(
12140
+ cwd,
12141
+ [...contextArgs, ...(hasProject ? [] : ["--project", cwd])],
12111
12142
  );
12112
12143
  }
12113
12144
  case "evolve":
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agentlas",
3
- "version": "0.9.9",
3
+ "version": "0.9.10",
4
4
  "description": "Agentlas agent terminal — chat with your installed AI agents and teams from the terminal, Claude Code style. Standalone: no desktop app required.",
5
5
  "bin": {
6
6
  "agentlas": "bin/agentlas.cjs"