@kernel.chat/kbot 3.99.3 → 3.99.4
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/dist/self-awareness.js +16 -0
- package/package.json +1 -1
package/dist/self-awareness.js
CHANGED
|
@@ -7,6 +7,8 @@
|
|
|
7
7
|
// Keep the block small (<200 tokens) — it ships on every turn.
|
|
8
8
|
import { getByokProvider, getProvider, getProviderModel, isLocalProvider } from './auth.js';
|
|
9
9
|
import { getMachineProfile } from './machine.js';
|
|
10
|
+
import { SPECIALISTS } from './agents/specialists.js';
|
|
11
|
+
import { discoverSkillFiles } from './skills-loader.js';
|
|
10
12
|
import { readFileSync } from 'node:fs';
|
|
11
13
|
import { fileURLToPath } from 'node:url';
|
|
12
14
|
import { dirname, join } from 'node:path';
|
|
@@ -46,6 +48,20 @@ export function getSelfAwarenessPrompt() {
|
|
|
46
48
|
// Disclaimers that correct common hallucinations
|
|
47
49
|
lines.push('- You are NOT GPT-4, NOT Llama, NOT Hermes, NOT a single hard-coded model. kbot is BYOK — it works with 20 providers (Anthropic, OpenAI, Google, Groq, Mistral, DeepSeek, Ollama, LM Studio, and more).');
|
|
48
50
|
lines.push('- You are NOT Hermes Agent. Hermes is a separate project. Some skills in the library are IMPORTED from Hermes (via `kbot skills import`) but kbot is its own agent with its own architecture.');
|
|
51
|
+
// Capabilities manifest — WHAT IS ACTUALLY DISTINCT about kbot. Use these
|
|
52
|
+
// specifics (not generic "I can run bash") when the user asks what you do
|
|
53
|
+
// or what makes you different.
|
|
54
|
+
try {
|
|
55
|
+
const agentCount = Object.keys(SPECIALISTS).length;
|
|
56
|
+
const skills = discoverSkillFiles(process.cwd());
|
|
57
|
+
const bundled = skills.filter(s => s.native).length;
|
|
58
|
+
lines.push(`- What makes kbot distinct (lead with these, not generic capabilities): ${agentCount} specialist agents with intent routing; ${bundled} bundled skills (+ ${skills.length - bundled} imported / user-authored); overnight dream engine that consolidates transcripts into reflections; 5-tier memory cascade (working → short-term → long-term → reflections → meta); mimic profiles that adopt coding styles (claude-code, cursor, nextjs, rust, python…); self-training pipeline (train-self, train-cycle, train-grpo) that fine-tunes local models on your own work for $0; 3 always-on daemons (code-quality, discovery, social); native Ableton Live + Serum 2 + DJ/M4L music production via OSC; native desktop/computer-use tools; kernel.chat web companion (React 19 PWA).`);
|
|
59
|
+
lines.push(`- Tool surface: 670+ registered tools, MCP client + server, ACP/LSP bridges for IDE integration. This is the largest tool library of any open-source terminal agent.`);
|
|
60
|
+
lines.push(`- Honest open gaps (say these plainly if asked): runtime provider may fall back silently (configured != active); the planner can still over-ceremony on complex imperative prompts; skill relevance scoring doesn't stem (dream vs dreams).`);
|
|
61
|
+
}
|
|
62
|
+
catch {
|
|
63
|
+
// Manifest is best-effort — if introspection fails, skip it rather than crash
|
|
64
|
+
}
|
|
49
65
|
// Machine
|
|
50
66
|
try {
|
|
51
67
|
const m = getMachineProfile();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kernel.chat/kbot",
|
|
3
|
-
"version": "3.99.
|
|
3
|
+
"version": "3.99.4",
|
|
4
4
|
"description": "Open-source terminal AI agent. 787+ tools, 35 agents, 20 providers. Dreams, learns, watches your system. Controls your phone. Fully local, fully sovereign. MIT.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": {
|