dsh-memo-sync 2.74.8 → 2.74.9
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/index.js +1 -1
- package/index.json +35 -0
- package/package.json +7 -3
- package/scripts/gen-index.mjs +25 -0
package/index.js
CHANGED
package/index.json
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
{
|
|
2
|
+
"format": 1,
|
|
3
|
+
"title": {
|
|
4
|
+
"en": "10110011-ling plugins",
|
|
5
|
+
"zh": "10110011-ling 的插件"
|
|
6
|
+
},
|
|
7
|
+
"plugins": [
|
|
8
|
+
{
|
|
9
|
+
"name": "dsh-memo-sync",
|
|
10
|
+
"title": "记忆(memo-sync)",
|
|
11
|
+
"description": "目录式长期记忆:一条记忆一个 markdown 文件,只把分层目录注入 AGENTS.md;带原话归档、按线索召回、跨会话在场与 3D 星图。默认不调用模型。",
|
|
12
|
+
"icon": "https://raw.githubusercontent.com/10110011-ling/dsh-memo-sync/main/icon.png",
|
|
13
|
+
"author": "10110011-limg",
|
|
14
|
+
"homepage": "https://github.com/10110011-ling/dsh-memo-sync#readme",
|
|
15
|
+
"repository": {
|
|
16
|
+
"url": "https://github.com/10110011-ling/dsh-memo-sync"
|
|
17
|
+
},
|
|
18
|
+
"keywords": [
|
|
19
|
+
"memory",
|
|
20
|
+
"memo",
|
|
21
|
+
"context",
|
|
22
|
+
"archive"
|
|
23
|
+
],
|
|
24
|
+
"versions": [
|
|
25
|
+
{
|
|
26
|
+
"version": "2.74.9",
|
|
27
|
+
"publishTimestamp": 1795846439,
|
|
28
|
+
"source": {
|
|
29
|
+
"type": "npm"
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
]
|
|
33
|
+
}
|
|
34
|
+
]
|
|
35
|
+
}
|
package/package.json
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-memo-sync",
|
|
3
|
-
"version": "2.74.
|
|
3
|
+
"version": "2.74.9",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"scripts": {
|
|
8
|
-
"test": "node test/selfcheck.mjs"
|
|
8
|
+
"test": "node test/selfcheck.mjs",
|
|
9
|
+
"index": "node scripts/gen-index.mjs",
|
|
10
|
+
"prepublishOnly": "node scripts/gen-index.mjs"
|
|
9
11
|
},
|
|
10
12
|
"author": "10110011-limg",
|
|
11
13
|
"repository": {
|
|
@@ -64,6 +66,8 @@
|
|
|
64
66
|
"icon.svg",
|
|
65
67
|
"icon.png",
|
|
66
68
|
"LICENSE",
|
|
67
|
-
"README.md"
|
|
69
|
+
"README.md",
|
|
70
|
+
"index.json",
|
|
71
|
+
"scripts"
|
|
68
72
|
]
|
|
69
73
|
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import fs from 'node:fs';
|
|
2
|
+
import path from 'node:path';
|
|
3
|
+
|
|
4
|
+
const pkg = JSON.parse(fs.readFileSync('package.json', 'utf8'));
|
|
5
|
+
const index = {
|
|
6
|
+
format: 1,
|
|
7
|
+
title: { en: '10110011-ling plugins', zh: '10110011-ling 的插件' },
|
|
8
|
+
plugins: [
|
|
9
|
+
{
|
|
10
|
+
name: pkg.name,
|
|
11
|
+
title: '记忆(memo-sync)',
|
|
12
|
+
description: '目录式长期记忆:一条记忆一个 markdown 文件,只把分层目录注入 AGENTS.md;带原话归档、按线索召回、跨会话在场与 3D 星图。默认不调用模型。',
|
|
13
|
+
icon: 'https://raw.githubusercontent.com/10110011-ling/dsh-memo-sync/main/icon.png',
|
|
14
|
+
author: pkg.author,
|
|
15
|
+
homepage: 'https://github.com/10110011-ling/dsh-memo-sync#readme',
|
|
16
|
+
repository: { url: 'https://github.com/10110011-ling/dsh-memo-sync' },
|
|
17
|
+
keywords: ['memory', 'memo', 'context', 'archive'],
|
|
18
|
+
versions: [
|
|
19
|
+
{ version: pkg.version, publishTimestamp: Math.floor(Date.now() / 1000), source: { type: 'npm' } },
|
|
20
|
+
],
|
|
21
|
+
},
|
|
22
|
+
],
|
|
23
|
+
};
|
|
24
|
+
fs.writeFileSync('index.json', JSON.stringify(index, null, 2) + '\n');
|
|
25
|
+
console.log('index.json → ' + pkg.name + '@' + pkg.version);
|