akm-cli 0.10.261123 → 0.10.261124
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 +6 -0
- package/dist/indexer/indexer.js +24 -18
- package/docs/maintainers/release-checklist.md +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
|
|
|
6
6
|
|
|
7
7
|
## [Unreleased]
|
|
8
8
|
|
|
9
|
+
## [0.10.261124] - 2026-11-14
|
|
10
|
+
|
|
11
|
+
### Fixed
|
|
12
|
+
|
|
13
|
+
- `akm show` beside a first `akm index` exited 70 (`no such table: entries`) when the build had created `index.db` but not its tables yet; the lookup now treats that like an index it cannot open and serves the asset from its file.
|
|
14
|
+
|
|
9
15
|
## [0.10.261123] - 2026-11-14
|
|
10
16
|
|
|
11
17
|
### Fixed
|
package/dist/indexer/indexer.js
CHANGED
|
@@ -1195,29 +1195,35 @@ borrowed = false) {
|
|
|
1195
1195
|
return resolved(null);
|
|
1196
1196
|
const { owner, source, bundleId, adapterId } = match;
|
|
1197
1197
|
const inputRef = makeBundleRef(qualified ? ref.bundle : undefined, owner.conceptId);
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
const
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1198
|
+
let entry;
|
|
1199
|
+
try {
|
|
1200
|
+
const id = db ? findEntryIdByRef(db, inputRef, bundleId) : undefined;
|
|
1201
|
+
entry = id !== undefined && db ? readLookupEntry(db, id, ref.conceptId, source.path) : undefined;
|
|
1202
|
+
}
|
|
1203
|
+
catch (error) {
|
|
1204
|
+
// An index a build is still creating or rewriting cannot answer; the owner's file can.
|
|
1205
|
+
indexError = error;
|
|
1206
|
+
return resolved(null, match);
|
|
1207
|
+
}
|
|
1208
|
+
if (entry) {
|
|
1209
|
+
if (owner.workflowSource) {
|
|
1210
|
+
try {
|
|
1211
|
+
assertIndexedWorkflowSourceIdentity(inputRef, entry.filePath, owner.workflowSource);
|
|
1212
|
+
if (entry.adapterId !== adapterId) {
|
|
1213
|
+
throw new WorkflowSourceIdentityError(inputRef, entry.filePath, owner.path);
|
|
1214
1214
|
}
|
|
1215
1215
|
}
|
|
1216
|
-
|
|
1216
|
+
catch (error) {
|
|
1217
|
+
if (!(error instanceof WorkflowSourceIdentityError))
|
|
1218
|
+
throw error;
|
|
1219
|
+
warn(`${error.message} Falling back to the physical owner.`);
|
|
1217
1220
|
return resolved(null, match);
|
|
1218
1221
|
}
|
|
1219
|
-
return resolved(entry, match);
|
|
1220
1222
|
}
|
|
1223
|
+
else if (entry.adapterId !== adapterId || !indexedPathMatchesOwner(entry.filePath, owner)) {
|
|
1224
|
+
return resolved(null, match);
|
|
1225
|
+
}
|
|
1226
|
+
return resolved(entry, match);
|
|
1221
1227
|
}
|
|
1222
1228
|
// A physical owner with a missing/incomplete index row still owns this
|
|
1223
1229
|
// concept: no later source can retarget it.
|
|
@@ -221,7 +221,7 @@ plan). Target branch `main`, enforcement active, no bypass list:
|
|
|
221
221
|
- Require status checks to pass, with "Require branches to be up to date
|
|
222
222
|
before merging" on. Require every check a release pull request reports: the
|
|
223
223
|
CI jobs (`check`, `release-branch-only`, `desktop`, and each `node-smoke`,
|
|
224
|
-
`desktop-package` and `upgrade-rehearsal` matrix entry) and the five Gated CI
|
|
224
|
+
`desktop-package` and `upgrade-rehearsal` matrix entry, `plugins-contract`) and the five Gated CI
|
|
225
225
|
jobs. GitHub lists them by name once the first release pull request has run.
|
|
226
226
|
|
|
227
227
|
Rulesets cannot restrict which branch a pull request comes from; the
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "akm-cli",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.261124",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "akm (Agent Knowledge Manager) — a portable, local-first capability library for AI agents. Discover, load, share, and improve reusable skills, scripts, workflows, and knowledge across any shell-capable coding agent, including Claude Code, OpenCode, and Cursor.",
|
|
6
6
|
"keywords": [
|