@aliyunrds/ctxdb-shared 0.0.1 → 0.0.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 (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  // src/kb-detection.ts
2
2
  var KB_PATH_FRAGMENT = "/v1/knowledge/";
3
3
  var SHELL_TOOL_NAMES = /* @__PURE__ */ new Set(["exec", "bash", "shell", "sh"]);
4
- var CTXDB_QODER_KB_UPLOAD_RE = /\b(?:(?:rds|qoder)[-_]ctxdb|ctxdb[-_]qoder)\s+kb\s+upload[-_](?:text|file)\b/i;
4
+ var CTXDB_QODER_KB_UPLOAD_RE = /\b(?:(?:rds|qoder)[-_]ctxdb|ctxdb[-_]qoder|ctxdb)\s+kb\s+upload[-_](?:text|file)\b/i;
5
5
  var KB_PLUGIN_TOOL_NAMES = /* @__PURE__ */ new Set(["kb_upload_text", "kb_upload_file"]);
6
6
  var WRITE_METHOD_RE = /-X\s+(?:POST|PUT|DELETE|PATCH)\b/i;
7
7
  var MULTIPART_UPLOAD_RE = /-F\s+["']?(?:file|content)=@/i;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aliyunrds/ctxdb-shared",
3
- "version": "0.0.1",
3
+ "version": "0.0.2",
4
4
  "type": "module",
5
5
  "description": "Shared B-rule modules + memory/KB types for RDS ContextDatabase access layers (OpenClaw fork + Qoder hooks).",
6
6
  "license": "Apache-2.0",