agen-vektor 0.3.22 → 0.3.23

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.
@@ -59,16 +59,16 @@ function freeTierEnabled() {
59
59
  /** Provider id used in config.provider / providers map. */
60
60
  exports.FREE_PROVIDER_ID = 'vectorhead-free';
61
61
  /**
62
- * Default free model (cheap, gateway allowlist-friendly). 2026-09-07: BACK
63
- * to `glm-5.3-flash` — the gateway allowlist flipped back from the 7-model
64
- * Claude window to the api.b.ai set: live GET /v1/models now serves hy3,
65
- * glm-5.3-flash, qwen3.8-max, mimo-v2.5, so `claude-sonnet-4-6` (the
66
- * 2026-09-06-malam default) is the id that would 404 on fresh installs.
67
- * glm-5.3-flash verified live end-to-end via the relay (chat 200). History
68
- * of the same trap: `deepseek-ai/DeepSeek-V4-Flash` (first default), then
69
- * claude-sonnet-4-6, now glm-5.3-flash again.
62
+ * Default free model (cheap, gateway allowlist-friendly). 2026-09-13:
63
+ * `kilo-auto/free` — gateway di-cutover ke Kilo Code (sesi "pindahkan
64
+ * provider di dashboard admin pilih kilo code"); id lama `glm-5.3-flash`
65
+ * TIDAK ada di katalog Kilo → onboarding user baru 404 "model not found"
66
+ * (ketemu via smoke test 0.3.22). Router Kilo terverifikasi live end-to-end
67
+ * (chat 200, dijawab dots-3-note-preview:free). Riwayat trap yang sama:
68
+ * `deepseek-ai/DeepSeek-V4-Flash` → `claude-sonnet-4-6` → `glm-5.3-flash`
69
+ * (dua flip 2026-09-06/07) → sekarang kilo-auto/free.
70
70
  */
71
- exports.FREE_DEFAULT_MODEL = 'glm-5.3-flash';
71
+ exports.FREE_DEFAULT_MODEL = 'kilo-auto/free';
72
72
  /** The providers-map entry for the free tier (idempotent — same shape always). */
73
73
  function freeProviderDef() {
74
74
  // When a catalog has been fetched in this process, the gateway URL and
@@ -94,18 +94,21 @@ function freeProviderDef() {
94
94
  },
95
95
  model: exports.FREE_DEFAULT_MODEL,
96
96
  models: Object.keys(models).length > 0 ? models : {
97
- [exports.FREE_DEFAULT_MODEL]: { name: 'GLM 5.3 Flash (free)' },
97
+ [exports.FREE_DEFAULT_MODEL]: { name: 'Kilo Auto (free)' },
98
98
  },
99
99
  };
100
100
  }
101
101
  /**
102
102
  * Stale first-run defaults — migrated to FREE_DEFAULT_MODEL once on
103
103
  * ensureFreeProvider (only while the free provider is active). glm-5.3-flash
104
- * itself was legacy during the 2026-09-06 Claude window; since 2026-09-07 it
105
- * is the default again, so the stale set is the original deepseek default
106
- * plus that window's claude default (no longer in the gateway allowlist).
104
+ * jadi legacy 2026-09-13 (cutover Kilo — id tidak ada di katalog Kilo);
105
+ * deepseek default pertama; claude-sonnet-4-6 window 2026-09-06.
107
106
  */
108
- exports.FREE_LEGACY_MODELS = ['deepseek-ai/DeepSeek-V4-Flash', 'claude-sonnet-4-6'];
107
+ exports.FREE_LEGACY_MODELS = [
108
+ 'deepseek-ai/DeepSeek-V4-Flash',
109
+ 'claude-sonnet-4-6',
110
+ 'glm-5.3-flash',
111
+ ];
109
112
  /**
110
113
  * Ensure the free provider entry exists in the config's providers map
111
114
  * (create or repair — never touches unrelated providers). Also migrates an
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agen-vektor",
3
- "version": "0.3.22",
3
+ "version": "0.3.23",
4
4
  "description": "VectorHead (agen-vektor) — AI Coding Agent CLI/TUI for Linux & Termux. Multi-provider, tool calling, session, permission system.",
5
5
  "type": "commonjs",
6
6
  "bin": {