@signetai/connector-openclaw 0.200.3 → 0.200.4

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 +31 -31
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -5,20 +5,20 @@ import { delimiter, join as join4, resolve } from "node:path";
5
5
 
6
6
  // ../../../libs/connector-base/dist/index.js
7
7
  import { randomBytes } from "node:crypto";
8
- import { existsSync, readFileSync, renameSync as renameSync2, statSync as statSync2, unlinkSync as unlinkSync2, writeFileSync } from "node:fs";
9
- import { dirname as dirname5, isAbsolute, join as join3, relative, sep } from "node:path";
8
+ import { existsSync, readFileSync, renameSync as renameSync2, statSync, unlinkSync as unlinkSync2, writeFileSync } from "node:fs";
9
+ import { dirname as dirname2, isAbsolute, join as join3, relative, sep } from "node:path";
10
10
  import { createRequire } from "node:module";
11
11
  import { dirname, join } from "node:path";
12
12
  import { fileURLToPath } from "node:url";
13
13
  import { createHash } from "node:crypto";
14
14
  import { createRequire as createRequire2 } from "node:module";
15
- import { homedir as homedir4 } from "node:os";
16
- import { dirname as dirname3, join as join6, resolve as resolve2 } from "node:path";
17
- import { homedir as homedir5, platform as platform2 } from "node:os";
18
- import { basename, dirname as dirname4, resolve as resolve4 } from "node:path";
19
- import { homedir as homedir9 } from "node:os";
15
+ import { homedir as homedir5 } from "node:os";
16
+ import { dirname as dirname4, join as join7, resolve as resolve2 } from "node:path";
17
+ import { homedir as homedir6, platform as platform2 } from "node:os";
18
+ import { basename, dirname as dirname5, resolve as resolve4 } from "node:path";
19
+ import { homedir as homedir10 } from "node:os";
20
20
  import { existsSync as existsSync13, lstatSync, mkdirSync as mkdirSync9, readdirSync as readdirSync6, symlinkSync, unlinkSync } from "node:fs";
21
- import { join as join13 } from "node:path";
21
+ import { join as join14 } from "node:path";
22
22
  var __create2 = Object.create;
23
23
  var __getProtoOf2 = Object.getPrototypeOf;
24
24
  var __defProp2 = Object.defineProperty;
@@ -12360,7 +12360,7 @@ try {
12360
12360
  const esmRequire = createRequire2(import.meta.url);
12361
12361
  native = esmRequire("@signet/native");
12362
12362
  } catch {}
12363
- var GRAPHIQ_DEFAULT_INSTALL_DIR = join6(homedir4(), ".local", "bin");
12363
+ var GRAPHIQ_DEFAULT_INSTALL_DIR = join7(homedir5(), ".local", "bin");
12364
12364
  var SIGNET_SOURCE_CHECKOUT_DIRNAME = "signetai";
12365
12365
  var SIGNET_GIT_ALLOWED_DIRECTORIES = ["skills", "tools", "dreaming"];
12366
12366
  var SIGNET_GIT_PROTECTED_PATHS = [
@@ -12430,11 +12430,11 @@ var VALID_GITHUB_RESOURCE_TYPES = new Set(DEFAULT_GITHUB_RESOURCE_TYPES);
12430
12430
  function defaultDiscordDesktopCachePath() {
12431
12431
  switch (platform2()) {
12432
12432
  case "darwin":
12433
- return resolve4(homedir5(), "Library", "Application Support", "discord");
12433
+ return resolve4(homedir6(), "Library", "Application Support", "discord");
12434
12434
  case "win32":
12435
- return resolve4(process.env.APPDATA || resolve4(homedir5(), "AppData", "Roaming"), "discord");
12435
+ return resolve4(process.env.APPDATA || resolve4(homedir6(), "AppData", "Roaming"), "discord");
12436
12436
  default:
12437
- return resolve4(process.env.XDG_CONFIG_HOME || resolve4(homedir5(), ".config"), "discord");
12437
+ return resolve4(process.env.XDG_CONFIG_HOME || resolve4(homedir6(), ".config"), "discord");
12438
12438
  }
12439
12439
  }
12440
12440
  var IDENTITY_FILES = {
@@ -12505,7 +12505,7 @@ function symlinkSkills(sourceDir, targetDir, options = {}) {
12505
12505
  if (!existsSync13(sourceDir)) {
12506
12506
  return result;
12507
12507
  }
12508
- const targetParent = join13(targetDir, "..");
12508
+ const targetParent = join14(targetDir, "..");
12509
12509
  if (!existsSync13(targetParent)) {
12510
12510
  mkdirSync9(targetParent, { recursive: true });
12511
12511
  }
@@ -12523,8 +12523,8 @@ function symlinkSkills(sourceDir, targetDir, options = {}) {
12523
12523
  return result;
12524
12524
  }
12525
12525
  for (const entry of entries) {
12526
- const srcPath = join13(sourceDir, entry);
12527
- const destPath = join13(targetDir, entry);
12526
+ const srcPath = join14(sourceDir, entry);
12527
+ const destPath = join14(targetDir, entry);
12528
12528
  try {
12529
12529
  const src = lstatSync(srcPath);
12530
12530
  if (src.isSymbolicLink() || !src.isDirectory()) {
@@ -12565,7 +12565,7 @@ function symlinkSkills(sourceDir, targetDir, options = {}) {
12565
12565
  }
12566
12566
  return result;
12567
12567
  }
12568
- var home = homedir9();
12568
+ var home = homedir10();
12569
12569
  var SIGNET_BLOCK_START = "<!-- SIGNET:START -->";
12570
12570
  var SIGNET_BLOCK_END = "<!-- SIGNET:END -->";
12571
12571
  function stripSignetBlock(content) {
@@ -12606,7 +12606,7 @@ class BaseConnector {
12606
12606
  generateHeader(sourcePath, targetName) {
12607
12607
  const name = targetName || this.name;
12608
12608
  const safe = (p) => p.replace(/[\n\r]/g, "");
12609
- const root = dirname5(sourcePath);
12609
+ const root = dirname2(sourcePath);
12610
12610
  return `# Auto-generated from ${safe(sourcePath)}
12611
12611
  # Source: ${safe(sourcePath)}
12612
12612
  # Generated: ${new Date().toISOString()}
@@ -12638,11 +12638,11 @@ ${content}`);
12638
12638
  }
12639
12639
  }
12640
12640
  function atomicWriteText(path, content, mode) {
12641
- const tmp = join3(dirname5(path), `.${randomBytes(6).toString("hex")}.tmp`);
12641
+ const tmp = join3(dirname2(path), `.${randomBytes(6).toString("hex")}.tmp`);
12642
12642
  let writeMode = mode;
12643
12643
  if (writeMode === undefined) {
12644
12644
  try {
12645
- writeMode = statSync2(path).mode & 511;
12645
+ writeMode = statSync(path).mode & 511;
12646
12646
  } catch {}
12647
12647
  }
12648
12648
  try {
@@ -14658,17 +14658,17 @@ function parseLenientJsonObject(raw, options) {
14658
14658
 
14659
14659
  // ../../../platform/core/dist/index.js
14660
14660
  import { createRequire as createRequire3 } from "node:module";
14661
- import { dirname as dirname2, join as join2 } from "node:path";
14661
+ import { dirname as dirname3, join as join2 } from "node:path";
14662
14662
  import { fileURLToPath as fileURLToPath2 } from "node:url";
14663
14663
  import { createHash as createHash2 } from "node:crypto";
14664
14664
  import { homedir as homedir2 } from "os";
14665
14665
  import { join as join22 } from "path";
14666
14666
  import { createRequire as createRequire22 } from "node:module";
14667
- import { homedir as homedir42 } from "node:os";
14668
- import { dirname as dirname32, join as join62, resolve as resolve22 } from "node:path";
14669
- import { homedir as homedir52, platform as platform22 } from "node:os";
14670
- import { basename as basename2, dirname as dirname42, resolve as resolve42 } from "node:path";
14671
- import { homedir as homedir92 } from "node:os";
14667
+ import { homedir as homedir52 } from "node:os";
14668
+ import { dirname as dirname42, join as join72, resolve as resolve22 } from "node:path";
14669
+ import { homedir as homedir62, platform as platform22 } from "node:os";
14670
+ import { basename as basename2, dirname as dirname52, resolve as resolve42 } from "node:path";
14671
+ import { homedir as homedir102 } from "node:os";
14672
14672
  var __create3 = Object.create;
14673
14673
  var __getProtoOf3 = Object.getPrototypeOf;
14674
14674
  var __defProp3 = Object.defineProperty;
@@ -27001,7 +27001,7 @@ var MIGRATIONS2 = [
27001
27001
  var LATEST_SCHEMA_VERSION2 = MIGRATIONS2[MIGRATIONS2.length - 1]?.version ?? 0;
27002
27002
  var NETWORK_FILESYSTEM_TYPES2 = new Set(["afpfs", "nfs", "smbfs", "webdav"]);
27003
27003
  var __filename22 = fileURLToPath2(import.meta.url);
27004
- var __dirname22 = dirname2(__filename22);
27004
+ var __dirname22 = dirname3(__filename22);
27005
27005
  var import_yaml3 = __toESM3(require_dist2(), 1);
27006
27006
  function expandHome(p, home2 = homedir2()) {
27007
27007
  if (p === "~")
@@ -27017,7 +27017,7 @@ try {
27017
27017
  const esmRequire = createRequire22(import.meta.url);
27018
27018
  native2 = esmRequire("@signet/native");
27019
27019
  } catch {}
27020
- var GRAPHIQ_DEFAULT_INSTALL_DIR2 = join62(homedir42(), ".local", "bin");
27020
+ var GRAPHIQ_DEFAULT_INSTALL_DIR2 = join72(homedir52(), ".local", "bin");
27021
27021
  var SIGNET_SOURCE_CHECKOUT_DIRNAME2 = "signetai";
27022
27022
  var SIGNET_GIT_ALLOWED_DIRECTORIES2 = ["skills", "tools", "dreaming"];
27023
27023
  var SIGNET_GIT_PROTECTED_PATHS2 = [
@@ -27087,11 +27087,11 @@ var VALID_GITHUB_RESOURCE_TYPES2 = new Set(DEFAULT_GITHUB_RESOURCE_TYPES2);
27087
27087
  function defaultDiscordDesktopCachePath2() {
27088
27088
  switch (platform22()) {
27089
27089
  case "darwin":
27090
- return resolve42(homedir52(), "Library", "Application Support", "discord");
27090
+ return resolve42(homedir62(), "Library", "Application Support", "discord");
27091
27091
  case "win32":
27092
- return resolve42(process.env.APPDATA || resolve42(homedir52(), "AppData", "Roaming"), "discord");
27092
+ return resolve42(process.env.APPDATA || resolve42(homedir62(), "AppData", "Roaming"), "discord");
27093
27093
  default:
27094
- return resolve42(process.env.XDG_CONFIG_HOME || resolve42(homedir52(), ".config"), "discord");
27094
+ return resolve42(process.env.XDG_CONFIG_HOME || resolve42(homedir62(), ".config"), "discord");
27095
27095
  }
27096
27096
  }
27097
27097
  var IDENTITY_FILES2 = {
@@ -27149,7 +27149,7 @@ var IDENTITY_FILES2 = {
27149
27149
  };
27150
27150
  var REQUIRED_IDENTITY_KEYS2 = Object.entries(IDENTITY_FILES2).filter(([, spec]) => !spec.optional).map(([key]) => key);
27151
27151
  var OPTIONAL_IDENTITY_KEYS2 = Object.entries(IDENTITY_FILES2).filter(([, spec]) => spec.optional).map(([key]) => key);
27152
- var home2 = homedir92();
27152
+ var home2 = homedir102();
27153
27153
 
27154
27154
  // src/index.ts
27155
27155
  var OPENCLAW_PARSE_OPTIONS = { label: "OpenClaw config" };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@signetai/connector-openclaw",
3
- "version": "0.200.3",
3
+ "version": "0.200.4",
4
4
  "description": "Signet connector for OpenClaw - configures workspace and memory hooks",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -25,8 +25,8 @@
25
25
  "test": "bun test"
26
26
  },
27
27
  "dependencies": {
28
- "@signetai/connector-base": "0.200.3",
29
- "@signetai/core": "0.200.3"
28
+ "@signetai/connector-base": "0.200.4",
29
+ "@signetai/core": "0.200.4"
30
30
  },
31
31
  "devDependencies": {
32
32
  "@types/node": "^22.0.0",