dsh-plugin-agent-memory 0.1.0 → 0.1.2

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.
Files changed (3) hide show
  1. package/README.md +8 -4
  2. package/client.js +3 -1
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -15,16 +15,20 @@ step as an `<agent-memory>` block, so the model sees them without any tool call.
15
15
 
16
16
  ## Install
17
17
 
18
- The package is not on npm yet, so install the prebuilt release asset:
18
+ ```bash
19
+ dsh plugin --profile <profile> add dsh-plugin-agent-memory
20
+ ```
21
+
22
+ It is listed on the [DSH plugin market](https://awesome-dsh-plugin.com/) too. Without npm access,
23
+ install the prebuilt release asset or the checked-out source:
19
24
 
20
25
  ```bash
21
26
  dsh plugin --profile <profile> add \
22
27
  https://github.com/whalezhao/dsh-plugin-agent-memory/releases/download/v0.1.0/dsh-plugin-agent-memory-0.1.0.tgz
28
+ dsh plugin --profile <profile> add /path/to/dsh-plugin-agent-memory
23
29
  ```
24
30
 
25
- From a running DSH session, the plugin manager can install the same tarball URL as a bundle.
26
- A source install also works when the repository is checked out: `dsh plugin --profile <profile>
27
- add /path/to/dsh-plugin-agent-memory`.
31
+ From a running DSH session, the plugin manager can install the same npm name or tarball URL.
28
32
 
29
33
  ## Configure
30
34
 
package/client.js CHANGED
@@ -5,8 +5,10 @@
5
5
  * selection back through the same origin-scoped HTTP routes, so the Host can recall that
6
6
  * expert's memories on the next turn.
7
7
  */
8
+ // The loader keys modules by their package name, so this id must stay equal to package.json's
9
+ // `name`; a mismatch leaves the module registered under an id the boot graph never mounts.
8
10
  window.__ModuleLoader__.load({
9
- id: '@local/agent-memory',
11
+ id: 'dsh-plugin-agent-memory',
10
12
  factory(require) {
11
13
  const React = require('react');
12
14
  const h = React.createElement;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-plugin-agent-memory",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "type": "module",
5
5
  "description": "Tencent agent-memory integration: pick a team agent as an expert at the composer and its long-term memories are recalled into each turn.",
6
6
  "license": "MIT",