@truenine/memory-sync-cli 2026.10118.11510 → 2026.10120.117
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 +2 -27
- package/dist/index.mjs +72 -72
- package/package.json +3 -3
package/dist/globals/index.d.mts
CHANGED
|
@@ -81,18 +81,13 @@ declare enum ShellKind {
|
|
|
81
81
|
PowerShell = "powershell",
|
|
82
82
|
Pwsh = "pwsh",
|
|
83
83
|
Cmd = "cmd",
|
|
84
|
-
Unknown = "unknown"
|
|
84
|
+
Unknown = "unknown"
|
|
85
85
|
}
|
|
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
86
|
declare enum OsKind {
|
|
92
87
|
Win = "win",
|
|
93
88
|
Mac = "mac",
|
|
94
89
|
Linux = "linux",
|
|
95
|
-
Unknown = "unknown"
|
|
90
|
+
Unknown = "unknown"
|
|
96
91
|
}
|
|
97
92
|
/**
|
|
98
93
|
* Operating system information
|
|
@@ -110,20 +105,12 @@ interface OsInfo {
|
|
|
110
105
|
kind?: OsKind;
|
|
111
106
|
[key: string]: string | ShellKind | OsKind | undefined;
|
|
112
107
|
}
|
|
113
|
-
/**
|
|
114
|
-
* Md component props - wrapper for conditional Markdown content
|
|
115
|
-
* @example <Md when={os.kind === 'mac'}>macOS specific content</Md>
|
|
116
|
-
*/
|
|
117
108
|
interface MdProps {
|
|
118
109
|
/** Condition for rendering content. If omitted, content always renders. */
|
|
119
110
|
when?: boolean;
|
|
120
111
|
/** Child content to render when condition is met */
|
|
121
112
|
children?: unknown;
|
|
122
113
|
}
|
|
123
|
-
/**
|
|
124
|
-
* Md.Line component props - inline conditional text
|
|
125
|
-
* @example <Md.Line when={os.kind === 'win'}>PowerShell</Md.Line>
|
|
126
|
-
*/
|
|
127
114
|
interface MdLineProps {
|
|
128
115
|
/** Condition for rendering content. If omitted, content always renders. */
|
|
129
116
|
when?: boolean;
|
|
@@ -134,17 +121,7 @@ interface MdLineProps {
|
|
|
134
121
|
* Md component type with Line sub-component
|
|
135
122
|
*/
|
|
136
123
|
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
124
|
(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
125
|
Line: (props: MdLineProps) => unknown;
|
|
149
126
|
}
|
|
150
127
|
/**
|
|
@@ -167,9 +144,7 @@ declare global {
|
|
|
167
144
|
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
145
|
namespace JSX {
|
|
169
146
|
interface IntrinsicElements {
|
|
170
|
-
/** Block-level conditional Markdown wrapper @example <Md when={os.kind === 'mac'}>macOS content</Md> */
|
|
171
147
|
'Md': MdProps;
|
|
172
|
-
/** Inline conditional text @example <Md.Line when={os.kind === 'win'}>PowerShell</Md.Line> */
|
|
173
148
|
'Md.Line': MdLineProps;
|
|
174
149
|
}
|
|
175
150
|
}
|