@kernel.chat/kbot 3.48.0 → 3.49.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/dist/tools/index.d.ts.map +1 -1
- package/dist/tools/index.js +1 -0
- package/dist/tools/index.js.map +1 -1
- package/dist/tools/lab-frontier.d.ts +2 -0
- package/dist/tools/lab-frontier.d.ts.map +1 -0
- package/dist/tools/lab-frontier.js +926 -0
- package/dist/tools/lab-frontier.js.map +1 -0
- package/dist/tools/lab-physics.d.ts.map +1 -1
- package/dist/tools/lab-physics.js +2 -1
- package/dist/tools/lab-physics.js.map +1 -1
- package/package.json +1 -1
- package/dist/tools/image-variation.d.ts +0 -2
- package/dist/tools/image-variation.d.ts.map +0 -1
- package/dist/tools/image-variation.js +0 -30
- package/dist/tools/image-variation.js.map +0 -1
- package/dist/tools/summarize.d.ts +0 -2
- package/dist/tools/summarize.d.ts.map +0 -1
- package/dist/tools/summarize.js +0 -28
- package/dist/tools/summarize.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kernel.chat/kbot",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.49.0",
|
|
4
4
|
"description": "The only AI agent that builds its own tools — and defends itself. NEW: Autonomous Security Hunter (security_hunt) — chains 9 security tools into a single pentest sweep with scoring, CVE enrichment, and auto-remediation. Self-Defense System: HMAC memory integrity, prompt injection detection, knowledge sanitization, forge verification, anomaly detection, incident logging. Cybersecurity tools: dep_audit, secret_scan, ssl_check, headers_check, cve_lookup, port_scan, owasp_check, supply_chain_audit, checksum_verify, security_hunt. Machine-aware situated intelligence: full hardware profiling (CPU, GPU, RAM, display, battery, dev tools), resource-adaptive tool pipeline, memory-pressure throttling, GPU-accelerated model routing. Multi-channel cognitive engine: email agent, iMessage agent, consultation pipeline, Trader agent with paper trading & DeFi, 32 specialist agents, 540+ tools, 20 providers. Finance stack: 31 tools across market data, wallet & swaps, stocks, and sentiment. Synthesis Engine: closed-loop intelligence compounding. Runtime tool forging, Forge Registry, autopoietic health, immune self-audit. Cost-aware model routing, fallback chains, Bayesian skill routing. 11 local models (Llama 3.3, Qwen 3, DeepSeek R1, Codestral 22B). Embedded llama.cpp, MCP server, SDK. MIT.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": {
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"image-variation.d.ts","sourceRoot":"","sources":["../../src/tools/image-variation.ts"],"names":[],"mappings":"AAIA,wBAAgB,2BAA2B,IAAI,IAAI,CA8BlD"}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
// kbot Image Variation Tool — Generative AI image modification
|
|
2
|
-
import { registerTool } from './index.js';
|
|
3
|
-
export function registerImageVariationTools() {
|
|
4
|
-
registerTool({
|
|
5
|
-
name: 'image_variation',
|
|
6
|
-
description: 'Generate variations of an image using a generative AI model. Provide an image URL and a prompt describing the desired variation.',
|
|
7
|
-
parameters: {
|
|
8
|
-
image_url: { type: 'string', description: 'URL of the image to vary', required: true },
|
|
9
|
-
prompt: { type: 'string', description: 'Prompt describing the desired variation', required: true },
|
|
10
|
-
},
|
|
11
|
-
tier: 'pro',
|
|
12
|
-
async execute(args) {
|
|
13
|
-
const imageUrl = String(args.image_url);
|
|
14
|
-
const prompt = String(args.prompt);
|
|
15
|
-
// Placeholder for API call to image variation service
|
|
16
|
-
// Replace with actual API integration
|
|
17
|
-
const variationUrl = `https://api.example.com/image-variation?image_url=${encodeURIComponent(imageUrl)}&prompt=${encodeURIComponent(prompt)}`;
|
|
18
|
-
const res = await fetch(variationUrl, {
|
|
19
|
-
headers: { 'User-Agent': 'KBot/2.0 (Image Variation)' },
|
|
20
|
-
signal: AbortSignal.timeout(10000),
|
|
21
|
-
});
|
|
22
|
-
if (!res.ok) {
|
|
23
|
-
return `Error: Image variation failed - ${res.status} ${res.statusText}`;
|
|
24
|
-
}
|
|
25
|
-
const data = await res.json();
|
|
26
|
-
return data.variation_url;
|
|
27
|
-
},
|
|
28
|
-
});
|
|
29
|
-
}
|
|
30
|
-
//# sourceMappingURL=image-variation.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"image-variation.js","sourceRoot":"","sources":["../../src/tools/image-variation.ts"],"names":[],"mappings":"AAAA,+DAA+D;AAE/D,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAA;AAEzC,MAAM,UAAU,2BAA2B;IACzC,YAAY,CAAC;QACX,IAAI,EAAE,iBAAiB;QACvB,WAAW,EAAE,kIAAkI;QAC/I,UAAU,EAAE;YACV,SAAS,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,0BAA0B,EAAE,QAAQ,EAAE,IAAI,EAAE;YACtF,MAAM,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,yCAAyC,EAAE,QAAQ,EAAE,IAAI,EAAE;SACnG;QACD,IAAI,EAAE,KAAK;QACX,KAAK,CAAC,OAAO,CAAC,IAAI;YAChB,MAAM,QAAQ,GAAG,MAAM,CAAC,IAAI,CAAC,SAAS,CAAC,CAAA;YACvC,MAAM,MAAM,GAAG,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAA;YAElC,sDAAsD;YACtD,sCAAsC;YACtC,MAAM,YAAY,GAAG,qDAAqD,kBAAkB,CAAC,QAAQ,CAAC,WAAW,kBAAkB,CAAC,MAAM,CAAC,EAAE,CAAA;YAE7I,MAAM,GAAG,GAAG,MAAM,KAAK,CAAC,YAAY,EAAE;gBACpC,OAAO,EAAE,EAAE,YAAY,EAAE,4BAA4B,EAAE;gBACvD,MAAM,EAAE,WAAW,CAAC,OAAO,CAAC,KAAK,CAAC;aACnC,CAAC,CAAA;YAEF,IAAI,CAAC,GAAG,CAAC,EAAE,EAAE,CAAC;gBACZ,OAAO,mCAAmC,GAAG,CAAC,MAAM,IAAI,GAAG,CAAC,UAAU,EAAE,CAAA;YAC1E,CAAC;YAED,MAAM,IAAI,GAAG,MAAM,GAAG,CAAC,IAAI,EAAE,CAAA;YAC7B,OAAO,IAAI,CAAC,aAAa,CAAA;QAC3B,CAAC;KACF,CAAC,CAAA;AACJ,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"summarize.d.ts","sourceRoot":"","sources":["../../src/tools/summarize.ts"],"names":[],"mappings":"AAKA,wBAAgB,sBAAsB,IAAI,IAAI,CAyB7C"}
|
package/dist/tools/summarize.js
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
// kbot Summarization Tool — Text condensation
|
|
2
|
-
// Condenses long text inputs into shorter, more manageable summaries.
|
|
3
|
-
import { registerTool } from './index.js';
|
|
4
|
-
export function registerSummarizeTools() {
|
|
5
|
-
registerTool({
|
|
6
|
-
name: 'summarize',
|
|
7
|
-
description: 'Summarizes long text inputs into shorter, more manageable summaries.',
|
|
8
|
-
parameters: {
|
|
9
|
-
text: { type: 'string', description: 'The text to summarize', required: true },
|
|
10
|
-
length: { type: 'string', description: 'Desired summary length (short, medium, long)', required: false, default: 'medium' },
|
|
11
|
-
},
|
|
12
|
-
tier: 'free',
|
|
13
|
-
async execute(args) {
|
|
14
|
-
const text = String(args.text);
|
|
15
|
-
const length = String(args.length) || 'medium';
|
|
16
|
-
// Placeholder for summarization logic. Replace with actual implementation.
|
|
17
|
-
let summary = 'This is a placeholder summary.';
|
|
18
|
-
if (length === 'short') {
|
|
19
|
-
summary = 'A very short summary.';
|
|
20
|
-
}
|
|
21
|
-
else if (length === 'long') {
|
|
22
|
-
summary = 'A very long summary.';
|
|
23
|
-
}
|
|
24
|
-
return summary;
|
|
25
|
-
},
|
|
26
|
-
});
|
|
27
|
-
}
|
|
28
|
-
//# sourceMappingURL=summarize.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"summarize.js","sourceRoot":"","sources":["../../src/tools/summarize.ts"],"names":[],"mappings":"AAAA,8CAA8C;AAC9C,sEAAsE;AAEtE,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAA;AAEzC,MAAM,UAAU,sBAAsB;IACpC,YAAY,CAAC;QACX,IAAI,EAAE,WAAW;QACjB,WAAW,EAAE,sEAAsE;QACnF,UAAU,EAAE;YACV,IAAI,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,uBAAuB,EAAE,QAAQ,EAAE,IAAI,EAAE;YAC9E,MAAM,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,8CAA8C,EAAE,QAAQ,EAAE,KAAK,EAAE,OAAO,EAAE,QAAQ,EAAE;SAC5H;QACD,IAAI,EAAE,MAAM;QACZ,KAAK,CAAC,OAAO,CAAC,IAAI;YAChB,MAAM,IAAI,GAAG,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;YAC9B,MAAM,MAAM,GAAG,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,QAAQ,CAAA;YAE9C,2EAA2E;YAC3E,IAAI,OAAO,GAAG,gCAAgC,CAAA;YAE9C,IAAI,MAAM,KAAK,OAAO,EAAE,CAAC;gBACvB,OAAO,GAAG,uBAAuB,CAAA;YACnC,CAAC;iBAAM,IAAI,MAAM,KAAK,MAAM,EAAE,CAAC;gBAC7B,OAAO,GAAG,sBAAsB,CAAA;YAClC,CAAC;YAED,OAAO,OAAO,CAAA;QAChB,CAAC;KACF,CAAC,CAAA;AACJ,CAAC"}
|