@truenine/memory-sync-cli 2026.10318.12034 → 2026.10322.104

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@truenine/memory-sync-cli",
3
3
  "type": "module",
4
- "version": "2026.10318.12034",
4
+ "version": "2026.10322.104",
5
5
  "description": "TrueNine Memory Synchronization CLI",
6
6
  "author": "TrueNine",
7
7
  "license": "AGPL-3.0-only",
@@ -14,14 +14,11 @@
14
14
  "exports": {
15
15
  ".": {
16
16
  "types": "./dist/index.d.mts",
17
- "import": "./dist/index.mjs",
18
- "require": "./dist/index.cjs"
17
+ "import": "./dist/index.mjs"
19
18
  },
20
19
  "./globals": {
21
- "types:require": "./dist/globals.d.cts",
22
20
  "types": "./dist/globals.d.mts",
23
- "import": "./dist/globals.mjs",
24
- "require": "./dist/globals.cjs"
21
+ "import": "./dist/globals.mjs"
25
22
  },
26
23
  "./schema.json": "./dist/tnmsc.schema.json",
27
24
  "./package.json": "./package.json"
@@ -30,7 +27,7 @@
30
27
  "module": "./dist/index.mjs",
31
28
  "types": "./dist/index.d.mts",
32
29
  "bin": {
33
- "tnmsc": "./dist/main.mjs"
30
+ "tnmsc": "./dist/index.mjs"
34
31
  },
35
32
  "files": [
36
33
  "dist",
@@ -52,46 +49,46 @@
52
49
  },
53
50
  "dependencies": {
54
51
  "json5": "^2.2.3",
55
- "yaml": "2.8.2",
52
+ "yaml": "^2.8.2",
56
53
  "zod": "^4.3.6"
57
54
  },
58
55
  "optionalDependencies": {
59
- "@truenine/memory-sync-cli-darwin-arm64": "2026.10318.12034",
60
- "@truenine/memory-sync-cli-darwin-x64": "2026.10318.12034",
61
- "@truenine/memory-sync-cli-linux-arm64-gnu": "2026.10318.12034",
62
- "@truenine/memory-sync-cli-win32-x64-msvc": "2026.10318.12034",
63
- "@truenine/memory-sync-cli-linux-x64-gnu": "2026.10318.12034"
56
+ "@truenine/memory-sync-cli-darwin-arm64": "2026.10322.104",
57
+ "@truenine/memory-sync-cli-darwin-x64": "2026.10322.104",
58
+ "@truenine/memory-sync-cli-linux-arm64-gnu": "2026.10322.104",
59
+ "@truenine/memory-sync-cli-linux-x64-gnu": "2026.10322.104",
60
+ "@truenine/memory-sync-cli-win32-x64-msvc": "2026.10322.104"
64
61
  },
65
62
  "devDependencies": {
66
- "@clack/prompts": "^1.0.1",
63
+ "@clack/prompts": "^1.1.0",
67
64
  "@types/fs-extra": "^11.0.4",
68
65
  "@types/picomatch": "^4.0.2",
69
- "@vitest/coverage-v8": "4.0.18",
66
+ "@vitest/coverage-v8": "4.1.0",
70
67
  "fast-glob": "^3.3.3",
71
- "fs-extra": "^11.3.3",
72
- "jiti": "2.6.1",
73
- "lightningcss": "1.31.1",
68
+ "fs-extra": "^11.3.4",
69
+ "jiti": "^2.6.1",
70
+ "lightningcss": "^1.32.0",
74
71
  "picocolors": "^1.1.1",
75
72
  "picomatch": "^4.0.3",
76
- "tsx": "4.21.0",
77
- "vitest": "^4.0.18",
73
+ "tsx": "^4.21.0",
74
+ "vitest": "^4.1.0",
78
75
  "zod-to-json-schema": "^3.25.1",
79
- "@truenine/logger": "2026.10318.12034",
80
- "@truenine/script-runtime": "2026.10318.12034",
81
- "@truenine/md-compiler": "2026.10318.12034"
76
+ "@truenine/md-compiler": "2026.10322.104",
77
+ "@truenine/script-runtime": "2026.10322.104",
78
+ "@truenine/logger": "2026.10322.104"
82
79
  },
83
80
  "scripts": {
84
- "build": "run-s build:deps build:napi bundle write:main-wrapper generate:schema check",
81
+ "build": "run-s build:deps build:napi bundle finalize:bundle generate:schema check",
85
82
  "build:napi": "tsx ../scripts/copy-napi.ts",
86
83
  "build:deps": "pnpm -F @truenine/logger -F @truenine/md-compiler -F @truenine/script-runtime run build",
87
84
  "bundle": "tsx ../scripts/build-quiet.ts",
88
85
  "check": "run-p typecheck lint",
86
+ "finalize:bundle": "tsx scripts/finalize-bundle.ts",
89
87
  "generate:schema": "tsx scripts/generate-schema.ts",
90
88
  "lint": "eslint --cache .",
91
89
  "test": "run-s build:deps test:run",
92
90
  "test:run": "vitest run",
93
91
  "lintfix": "eslint --fix --cache .",
94
- "typecheck": "tsc --noEmit -p tsconfig.lib.json",
95
- "write:main-wrapper": "tsx scripts/write-main-wrapper.ts"
92
+ "typecheck": "tsc --noEmit -p tsconfig.lib.json"
96
93
  }
97
94
  }
package/dist/globals.cjs DELETED
@@ -1,62 +0,0 @@
1
- Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
-
3
- //#region ../libraries/md-compiler/dist/globals/index.mjs
4
- /**
5
- * Tool name presets for different AI tools.
6
- * Each preset provides tool name mappings specific to that AI tool.
7
- */
8
- const ToolPresets = {
9
- default: {
10
- websearch: "web_search",
11
- webfetch: "web_fetch",
12
- readFile: "read_file",
13
- writeFile: "write_file",
14
- executeCommand: "execute_command",
15
- todolistWrite: "todolist_write",
16
- grep: "grep",
17
- listDirectory: "list_directory"
18
- },
19
- claudeCode: {
20
- readFile: "Read",
21
- writeFile: "Write",
22
- executeCommand: "Execute",
23
- todolistWrite: "TodoWrite",
24
- listDirectory: "List"
25
- },
26
- kiro: {
27
- websearch: "remote_web_search",
28
- webfetch: "webFetch",
29
- readFile: "readFile",
30
- writeFile: "fsWrite",
31
- executeCommand: "executeBash",
32
- todolistWrite: "todolistWrite",
33
- grep: "grepSearch",
34
- listDirectory: "listDir"
35
- }
36
- };
37
- /**
38
- * Shell kind enumeration
39
- */
40
- let ShellKind = /* @__PURE__ */ function(ShellKind) {
41
- ShellKind["Bash"] = "bash";
42
- ShellKind["Zsh"] = "zsh";
43
- ShellKind["Fish"] = "fish";
44
- ShellKind["Sh"] = "sh";
45
- ShellKind["PowerShell"] = "powershell";
46
- ShellKind["Pwsh"] = "pwsh";
47
- ShellKind["Cmd"] = "cmd";
48
- ShellKind["Unknown"] = "unknown";
49
- return ShellKind;
50
- }({});
51
- let OsKind = /* @__PURE__ */ function(OsKind) {
52
- OsKind["Win"] = "win";
53
- OsKind["Mac"] = "mac";
54
- OsKind["Linux"] = "linux";
55
- OsKind["Unknown"] = "unknown";
56
- return OsKind;
57
- }({});
58
-
59
- //#endregion
60
- exports.OsKind = OsKind;
61
- exports.ShellKind = ShellKind;
62
- exports.ToolPresets = ToolPresets;
@@ -1,159 +0,0 @@
1
- //#region ../libraries/md-compiler/dist/index-C0N3q7pl.d.mts
2
- //#region src/globals/index.d.ts
3
- /**
4
- * // These types are available to users when writing MDX templates. // Global type declarations for MDX expression scope. // src/globals/index.ts
5
- * User profile information
6
- * @example {profile.name}, {profile.username}
7
- */
8
- interface UserProfile {
9
- name?: string;
10
- username?: string;
11
- gender?: string;
12
- birthday?: string;
13
- [key: string]: unknown;
14
- }
15
- /**
16
- * Tool references for AI assistants
17
- * @example {tool.websearch}, {tool.webfetch}, {tool.readFile}
18
- */
19
- interface ToolReferences {
20
- /** Web search tool name */
21
- websearch?: string;
22
- /** Web fetch tool name */
23
- webfetch?: string;
24
- /** Read file tool name */
25
- readFile?: string;
26
- /** Write file tool name */
27
- writeFile?: string;
28
- /** Execute command/shell tool name */
29
- executeCommand?: string;
30
- /** Todolist write tool name */
31
- todolistWrite?: string;
32
- /** Grep/search tool name */
33
- grep?: string;
34
- /** List directory tool name */
35
- listDirectory?: string;
36
- /** Allow custom tool references */
37
- [key: string]: string | undefined;
38
- }
39
- /**
40
- * Tool name presets for different AI tools.
41
- * Each preset provides tool name mappings specific to that AI tool.
42
- */
43
- declare const ToolPresets: {
44
- /** Default tool names (snake_case) */readonly default: {
45
- readonly websearch: "web_search";
46
- readonly webfetch: "web_fetch";
47
- readonly readFile: "read_file";
48
- readonly writeFile: "write_file";
49
- readonly executeCommand: "execute_command";
50
- readonly todolistWrite: "todolist_write";
51
- readonly grep: "grep";
52
- readonly listDirectory: "list_directory";
53
- }; /** Claude Code CLI tool names (PascalCase) */
54
- readonly claudeCode: {
55
- readonly readFile: "Read";
56
- readonly writeFile: "Write";
57
- readonly executeCommand: "Execute";
58
- readonly todolistWrite: "TodoWrite";
59
- readonly listDirectory: "List";
60
- }; /** Kiro tool names */
61
- readonly kiro: {
62
- readonly websearch: "remote_web_search";
63
- readonly webfetch: "webFetch";
64
- readonly readFile: "readFile";
65
- readonly writeFile: "fsWrite";
66
- readonly executeCommand: "executeBash";
67
- readonly todolistWrite: "todolistWrite";
68
- readonly grep: "grepSearch";
69
- readonly listDirectory: "listDir";
70
- };
71
- };
72
- /**
73
- * Environment context
74
- * @example {env.NODE_ENV}, {env.DEBUG}
75
- */
76
- interface EnvironmentContext {
77
- [key: string]: unknown;
78
- }
79
- /**
80
- * Shell kind enumeration
81
- */
82
- declare enum ShellKind {
83
- Bash = "bash",
84
- Zsh = "zsh",
85
- Fish = "fish",
86
- Sh = "sh",
87
- PowerShell = "powershell",
88
- Pwsh = "pwsh",
89
- Cmd = "cmd",
90
- Unknown = "unknown"
91
- }
92
- declare enum OsKind {
93
- Win = "win",
94
- Mac = "mac",
95
- Linux = "linux",
96
- Unknown = "unknown"
97
- }
98
- /**
99
- * Operating system information
100
- * @example {os.platform}, {os.arch}, {os.shellKind}, {os.kind}
101
- */
102
- interface OsInfo {
103
- platform?: string;
104
- arch?: string;
105
- hostname?: string;
106
- homedir?: string;
107
- tmpdir?: string;
108
- type?: string;
109
- release?: string;
110
- shellKind?: ShellKind;
111
- kind?: OsKind;
112
- [key: string]: string | ShellKind | OsKind | undefined;
113
- }
114
- interface MdProps {
115
- /** Condition for rendering content. If omitted, content always renders. */
116
- when?: boolean;
117
- /** Child content to render when condition is met */
118
- children?: unknown;
119
- }
120
- interface MdLineProps {
121
- /** Condition for rendering content. If omitted, content always renders. */
122
- when?: boolean;
123
- /** Inline text content to render when condition is met */
124
- children?: unknown;
125
- }
126
- /**
127
- * Md component type with Line sub-component
128
- */
129
- interface MdComponent {
130
- (props: MdProps): unknown;
131
- Line: (props: MdLineProps) => unknown;
132
- }
133
- /**
134
- * Global scope available in MDX expressions
135
- */
136
- interface MdxGlobalScope {
137
- /** User profile information */
138
- profile: UserProfile;
139
- /** Tool name references for AI assistants */
140
- tool: ToolReferences;
141
- /** Environment variables context */
142
- env: EnvironmentContext;
143
- /** Operating system information */
144
- os: OsInfo;
145
- /** Conditional Markdown component with Line sub-component */
146
- Md: MdComponent;
147
- }
148
- declare global {
149
- /** User profile information */
150
- const profile: UserProfile, /** Tool name references for AI assistants */tool: ToolReferences, /** Environment variables context */env: EnvironmentContext, /** Operating system information */os: OsInfo, /** Conditional Markdown component with Line sub-component */Md: MdComponent;
151
- namespace JSX {
152
- interface IntrinsicElements {
153
- 'Md': MdProps;
154
- 'Md.Line': MdLineProps;
155
- }
156
- }
157
- } //#endregion
158
- //#endregion
159
- export { EnvironmentContext, MdComponent, MdLineProps, MdProps, MdxGlobalScope, OsInfo, OsKind, ShellKind, ToolPresets, ToolReferences, UserProfile };