@aliyunrds/ctxdb 1.0.8-beta.1 → 1.0.8-beta.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.
- package/README.md +3 -3
- package/dist/{chunk-LTAO6USK.js → chunk-4FCZ2TZM.js} +1 -1
- package/dist/{chunk-TYW6ABNS.js → chunk-5ZSZMN2T.js} +2 -2
- package/dist/{chunk-NFAPLK4C.js → chunk-CULTDVI2.js} +1 -1
- package/dist/{chunk-KYW76CL7.js → chunk-DMS5YHIK.js} +956 -956
- package/dist/{chunk-NF5KFV2P.js → chunk-H33NUAHP.js} +5 -5
- package/dist/{chunk-SGRMPSZU.js → chunk-LYHGJOHM.js} +2 -2
- package/dist/{chunk-3B7J5VUT.js → chunk-X75B57M2.js} +1 -1
- package/dist/cli/main.js +6 -6
- package/dist/hooks/hermes-post-llm-call.js +6 -6
- package/dist/hooks/hermes-pre-llm-call.js +9 -9
- package/dist/hooks/session-start.js +8 -8
- package/dist/hooks/stop.js +6 -6
- package/dist/hooks/user-prompt-submit.js +8 -8
- package/package.json +1 -1
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
+
import {
|
|
3
|
+
listKnowledgeBases
|
|
4
|
+
} from "./chunk-CULTDVI2.js";
|
|
2
5
|
import {
|
|
3
6
|
isConnectionError,
|
|
4
7
|
resetCircuit,
|
|
5
8
|
tripCircuit
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import {
|
|
8
|
-
listKnowledgeBases
|
|
9
|
-
} from "./chunk-NFAPLK4C.js";
|
|
9
|
+
} from "./chunk-X75B57M2.js";
|
|
10
10
|
import {
|
|
11
11
|
CtxdbError
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-DMS5YHIK.js";
|
|
13
13
|
|
|
14
14
|
// src/lib/kb-catalog.ts
|
|
15
15
|
function sanitizeKeyEntities(raw) {
|
|
@@ -4,12 +4,12 @@ import {
|
|
|
4
4
|
isConnectionError,
|
|
5
5
|
resetCircuit,
|
|
6
6
|
tripCircuit
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-X75B57M2.js";
|
|
8
8
|
import {
|
|
9
9
|
CtxdbError,
|
|
10
10
|
debug,
|
|
11
11
|
isDebug
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-DMS5YHIK.js";
|
|
13
13
|
|
|
14
14
|
// src/lib/capture-orchestrator.ts
|
|
15
15
|
import {
|
package/dist/cli/main.js
CHANGED
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
uploadFile,
|
|
17
17
|
uploadText,
|
|
18
18
|
validateLocalFile
|
|
19
|
-
} from "../chunk-
|
|
19
|
+
} from "../chunk-CULTDVI2.js";
|
|
20
20
|
import {
|
|
21
21
|
AGENT_CHOICES,
|
|
22
22
|
CtxdbError,
|
|
@@ -43,7 +43,7 @@ import {
|
|
|
43
43
|
save,
|
|
44
44
|
updateConfiguredDebug,
|
|
45
45
|
writeInstalledPkgVersion
|
|
46
|
-
} from "../chunk-
|
|
46
|
+
} from "../chunk-DMS5YHIK.js";
|
|
47
47
|
import {
|
|
48
48
|
beginUpdateNotification,
|
|
49
49
|
completeUpdateNotification,
|
|
@@ -389,7 +389,7 @@ function skillInstallRoot(agent) {
|
|
|
389
389
|
case "hermes":
|
|
390
390
|
return join(homedir(), ".hermes", "skills");
|
|
391
391
|
case "workbuddy":
|
|
392
|
-
return join(homedir(), ".workbuddy", "skills");
|
|
392
|
+
return join(homedir(), ".workbuddy-ai", "skills");
|
|
393
393
|
}
|
|
394
394
|
}
|
|
395
395
|
var SKILL_DIRS = ["contextdb-memory", "contextdb-knowledge"];
|
|
@@ -411,7 +411,7 @@ function hookConfigPath(agent) {
|
|
|
411
411
|
case "claude":
|
|
412
412
|
return join(homedir(), ".claude", "settings.json");
|
|
413
413
|
case "workbuddy":
|
|
414
|
-
return join(homedir(), ".workbuddy", "settings.json");
|
|
414
|
+
return join(homedir(), ".workbuddy-ai", "settings.json");
|
|
415
415
|
case "opencode":
|
|
416
416
|
case "hermes":
|
|
417
417
|
return null;
|
|
@@ -1473,7 +1473,7 @@ var SKILL_INSTALL_TARGETS = {
|
|
|
1473
1473
|
opencode: join(homedir(), ".config", "opencode", "skills"),
|
|
1474
1474
|
openclaw: join(homedir(), ".openclaw", "skills"),
|
|
1475
1475
|
hermes: join(homedir(), ".hermes", "skills"),
|
|
1476
|
-
workbuddy: join(homedir(), ".workbuddy", "skills")
|
|
1476
|
+
workbuddy: join(homedir(), ".workbuddy-ai", "skills")
|
|
1477
1477
|
};
|
|
1478
1478
|
function skillInstallTargetPath(target) {
|
|
1479
1479
|
return SKILL_INSTALL_TARGETS[target] ?? null;
|
|
@@ -4312,7 +4312,7 @@ COMMANDS
|
|
|
4312
4312
|
Hermes \u2192 writes agents.hermes config + ~/.hermes/config.yaml pre/post_llm_call hooks + skill
|
|
4313
4313
|
Approve pre_llm_call + post_llm_call with \`hermes --accept-hooks chat\`
|
|
4314
4314
|
(exit chat, rerun setup, then restart any running Hermes CLI/gateway)
|
|
4315
|
-
WorkBuddy \u2192 writes agents.workbuddy config + ~/.workbuddy/settings.json hooks + skill
|
|
4315
|
+
WorkBuddy \u2192 writes agents.workbuddy config + ~/.workbuddy-ai/settings.json hooks + skill
|
|
4316
4316
|
--all \u2192 detects and configures every setup-compatible built-in Agent
|
|
4317
4317
|
status [--agent <name> | --all] [--json]
|
|
4318
4318
|
Inspect configuration, connectivity, and integration health.
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
captureParsedMessages
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import {
|
|
7
|
-
shouldSkipHooks
|
|
8
|
-
} from "../chunk-5ML4VSXN.js";
|
|
4
|
+
} from "../chunk-LYHGJOHM.js";
|
|
5
|
+
import "../chunk-X75B57M2.js";
|
|
9
6
|
import {
|
|
10
7
|
HttpClient,
|
|
11
8
|
agentFromArgvWithFallback,
|
|
12
9
|
debug,
|
|
13
10
|
load,
|
|
14
11
|
setDebug
|
|
15
|
-
} from "../chunk-
|
|
12
|
+
} from "../chunk-DMS5YHIK.js";
|
|
13
|
+
import {
|
|
14
|
+
shouldSkipHooks
|
|
15
|
+
} from "../chunk-5ML4VSXN.js";
|
|
16
16
|
import "../chunk-R67JELM7.js";
|
|
17
17
|
import "../chunk-VIG4SYLU.js";
|
|
18
18
|
|
|
@@ -2,20 +2,17 @@
|
|
|
2
2
|
import {
|
|
3
3
|
HOOK_TIMEOUT_MS,
|
|
4
4
|
composeSessionStart
|
|
5
|
-
} from "../chunk-
|
|
5
|
+
} from "../chunk-5ZSZMN2T.js";
|
|
6
6
|
import {
|
|
7
7
|
composeUserPromptSubmit
|
|
8
|
-
} from "../chunk-
|
|
8
|
+
} from "../chunk-4FCZ2TZM.js";
|
|
9
9
|
import {
|
|
10
10
|
fetchKbCatalogBlock
|
|
11
|
-
} from "../chunk-
|
|
11
|
+
} from "../chunk-H33NUAHP.js";
|
|
12
|
+
import "../chunk-CULTDVI2.js";
|
|
12
13
|
import {
|
|
13
14
|
isCircuitOpen
|
|
14
|
-
} from "../chunk-
|
|
15
|
-
import {
|
|
16
|
-
shouldSkipHooks
|
|
17
|
-
} from "../chunk-5ML4VSXN.js";
|
|
18
|
-
import "../chunk-NFAPLK4C.js";
|
|
15
|
+
} from "../chunk-X75B57M2.js";
|
|
19
16
|
import {
|
|
20
17
|
HttpClient,
|
|
21
18
|
agentFromArgvWithFallback,
|
|
@@ -23,7 +20,10 @@ import {
|
|
|
23
20
|
isComplete,
|
|
24
21
|
load,
|
|
25
22
|
setDebug
|
|
26
|
-
} from "../chunk-
|
|
23
|
+
} from "../chunk-DMS5YHIK.js";
|
|
24
|
+
import {
|
|
25
|
+
shouldSkipHooks
|
|
26
|
+
} from "../chunk-5ML4VSXN.js";
|
|
27
27
|
import "../chunk-R67JELM7.js";
|
|
28
28
|
import "../chunk-VIG4SYLU.js";
|
|
29
29
|
|
|
@@ -3,15 +3,12 @@ import {
|
|
|
3
3
|
HOOK_TIMEOUT_MS,
|
|
4
4
|
composeSessionStart,
|
|
5
5
|
formatSessionStartStdout
|
|
6
|
-
} from "../chunk-
|
|
7
|
-
import "../chunk-
|
|
6
|
+
} from "../chunk-5ZSZMN2T.js";
|
|
7
|
+
import "../chunk-H33NUAHP.js";
|
|
8
|
+
import "../chunk-CULTDVI2.js";
|
|
8
9
|
import {
|
|
9
10
|
isCircuitOpen
|
|
10
|
-
} from "../chunk-
|
|
11
|
-
import {
|
|
12
|
-
shouldSkipHooks
|
|
13
|
-
} from "../chunk-5ML4VSXN.js";
|
|
14
|
-
import "../chunk-NFAPLK4C.js";
|
|
11
|
+
} from "../chunk-X75B57M2.js";
|
|
15
12
|
import {
|
|
16
13
|
HttpClient,
|
|
17
14
|
agentFromArgvWithFallback,
|
|
@@ -19,7 +16,10 @@ import {
|
|
|
19
16
|
isComplete,
|
|
20
17
|
load,
|
|
21
18
|
setDebug
|
|
22
|
-
} from "../chunk-
|
|
19
|
+
} from "../chunk-DMS5YHIK.js";
|
|
20
|
+
import {
|
|
21
|
+
shouldSkipHooks
|
|
22
|
+
} from "../chunk-5ML4VSXN.js";
|
|
23
23
|
import "../chunk-R67JELM7.js";
|
|
24
24
|
import "../chunk-VIG4SYLU.js";
|
|
25
25
|
|
package/dist/hooks/stop.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
captureTurn
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import {
|
|
7
|
-
shouldSkipHooks
|
|
8
|
-
} from "../chunk-5ML4VSXN.js";
|
|
4
|
+
} from "../chunk-LYHGJOHM.js";
|
|
5
|
+
import "../chunk-X75B57M2.js";
|
|
9
6
|
import {
|
|
10
7
|
HttpClient,
|
|
11
8
|
agentFromArgvWithFallback,
|
|
12
9
|
debug,
|
|
13
10
|
load,
|
|
14
11
|
setDebug
|
|
15
|
-
} from "../chunk-
|
|
12
|
+
} from "../chunk-DMS5YHIK.js";
|
|
13
|
+
import {
|
|
14
|
+
shouldSkipHooks
|
|
15
|
+
} from "../chunk-5ML4VSXN.js";
|
|
16
16
|
import "../chunk-R67JELM7.js";
|
|
17
17
|
import "../chunk-VIG4SYLU.js";
|
|
18
18
|
|
|
@@ -2,15 +2,12 @@
|
|
|
2
2
|
import {
|
|
3
3
|
composeUserPromptSubmit,
|
|
4
4
|
formatUserPromptSubmitStdout
|
|
5
|
-
} from "../chunk-
|
|
6
|
-
import "../chunk-
|
|
5
|
+
} from "../chunk-4FCZ2TZM.js";
|
|
6
|
+
import "../chunk-H33NUAHP.js";
|
|
7
|
+
import "../chunk-CULTDVI2.js";
|
|
7
8
|
import {
|
|
8
9
|
isCircuitOpen
|
|
9
|
-
} from "../chunk-
|
|
10
|
-
import {
|
|
11
|
-
shouldSkipHooks
|
|
12
|
-
} from "../chunk-5ML4VSXN.js";
|
|
13
|
-
import "../chunk-NFAPLK4C.js";
|
|
10
|
+
} from "../chunk-X75B57M2.js";
|
|
14
11
|
import {
|
|
15
12
|
HttpClient,
|
|
16
13
|
agentFromArgvWithFallback,
|
|
@@ -18,7 +15,10 @@ import {
|
|
|
18
15
|
isComplete,
|
|
19
16
|
load,
|
|
20
17
|
setDebug
|
|
21
|
-
} from "../chunk-
|
|
18
|
+
} from "../chunk-DMS5YHIK.js";
|
|
19
|
+
import {
|
|
20
|
+
shouldSkipHooks
|
|
21
|
+
} from "../chunk-5ML4VSXN.js";
|
|
22
22
|
import "../chunk-R67JELM7.js";
|
|
23
23
|
import "../chunk-VIG4SYLU.js";
|
|
24
24
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aliyunrds/ctxdb",
|
|
3
|
-
"version": "1.0.8-beta.
|
|
3
|
+
"version": "1.0.8-beta.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Unified access layer for RDS ContextDatabase: `ctxdb` CLI (memory + KB ops), one-shot multi-agent installer, per-agent config, hooks/plugins, and SKILL.md.",
|
|
6
6
|
"license": "Apache-2.0",
|