@truenine/memory-sync-cli 2026.10118.11633 → 2026.10125.0
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/dist/globals/index.d.mts +7 -27
- package/dist/globals/index.mjs +1 -1
- package/dist/index.mjs +31 -31
- package/package.json +3 -3
package/dist/globals/index.d.mts
CHANGED
|
@@ -30,6 +30,8 @@ interface ToolReferences {
|
|
|
30
30
|
todolistWrite?: string;
|
|
31
31
|
/** Grep/search tool name */
|
|
32
32
|
grep?: string;
|
|
33
|
+
/** List directory tool name */
|
|
34
|
+
listDirectory?: string;
|
|
33
35
|
/** Allow custom tool references */
|
|
34
36
|
[key: string]: string | undefined;
|
|
35
37
|
}
|
|
@@ -46,12 +48,14 @@ declare const ToolPresets: {
|
|
|
46
48
|
readonly executeCommand: "execute_command";
|
|
47
49
|
readonly todolistWrite: "todolist_write";
|
|
48
50
|
readonly grep: "grep";
|
|
51
|
+
readonly listDirectory: "list_directory";
|
|
49
52
|
}; /** Claude Code CLI tool names (PascalCase) */
|
|
50
53
|
readonly claudeCode: {
|
|
51
54
|
readonly readFile: "Read";
|
|
52
55
|
readonly writeFile: "Write";
|
|
53
56
|
readonly executeCommand: "Execute";
|
|
54
57
|
readonly todolistWrite: "TodoWrite";
|
|
58
|
+
readonly listDirectory: "List";
|
|
55
59
|
}; /** Kiro tool names */
|
|
56
60
|
readonly kiro: {
|
|
57
61
|
readonly websearch: "remote_web_search";
|
|
@@ -61,6 +65,7 @@ declare const ToolPresets: {
|
|
|
61
65
|
readonly executeCommand: "executeBash";
|
|
62
66
|
readonly todolistWrite: "todolistWrite";
|
|
63
67
|
readonly grep: "grepSearch";
|
|
68
|
+
readonly listDirectory: "listDir";
|
|
64
69
|
};
|
|
65
70
|
};
|
|
66
71
|
/**
|
|
@@ -81,18 +86,13 @@ declare enum ShellKind {
|
|
|
81
86
|
PowerShell = "powershell",
|
|
82
87
|
Pwsh = "pwsh",
|
|
83
88
|
Cmd = "cmd",
|
|
84
|
-
Unknown = "unknown"
|
|
89
|
+
Unknown = "unknown"
|
|
85
90
|
}
|
|
86
|
-
/**
|
|
87
|
-
* Operating system kind enumeration
|
|
88
|
-
* Simplified OS type for conditional logic in templates
|
|
89
|
-
* @example {os.kind === 'mac' ? 'macOS specific' : 'other'}
|
|
90
|
-
*/
|
|
91
91
|
declare enum OsKind {
|
|
92
92
|
Win = "win",
|
|
93
93
|
Mac = "mac",
|
|
94
94
|
Linux = "linux",
|
|
95
|
-
Unknown = "unknown"
|
|
95
|
+
Unknown = "unknown"
|
|
96
96
|
}
|
|
97
97
|
/**
|
|
98
98
|
* Operating system information
|
|
@@ -110,20 +110,12 @@ interface OsInfo {
|
|
|
110
110
|
kind?: OsKind;
|
|
111
111
|
[key: string]: string | ShellKind | OsKind | undefined;
|
|
112
112
|
}
|
|
113
|
-
/**
|
|
114
|
-
* Md component props - wrapper for conditional Markdown content
|
|
115
|
-
* @example <Md when={os.kind === 'mac'}>macOS specific content</Md>
|
|
116
|
-
*/
|
|
117
113
|
interface MdProps {
|
|
118
114
|
/** Condition for rendering content. If omitted, content always renders. */
|
|
119
115
|
when?: boolean;
|
|
120
116
|
/** Child content to render when condition is met */
|
|
121
117
|
children?: unknown;
|
|
122
118
|
}
|
|
123
|
-
/**
|
|
124
|
-
* Md.Line component props - inline conditional text
|
|
125
|
-
* @example <Md.Line when={os.kind === 'win'}>PowerShell</Md.Line>
|
|
126
|
-
*/
|
|
127
119
|
interface MdLineProps {
|
|
128
120
|
/** Condition for rendering content. If omitted, content always renders. */
|
|
129
121
|
when?: boolean;
|
|
@@ -134,17 +126,7 @@ interface MdLineProps {
|
|
|
134
126
|
* Md component type with Line sub-component
|
|
135
127
|
*/
|
|
136
128
|
interface MdComponent {
|
|
137
|
-
/**
|
|
138
|
-
* Block-level conditional Markdown wrapper
|
|
139
|
-
* @param props - Component props including optional `when` condition
|
|
140
|
-
* @returns Rendered content or nothing if condition is false
|
|
141
|
-
*/
|
|
142
129
|
(props: MdProps): unknown;
|
|
143
|
-
/**
|
|
144
|
-
* Inline conditional text component
|
|
145
|
-
* @param props - Component props including optional `when` condition
|
|
146
|
-
* @returns Inline text or nothing if condition is false
|
|
147
|
-
*/
|
|
148
130
|
Line: (props: MdLineProps) => unknown;
|
|
149
131
|
}
|
|
150
132
|
/**
|
|
@@ -167,9 +149,7 @@ declare global {
|
|
|
167
149
|
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;
|
|
168
150
|
namespace JSX {
|
|
169
151
|
interface IntrinsicElements {
|
|
170
|
-
/** Block-level conditional Markdown wrapper @example <Md when={os.kind === 'mac'}>macOS content</Md> */
|
|
171
152
|
'Md': MdProps;
|
|
172
|
-
/** Inline conditional text @example <Md.Line when={os.kind === 'win'}>PowerShell</Md.Line> */
|
|
173
153
|
'Md.Line': MdLineProps;
|
|
174
154
|
}
|
|
175
155
|
}
|
package/dist/globals/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const e={default:{websearch:`web_search`,webfetch:`web_fetch`,readFile:`read_file`,writeFile:`write_file`,executeCommand:`execute_command`,todolistWrite:`todolist_write`,grep:`grep`},claudeCode:{readFile:`Read`,writeFile:`Write`,executeCommand:`Execute`,todolistWrite:`TodoWrite`},kiro:{websearch:`remote_web_search`,webfetch:`webFetch`,readFile:`readFile`,writeFile:`fsWrite`,executeCommand:`executeBash`,todolistWrite:`todolistWrite`,grep:`grepSearch`}};let t=function(e){return e.Bash=`bash`,e.Zsh=`zsh`,e.Fish=`fish`,e.Sh=`sh`,e.PowerShell=`powershell`,e.Pwsh=`pwsh`,e.Cmd=`cmd`,e.Unknown=`unknown`,e}({}),n=function(e){return e.Win=`win`,e.Mac=`mac`,e.Linux=`linux`,e.Unknown=`unknown`,e}({});export{n as OsKind,t as ShellKind,e as ToolPresets};
|
|
1
|
+
const e={default:{websearch:`web_search`,webfetch:`web_fetch`,readFile:`read_file`,writeFile:`write_file`,executeCommand:`execute_command`,todolistWrite:`todolist_write`,grep:`grep`,listDirectory:`list_directory`},claudeCode:{readFile:`Read`,writeFile:`Write`,executeCommand:`Execute`,todolistWrite:`TodoWrite`,listDirectory:`List`},kiro:{websearch:`remote_web_search`,webfetch:`webFetch`,readFile:`readFile`,writeFile:`fsWrite`,executeCommand:`executeBash`,todolistWrite:`todolistWrite`,grep:`grepSearch`,listDirectory:`listDir`}};let t=function(e){return e.Bash=`bash`,e.Zsh=`zsh`,e.Fish=`fish`,e.Sh=`sh`,e.PowerShell=`powershell`,e.Pwsh=`pwsh`,e.Cmd=`cmd`,e.Unknown=`unknown`,e}({}),n=function(e){return e.Win=`win`,e.Mac=`mac`,e.Linux=`linux`,e.Unknown=`unknown`,e}({});export{n as OsKind,t as ShellKind,e as ToolPresets};
|