akm-opencode 0.9.14202609050148 → 0.9.15202609102133

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 (2) hide show
  1. package/dist/index.js +11 -3
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -2260,10 +2260,18 @@ ${hints}` : AKM_HINTS_PREFIX,
2260
2260
  !proposalSummary.unsupported && proposalSummary.count > 0 ? formatPendingProposalContext(proposalSummary.count) : ""
2261
2261
  ];
2262
2262
  const budgeted = applyContextBudget(blocks);
2263
- if (budgeted.length > 0)
2264
- output.system.push(budgeted.join(`
2263
+ if (budgeted.length > 0) {
2264
+ const block = budgeted.join(`
2265
2265
 
2266
- `));
2266
+ `);
2267
+ const last = output.system.length - 1;
2268
+ if (last >= 0)
2269
+ output.system[last] = `${output.system[last]}
2270
+
2271
+ ${block}`;
2272
+ else
2273
+ output.system.push(block);
2274
+ }
2267
2275
  } catch (error) {
2268
2276
  await logHookFailure(logClient, "experimental.chat.system.transform", error);
2269
2277
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "akm-opencode",
3
- "version": "0.9.14202609050148",
3
+ "version": "0.9.15202609102133",
4
4
  "type": "module",
5
5
  "description": "OpenCode plugin for AKM 0.9 with in-process search, show, and curate tools plus feedback and remember.",
6
6
  "keywords": [
@@ -38,7 +38,7 @@
38
38
  },
39
39
  "dependencies": {
40
40
  "@opencode-ai/plugin": "^1.18.14",
41
- "akm-cli": "0.9.14"
41
+ "akm-cli": "0.9.15"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@types/node": "^26.1.1",