@alcyone-labs/arg-parser 2.14.2 → 3.0.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/README.md +20 -127
- package/dist/config/plugins/index.d.ts +36 -4
- package/dist/config/plugins/index.d.ts.map +1 -1
- package/dist/core/ArgParser.d.ts +124 -464
- package/dist/core/ArgParser.d.ts.map +1 -1
- package/dist/core/FlagManager.d.ts +36 -136
- package/dist/core/FlagManager.d.ts.map +1 -1
- package/dist/core/PromptManager.d.ts +42 -91
- package/dist/core/PromptManager.d.ts.map +1 -1
- package/dist/core/log-path-utils.d.ts +28 -36
- package/dist/core/log-path-utils.d.ts.map +1 -1
- package/dist/core/types.d.ts +83 -592
- package/dist/core/types.d.ts.map +1 -1
- package/dist/index.cjs +599 -9658
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +26 -15
- package/dist/index.d.ts.map +1 -1
- package/dist/index.min.mjs +615 -8224
- package/dist/index.min.mjs.map +1 -1
- package/dist/index.mjs +581 -8881
- package/dist/index.mjs.map +1 -1
- package/dist/plugin/types.d.ts +121 -0
- package/dist/plugin/types.d.ts.map +1 -0
- package/dist/utils/debug-utils.d.ts +4 -26
- package/dist/utils/debug-utils.d.ts.map +1 -1
- package/package.json +12 -73
- package/dist/assets/.dxtignore.template +0 -37
- package/dist/assets/logo_1_small.jpg +0 -0
- package/dist/config/ConfigurationManager.d.ts +0 -82
- package/dist/config/ConfigurationManager.d.ts.map +0 -1
- package/dist/config/plugins/ConfigPlugin.d.ts +0 -60
- package/dist/config/plugins/ConfigPlugin.d.ts.map +0 -1
- package/dist/config/plugins/ConfigPluginRegistry.d.ts +0 -72
- package/dist/config/plugins/ConfigPluginRegistry.d.ts.map +0 -1
- package/dist/config/plugins/TomlConfigPlugin.d.ts +0 -30
- package/dist/config/plugins/TomlConfigPlugin.d.ts.map +0 -1
- package/dist/config/plugins/YamlConfigPlugin.d.ts +0 -29
- package/dist/config/plugins/YamlConfigPlugin.d.ts.map +0 -1
- package/dist/core/ArgParserBase.d.ts +0 -319
- package/dist/core/ArgParserBase.d.ts.map +0 -1
- package/dist/core/dxt-path-resolver.d.ts +0 -100
- package/dist/core/dxt-path-resolver.d.ts.map +0 -1
- package/dist/dxt/DxtGenerator-testUtils.d.ts +0 -22
- package/dist/dxt/DxtGenerator-testUtils.d.ts.map +0 -1
- package/dist/dxt/DxtGenerator.d.ts +0 -120
- package/dist/dxt/DxtGenerator.d.ts.map +0 -1
- package/dist/mcp/ArgParserMcp.d.ts +0 -21
- package/dist/mcp/ArgParserMcp.d.ts.map +0 -1
- package/dist/mcp/mcp-integration.d.ts +0 -86
- package/dist/mcp/mcp-integration.d.ts.map +0 -1
- package/dist/mcp/mcp-lifecycle.d.ts +0 -163
- package/dist/mcp/mcp-lifecycle.d.ts.map +0 -1
- package/dist/mcp/mcp-notifications.d.ts +0 -132
- package/dist/mcp/mcp-notifications.d.ts.map +0 -1
- package/dist/mcp/mcp-prompts.d.ts +0 -132
- package/dist/mcp/mcp-prompts.d.ts.map +0 -1
- package/dist/mcp/mcp-protocol-versions.d.ts +0 -150
- package/dist/mcp/mcp-protocol-versions.d.ts.map +0 -1
- package/dist/mcp/mcp-resources.d.ts +0 -133
- package/dist/mcp/mcp-resources.d.ts.map +0 -1
- package/dist/mcp/mcp-utils.d.ts +0 -20
- package/dist/mcp/mcp-utils.d.ts.map +0 -1
- package/dist/mcp/zod-compatibility.d.ts +0 -74
- package/dist/mcp/zod-compatibility.d.ts.map +0 -1
- package/dist/testing/fuzzy-test-cli.d.ts +0 -5
- package/dist/testing/fuzzy-test-cli.d.ts.map +0 -1
- package/dist/testing/fuzzy-tester.d.ts +0 -101
- package/dist/testing/fuzzy-tester.d.ts.map +0 -1
- package/dist/tui/index.d.ts +0 -281
- package/dist/tui/types.d.ts +0 -60
- package/dist/tui/types.d.ts.map +0 -1
- package/dist/tui.cjs +0 -1060
- package/dist/tui.cjs.map +0 -1
- package/dist/tui.mjs +0 -967
- package/dist/tui.mjs.map +0 -1
package/dist/tui/types.d.ts
DELETED
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* OpenTUI v2 Types
|
|
3
|
-
*
|
|
4
|
-
* Shared type definitions for the TUI system.
|
|
5
|
-
* These can be safely exported from the main library without
|
|
6
|
-
* importing the TUI runtime (which has bundler requirements).
|
|
7
|
-
*/
|
|
8
|
-
/**
|
|
9
|
-
* Theme color palette definition
|
|
10
|
-
*/
|
|
11
|
-
export interface TuiTheme {
|
|
12
|
-
name: string;
|
|
13
|
-
colors: {
|
|
14
|
-
/** Primary text color */
|
|
15
|
-
text: string;
|
|
16
|
-
/** Muted/secondary text */
|
|
17
|
-
muted: string;
|
|
18
|
-
/** Background color */
|
|
19
|
-
background: string;
|
|
20
|
-
/** Accent/highlight color */
|
|
21
|
-
accent: string;
|
|
22
|
-
/** Success state color */
|
|
23
|
-
success: string;
|
|
24
|
-
/** Warning state color */
|
|
25
|
-
warning: string;
|
|
26
|
-
/** Error state color */
|
|
27
|
-
error: string;
|
|
28
|
-
/** Border color */
|
|
29
|
-
border: string;
|
|
30
|
-
/** Selection/highlight background */
|
|
31
|
-
selection: string;
|
|
32
|
-
};
|
|
33
|
-
}
|
|
34
|
-
/**
|
|
35
|
-
* Shortcut binding definition
|
|
36
|
-
*/
|
|
37
|
-
export interface ShortcutBinding {
|
|
38
|
-
/** Key combination (e.g., "ctrl+t", "ctrl+x g" for chord) */
|
|
39
|
-
key: string;
|
|
40
|
-
/** Action to execute when shortcut triggers */
|
|
41
|
-
action: () => void;
|
|
42
|
-
/** Human-readable description for help */
|
|
43
|
-
description?: string;
|
|
44
|
-
}
|
|
45
|
-
/**
|
|
46
|
-
* Toast notification type
|
|
47
|
-
*/
|
|
48
|
-
export type ToastType = "info" | "success" | "error" | "warning";
|
|
49
|
-
/**
|
|
50
|
-
* Configuration options for creating a TUI application
|
|
51
|
-
*/
|
|
52
|
-
export interface TuiAppConfig {
|
|
53
|
-
/** Initial theme name (default: "dark") */
|
|
54
|
-
theme?: string;
|
|
55
|
-
/** Global keyboard shortcut bindings */
|
|
56
|
-
shortcuts?: ShortcutBinding[];
|
|
57
|
-
/** Called when the app is destroyed/exited */
|
|
58
|
-
onDestroy?: () => void;
|
|
59
|
-
}
|
|
60
|
-
//# sourceMappingURL=types.d.ts.map
|
package/dist/tui/types.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/tui/types.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH;;GAEG;AACH,MAAM,WAAW,QAAQ;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE;QACN,yBAAyB;QACzB,IAAI,EAAE,MAAM,CAAC;QACb,2BAA2B;QAC3B,KAAK,EAAE,MAAM,CAAC;QACd,uBAAuB;QACvB,UAAU,EAAE,MAAM,CAAC;QACnB,6BAA6B;QAC7B,MAAM,EAAE,MAAM,CAAC;QACf,0BAA0B;QAC1B,OAAO,EAAE,MAAM,CAAC;QAChB,0BAA0B;QAC1B,OAAO,EAAE,MAAM,CAAC;QAChB,wBAAwB;QACxB,KAAK,EAAE,MAAM,CAAC;QACd,mBAAmB;QACnB,MAAM,EAAE,MAAM,CAAC;QACf,qCAAqC;QACrC,SAAS,EAAE,MAAM,CAAC;KACnB,CAAC;CACH;AAED;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B,6DAA6D;IAC7D,GAAG,EAAE,MAAM,CAAC;IACZ,+CAA+C;IAC/C,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,0CAA0C;IAC1C,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED;;GAEG;AACH,MAAM,MAAM,SAAS,GAAG,MAAM,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,CAAC;AAEjE;;GAEG;AACH,MAAM,WAAW,YAAY;IAC3B,2CAA2C;IAC3C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,wCAAwC;IACxC,SAAS,CAAC,EAAE,eAAe,EAAE,CAAC;IAC9B,8CAA8C;IAC9C,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;CACxB"}
|