@majkapp/plugin-kit 3.7.10 → 3.7.11
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/generator/cli.js +1 -1
- package/docs/KNOWLEDGE.md +12 -4
- package/package.json +1 -1
package/dist/generator/cli.js
CHANGED
|
@@ -79,7 +79,7 @@ if (!isHelpRequest) {
|
|
|
79
79
|
// Normal commander behavior (generator commands)
|
|
80
80
|
commander_1.program
|
|
81
81
|
.name('plugin-kit')
|
|
82
|
-
.version('3.7.
|
|
82
|
+
.version('3.7.11')
|
|
83
83
|
.description('Plugin Kit CLI - Generate TypeScript clients from plugin definitions');
|
|
84
84
|
commander_1.program
|
|
85
85
|
.command('generate')
|
package/docs/KNOWLEDGE.md
CHANGED
|
@@ -1,8 +1,16 @@
|
|
|
1
1
|
# Knowledge API
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
MAJK provides two knowledge systems:
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
1. **Knowledge Fabric** (Recommended) - Unified semantic search across all system knowledge with vector embeddings. Use this for searching, browsing, and contributing plugin knowledge.
|
|
6
|
+
|
|
7
|
+
2. **Legacy Knowledge Trees** - Conversation-scoped knowledge trees. Still available but deprecated in favor of the Fabric.
|
|
8
|
+
|
|
9
|
+
**Start with the Knowledge Fabric** - it's more powerful, searches across everything, and supports plugin contributions.
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
## Quick Start (Knowledge Fabric)
|
|
6
14
|
|
|
7
15
|
```typescript
|
|
8
16
|
handler: async (input, ctx) => {
|
|
@@ -426,9 +434,9 @@ Use the default `/plugins/{pluginId}/...` prefix or choose a custom unreserved p
|
|
|
426
434
|
|
|
427
435
|
---
|
|
428
436
|
|
|
429
|
-
## Legacy API (Deprecated)
|
|
437
|
+
## Legacy Knowledge Trees API (Deprecated)
|
|
430
438
|
|
|
431
|
-
> **Note:** The following methods are deprecated. Use `ctx.majk.knowledge.fabric`
|
|
439
|
+
> **Note:** The following methods work with conversation-scoped knowledge trees. They are deprecated in favor of the Knowledge Fabric which provides unified search across all knowledge. Use `ctx.majk.knowledge.fabric` for new development.
|
|
432
440
|
|
|
433
441
|
### add(input) [DEPRECATED]
|
|
434
442
|
|
package/package.json
CHANGED