@link-assistant/agent 0.20.2 → 0.21.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@link-assistant/agent",
3
- "version": "0.20.2",
3
+ "version": "0.21.0",
4
4
  "description": "A minimal, public domain AI CLI agent compatible with OpenCode's JSON interface. Bun-only runtime.",
5
5
  "main": "src/index.js",
6
6
  "type": "module",
package/src/cli/argv.ts CHANGED
@@ -105,7 +105,7 @@ export function getCompactionSafetyMarginFromProcessArgv(): string | null {
105
105
  /**
106
106
  * Extract --compaction-models argument directly from process.argv
107
107
  * The value is a links notation references sequence, e.g.:
108
- * "(big-pickle nemotron-3-super-free minimax-m2.5-free gpt-5-nano qwen3.6-plus-free same)"
108
+ * "(big-pickle minimax-m2.5-free nemotron-3-super-free gpt-5-nano same)"
109
109
  * @returns The compaction models argument from CLI or null if not found
110
110
  * @see https://github.com/link-assistant/agent/issues/232
111
111
  */
@@ -6,7 +6,7 @@
6
6
  */
7
7
 
8
8
  /** Default model used when no `--model` CLI argument is provided. */
9
- export const DEFAULT_MODEL = 'opencode/qwen3.6-plus-free';
9
+ export const DEFAULT_MODEL = 'opencode/nemotron-3-super-free';
10
10
 
11
11
  /** Default provider ID extracted from DEFAULT_MODEL. */
12
12
  export const DEFAULT_PROVIDER_ID = DEFAULT_MODEL.split('/')[0];
@@ -31,20 +31,21 @@ export const DEFAULT_COMPACTION_MODEL = 'opencode/gpt-5-nano';
31
31
  * The special value "same" means use the same model as `--model`.
32
32
  *
33
33
  * Parsed as links notation references sequence (single anonymous link):
34
- * "(big-pickle nemotron-3-super-free minimax-m2.5-free gpt-5-nano qwen3.6-plus-free same)"
34
+ * "(big-pickle minimax-m2.5-free nemotron-3-super-free gpt-5-nano same)"
35
35
  *
36
36
  * Context limits (approximate):
37
37
  * big-pickle: ~200K
38
- * nemotron-3-super-free: ~262K
39
38
  * minimax-m2.5-free: ~200K
39
+ * nemotron-3-super-free: ~262K (default model)
40
40
  * gpt-5-nano: ~400K
41
- * qwen3.6-plus-free: ~1M
42
41
  * same: (base model's context)
43
42
  *
43
+ * Note: qwen3.6-plus-free was removed — free promotion ended April 2026.
44
+ * @see https://github.com/link-assistant/agent/issues/242
44
45
  * @see https://github.com/link-assistant/agent/issues/232
45
46
  */
46
47
  export const DEFAULT_COMPACTION_MODELS =
47
- '(big-pickle nemotron-3-super-free minimax-m2.5-free gpt-5-nano qwen3.6-plus-free same)';
48
+ '(big-pickle minimax-m2.5-free nemotron-3-super-free gpt-5-nano same)';
48
49
 
49
50
  /**
50
51
  * Default compaction safety margin as a percentage of usable context window.
@@ -1749,10 +1749,9 @@ export namespace Provider {
1749
1749
  }
1750
1750
  if (providerID === 'opencode' || providerID === 'local') {
1751
1751
  priority = [
1752
- 'qwen3.6-plus-free',
1752
+ 'nemotron-3-super-free',
1753
1753
  'minimax-m2.5-free',
1754
1754
  'gpt-5-nano',
1755
- 'nemotron-3-super-free',
1756
1755
  'big-pickle',
1757
1756
  ];
1758
1757
  }
@@ -1781,9 +1780,8 @@ export namespace Provider {
1781
1780
  }
1782
1781
 
1783
1782
  const priority = [
1784
- 'qwen3.6-plus-free',
1785
- 'glm-5-free',
1786
1783
  'nemotron-3-super-free',
1784
+ 'glm-5-free',
1787
1785
  'minimax-m2.5-free',
1788
1786
  'gpt-5-nano',
1789
1787
  'big-pickle',
@@ -1866,7 +1864,7 @@ export namespace Provider {
1866
1864
  * 1. If model is uniquely available in one provider, use that provider
1867
1865
  * 2. If model is available in multiple providers, prioritize based on free model availability:
1868
1866
  * - kilo: glm-5-free, glm-4.5-air-free, minimax-m2.5-free, giga-potato-free, deepseek-r1-free (unique to Kilo)
1869
- * - opencode: big-pickle, gpt-5-nano, qwen3.6-plus-free, nemotron-3-super-free (unique to OpenCode)
1867
+ * - opencode: big-pickle, gpt-5-nano, nemotron-3-super-free (unique to OpenCode)
1870
1868
  * 3. For shared models, prefer OpenCode first, then fall back to Kilo on rate limit
1871
1869
  *
1872
1870
  * @param modelID - Short model name without provider prefix