poe-code 3.0.178 → 3.0.180

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 (174) hide show
  1. package/dist/index.js +6 -2
  2. package/dist/index.js.map +2 -2
  3. package/dist/prompts/github-issue-opened.md +7 -1
  4. package/dist/prompts/github-pull-request-opened.md +4 -0
  5. package/dist/prompts/github-pull-request-synchronized.md +4 -0
  6. package/dist/variables.yaml +46 -1
  7. package/dist/workflow-templates/github-issue-opened.caller.yml +1 -0
  8. package/dist/workflow-templates/github-issue-opened.ejected.yml +52 -0
  9. package/dist/workflow-templates/github-pull-request-opened.caller.yml +1 -0
  10. package/dist/workflow-templates/github-pull-request-opened.ejected.yml +52 -0
  11. package/dist/workflow-templates/github-pull-request-synchronized.caller.yml +1 -0
  12. package/dist/workflow-templates/github-pull-request-synchronized.ejected.yml +52 -0
  13. package/package.json +6 -2
  14. package/packages/cmdkit/dist/cli.compile-check.d.ts +1 -0
  15. package/packages/cmdkit/dist/cli.compile-check.js +26 -0
  16. package/packages/cmdkit/dist/cli.d.ts +12 -0
  17. package/packages/cmdkit/dist/cli.js +2306 -0
  18. package/packages/cmdkit/dist/cli.js.map +7 -0
  19. package/packages/cmdkit/dist/index.compile-check.d.ts +1 -0
  20. package/packages/cmdkit/dist/index.compile-check.js +50 -0
  21. package/packages/cmdkit/dist/index.d.ts +164 -0
  22. package/packages/cmdkit/dist/index.js +518 -0
  23. package/packages/cmdkit/dist/index.js.map +7 -0
  24. package/packages/cmdkit/dist/mcp.compile-check.d.ts +1 -0
  25. package/packages/cmdkit/dist/mcp.compile-check.js +26 -0
  26. package/packages/cmdkit/dist/mcp.d.ts +16 -0
  27. package/packages/cmdkit/dist/mcp.js +1153 -0
  28. package/packages/cmdkit/dist/mcp.js.map +7 -0
  29. package/packages/cmdkit/dist/renderer.d.ts +5 -0
  30. package/packages/cmdkit/dist/renderer.js +164 -0
  31. package/packages/cmdkit/dist/renderer.js.map +7 -0
  32. package/packages/cmdkit/dist/sdk.compile-check.d.ts +1 -0
  33. package/packages/cmdkit/dist/sdk.compile-check.js +79 -0
  34. package/packages/cmdkit/dist/sdk.d.ts +63 -0
  35. package/packages/cmdkit/dist/sdk.js +314 -0
  36. package/packages/cmdkit/dist/sdk.js.map +7 -0
  37. package/packages/cmdkit-schema/dist/index.compile-check.d.ts +1 -0
  38. package/packages/cmdkit-schema/dist/index.compile-check.js +11 -0
  39. package/packages/cmdkit-schema/dist/index.d.ts +81 -0
  40. package/packages/cmdkit-schema/dist/index.js +130 -0
  41. package/packages/design-system/dist/acp/components.d.ts +11 -0
  42. package/packages/design-system/dist/acp/components.js +121 -0
  43. package/packages/design-system/dist/acp/index.d.ts +3 -0
  44. package/packages/design-system/dist/acp/index.js +2 -0
  45. package/packages/design-system/dist/acp/writer.d.ts +13 -0
  46. package/packages/design-system/dist/acp/writer.js +21 -0
  47. package/packages/design-system/dist/components/command-errors.d.ts +16 -0
  48. package/packages/design-system/dist/components/command-errors.js +22 -0
  49. package/packages/design-system/dist/components/help-formatter.d.ts +20 -0
  50. package/packages/design-system/dist/components/help-formatter.js +27 -0
  51. package/packages/design-system/dist/components/index.d.ts +10 -0
  52. package/packages/design-system/dist/components/index.js +7 -0
  53. package/packages/design-system/dist/components/logger.d.ts +11 -0
  54. package/packages/design-system/dist/components/logger.js +60 -0
  55. package/packages/design-system/dist/components/symbols.d.ts +12 -0
  56. package/packages/design-system/dist/components/symbols.js +71 -0
  57. package/packages/design-system/dist/components/table.d.ts +13 -0
  58. package/packages/design-system/dist/components/table.js +74 -0
  59. package/packages/design-system/dist/components/text.d.ts +14 -0
  60. package/packages/design-system/dist/components/text.js +104 -0
  61. package/packages/design-system/dist/dashboard/ansi.d.ts +18 -0
  62. package/packages/design-system/dist/dashboard/ansi.js +298 -0
  63. package/packages/design-system/dist/dashboard/buffer.d.ts +25 -0
  64. package/packages/design-system/dist/dashboard/buffer.js +189 -0
  65. package/packages/design-system/dist/dashboard/components/border.d.ts +9 -0
  66. package/packages/design-system/dist/dashboard/components/border.js +123 -0
  67. package/packages/design-system/dist/dashboard/components/footer.d.ts +8 -0
  68. package/packages/design-system/dist/dashboard/components/footer.js +58 -0
  69. package/packages/design-system/dist/dashboard/components/output-pane.d.ts +21 -0
  70. package/packages/design-system/dist/dashboard/components/output-pane.js +323 -0
  71. package/packages/design-system/dist/dashboard/components/stats-pane.d.ts +7 -0
  72. package/packages/design-system/dist/dashboard/components/stats-pane.js +120 -0
  73. package/packages/design-system/dist/dashboard/dashboard.d.ts +20 -0
  74. package/packages/design-system/dist/dashboard/dashboard.js +187 -0
  75. package/packages/design-system/dist/dashboard/demo.d.ts +13 -0
  76. package/packages/design-system/dist/dashboard/demo.js +145 -0
  77. package/packages/design-system/dist/dashboard/index.d.ts +7 -0
  78. package/packages/design-system/dist/dashboard/index.js +3 -0
  79. package/packages/design-system/dist/dashboard/keymap.d.ts +3 -0
  80. package/packages/design-system/dist/dashboard/keymap.js +114 -0
  81. package/packages/design-system/dist/dashboard/layout.d.ts +25 -0
  82. package/packages/design-system/dist/dashboard/layout.js +79 -0
  83. package/packages/design-system/dist/dashboard/snapshot.d.ts +10 -0
  84. package/packages/design-system/dist/dashboard/snapshot.js +72 -0
  85. package/packages/design-system/dist/dashboard/store.d.ts +9 -0
  86. package/packages/design-system/dist/dashboard/store.js +107 -0
  87. package/packages/design-system/dist/dashboard/terminal.d.ts +35 -0
  88. package/packages/design-system/dist/dashboard/terminal.js +215 -0
  89. package/packages/design-system/dist/dashboard/types.d.ts +45 -0
  90. package/packages/design-system/dist/dashboard/types.js +1 -0
  91. package/packages/design-system/dist/index.d.ts +33 -0
  92. package/packages/design-system/dist/index.js +31 -0
  93. package/packages/design-system/dist/internal/output-format.d.ts +6 -0
  94. package/packages/design-system/dist/internal/output-format.js +22 -0
  95. package/packages/design-system/dist/internal/strip-ansi.d.ts +1 -0
  96. package/packages/design-system/dist/internal/strip-ansi.js +3 -0
  97. package/packages/design-system/dist/internal/theme-detect.d.ts +11 -0
  98. package/packages/design-system/dist/internal/theme-detect.js +49 -0
  99. package/packages/design-system/dist/prompts/index.d.ts +66 -0
  100. package/packages/design-system/dist/prompts/index.js +132 -0
  101. package/packages/design-system/dist/prompts/primitives/cancel.d.ts +2 -0
  102. package/packages/design-system/dist/prompts/primitives/cancel.js +9 -0
  103. package/packages/design-system/dist/prompts/primitives/intro.d.ts +1 -0
  104. package/packages/design-system/dist/prompts/primitives/intro.js +15 -0
  105. package/packages/design-system/dist/prompts/primitives/log.d.ts +18 -0
  106. package/packages/design-system/dist/prompts/primitives/log.js +101 -0
  107. package/packages/design-system/dist/prompts/primitives/note.d.ts +1 -0
  108. package/packages/design-system/dist/prompts/primitives/note.js +39 -0
  109. package/packages/design-system/dist/prompts/primitives/outro.d.ts +1 -0
  110. package/packages/design-system/dist/prompts/primitives/outro.js +16 -0
  111. package/packages/design-system/dist/prompts/primitives/spinner.d.ts +6 -0
  112. package/packages/design-system/dist/prompts/primitives/spinner.js +74 -0
  113. package/packages/design-system/dist/prompts/theme.d.ts +11 -0
  114. package/packages/design-system/dist/prompts/theme.js +12 -0
  115. package/packages/design-system/dist/static/index.d.ts +4 -0
  116. package/packages/design-system/dist/static/index.js +2 -0
  117. package/packages/design-system/dist/static/menu.d.ts +11 -0
  118. package/packages/design-system/dist/static/menu.js +36 -0
  119. package/packages/design-system/dist/static/spinner.d.ts +14 -0
  120. package/packages/design-system/dist/static/spinner.js +46 -0
  121. package/packages/design-system/dist/terminal-markdown/ast.d.ts +84 -0
  122. package/packages/design-system/dist/terminal-markdown/ast.js +1 -0
  123. package/packages/design-system/dist/terminal-markdown/demo-content.d.ts +2 -0
  124. package/packages/design-system/dist/terminal-markdown/demo-content.js +139 -0
  125. package/packages/design-system/dist/terminal-markdown/index.d.ts +6 -0
  126. package/packages/design-system/dist/terminal-markdown/index.js +8 -0
  127. package/packages/design-system/dist/terminal-markdown/parser/block.d.ts +6 -0
  128. package/packages/design-system/dist/terminal-markdown/parser/block.js +1205 -0
  129. package/packages/design-system/dist/terminal-markdown/parser/frontmatter.d.ts +6 -0
  130. package/packages/design-system/dist/terminal-markdown/parser/frontmatter.js +395 -0
  131. package/packages/design-system/dist/terminal-markdown/parser/inline.d.ts +6 -0
  132. package/packages/design-system/dist/terminal-markdown/parser/inline.js +1087 -0
  133. package/packages/design-system/dist/terminal-markdown/parser.d.ts +5 -0
  134. package/packages/design-system/dist/terminal-markdown/parser.js +13 -0
  135. package/packages/design-system/dist/terminal-markdown/renderer.d.ts +6 -0
  136. package/packages/design-system/dist/terminal-markdown/renderer.js +572 -0
  137. package/packages/design-system/dist/terminal-markdown/testing/theme-render-fixture.d.ts +1 -0
  138. package/packages/design-system/dist/terminal-markdown/testing/theme-render-fixture.js +27 -0
  139. package/packages/design-system/dist/tokens/colors.d.ts +35 -0
  140. package/packages/design-system/dist/tokens/colors.js +34 -0
  141. package/packages/design-system/dist/tokens/index.d.ts +4 -0
  142. package/packages/design-system/dist/tokens/index.js +4 -0
  143. package/packages/design-system/dist/tokens/spacing.d.ts +6 -0
  144. package/packages/design-system/dist/tokens/spacing.js +6 -0
  145. package/packages/design-system/dist/tokens/typography.d.ts +7 -0
  146. package/packages/design-system/dist/tokens/typography.js +8 -0
  147. package/packages/design-system/dist/tokens/widths.d.ts +5 -0
  148. package/packages/design-system/dist/tokens/widths.js +5 -0
  149. package/packages/tiny-stdio-mcp-server/dist/content/audio.d.ts +14 -0
  150. package/packages/tiny-stdio-mcp-server/dist/content/audio.js +76 -0
  151. package/packages/tiny-stdio-mcp-server/dist/content/convert.d.ts +16 -0
  152. package/packages/tiny-stdio-mcp-server/dist/content/convert.js +42 -0
  153. package/packages/tiny-stdio-mcp-server/dist/content/file-type.d.ts +11 -0
  154. package/packages/tiny-stdio-mcp-server/dist/content/file-type.js +93 -0
  155. package/packages/tiny-stdio-mcp-server/dist/content/file.d.ts +26 -0
  156. package/packages/tiny-stdio-mcp-server/dist/content/file.js +94 -0
  157. package/packages/tiny-stdio-mcp-server/dist/content/image.d.ts +14 -0
  158. package/packages/tiny-stdio-mcp-server/dist/content/image.js +64 -0
  159. package/packages/tiny-stdio-mcp-server/dist/content/index.d.ts +5 -0
  160. package/packages/tiny-stdio-mcp-server/dist/content/index.js +8 -0
  161. package/packages/tiny-stdio-mcp-server/dist/content/mime.d.ts +1 -0
  162. package/packages/tiny-stdio-mcp-server/dist/content/mime.js +1 -0
  163. package/packages/tiny-stdio-mcp-server/dist/index.d.ts +9 -0
  164. package/packages/tiny-stdio-mcp-server/dist/index.js +7 -0
  165. package/packages/tiny-stdio-mcp-server/dist/jsonrpc.d.ts +14 -0
  166. package/packages/tiny-stdio-mcp-server/dist/jsonrpc.js +99 -0
  167. package/packages/tiny-stdio-mcp-server/dist/schema.d.ts +19 -0
  168. package/packages/tiny-stdio-mcp-server/dist/schema.js +18 -0
  169. package/packages/tiny-stdio-mcp-server/dist/server.d.ts +13 -0
  170. package/packages/tiny-stdio-mcp-server/dist/server.js +226 -0
  171. package/packages/tiny-stdio-mcp-server/dist/testing.d.ts +7 -0
  172. package/packages/tiny-stdio-mcp-server/dist/testing.js +20 -0
  173. package/packages/tiny-stdio-mcp-server/dist/types.d.ts +119 -0
  174. package/packages/tiny-stdio-mcp-server/dist/types.js +16 -0
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,50 @@
1
+ import { S } from "@poe-code/cmdkit-schema";
2
+ import { defineCommand, defineGroup } from "./index.js";
3
+ const ignoredScope = ["cli", "sdk"];
4
+ const ignoredSecrets = {
5
+ apiKey: { env: "API_KEY" },
6
+ sessionToken: { env: "SESSION_TOKEN", optional: true },
7
+ };
8
+ const ignoredCommand = defineCommand({
9
+ name: "deploy",
10
+ params: S.Object({
11
+ name: S.String(),
12
+ force: S.Optional(S.Boolean()),
13
+ }),
14
+ secrets: ignoredSecrets,
15
+ requires: {
16
+ auth: true,
17
+ },
18
+ render: {
19
+ json: (result) => result,
20
+ },
21
+ handler: async ({ params, secrets, fetch, fs, env, progress }) => {
22
+ progress(params.name);
23
+ await fs.exists("/tmp");
24
+ env.get("HOME");
25
+ void fetch;
26
+ return {
27
+ authenticated: Boolean(secrets.apiKey),
28
+ force: params.force ?? false,
29
+ };
30
+ },
31
+ });
32
+ const ignoredGroup = defineGroup({
33
+ name: "root",
34
+ scope: ignoredScope,
35
+ secrets: {
36
+ rootToken: { env: "ROOT_TOKEN" },
37
+ },
38
+ children: [ignoredCommand],
39
+ default: ignoredCommand,
40
+ });
41
+ const ignoredStringSchema = S.String();
42
+ const ignoredNumberSchema = S.Number();
43
+ const ignoredBooleanSchema = S.Boolean();
44
+ const ignoredEnumSchema = S.Enum(["cli", "sdk"]);
45
+ const ignoredArraySchema = S.Array(S.String());
46
+ const ignoredObjectSchema = S.Object({
47
+ name: S.String(),
48
+ enabled: S.Optional(S.Boolean()),
49
+ });
50
+ const ignoredOptionalSchema = S.Optional(S.Number());
@@ -0,0 +1,164 @@
1
+ import type { ObjectSchema, Static } from "../../cmdkit-schema/dist/index.js";
2
+ import type { LoggerOutput, RenderTableOptions, ThemePalette } from "../../design-system/dist/index.js";
3
+ type ScopeValue = "cli" | "mcp" | "sdk";
4
+ type AnyObjectSchema = ObjectSchema<Record<string, never>>;
5
+ type EmptyServices = Record<string, never>;
6
+ type ScopeInput = readonly Scope[] | undefined;
7
+ export type Scope = ScopeValue;
8
+ export interface SecretDefinition {
9
+ env: string;
10
+ description?: string;
11
+ optional?: boolean;
12
+ }
13
+ export type SecretDeclarations = Record<string, SecretDefinition>;
14
+ type OptionalSecretKeys<TSecrets extends SecretDeclarations> = {
15
+ [TKey in keyof TSecrets]: TSecrets[TKey] extends {
16
+ optional: true;
17
+ } ? TKey : never;
18
+ }[keyof TSecrets];
19
+ type RequiredSecretKeys<TSecrets extends SecretDeclarations> = Exclude<keyof TSecrets, OptionalSecretKeys<TSecrets>>;
20
+ export type InferSecrets<TSecrets extends SecretDeclarations | undefined> = TSecrets extends SecretDeclarations ? {
21
+ [TKey in RequiredSecretKeys<TSecrets>]: string;
22
+ } & {
23
+ [TKey in OptionalSecretKeys<TSecrets>]?: string;
24
+ } : Record<string, never>;
25
+ export interface HandlerFs {
26
+ readFile(path: string, encoding?: BufferEncoding): Promise<string>;
27
+ writeFile(path: string, contents: string): Promise<void>;
28
+ exists(path: string): Promise<boolean>;
29
+ }
30
+ export interface HandlerEnv {
31
+ get(key: string): string | undefined;
32
+ }
33
+ export interface RenderPrimitives {
34
+ logger: LoggerOutput;
35
+ renderTable(options: RenderTableOptions): string;
36
+ getTheme(): ThemePalette;
37
+ note(message: string, title?: string): void;
38
+ }
39
+ export interface CheckResult {
40
+ ok: boolean;
41
+ message?: string;
42
+ }
43
+ export type GroupCheckContext<TServices extends object = EmptyServices> = TServices & {
44
+ params?: unknown;
45
+ secrets?: Record<string, string | undefined>;
46
+ fetch: typeof globalThis.fetch;
47
+ fs: HandlerFs;
48
+ env: HandlerEnv;
49
+ progress(message: string): void;
50
+ };
51
+ export type CommandCheckContext<TParamsSchema extends ObjectSchema<any> = AnyObjectSchema, TSecrets extends SecretDeclarations | undefined = undefined, TServices extends object = EmptyServices> = TServices & {
52
+ params?: Static<TParamsSchema>;
53
+ secrets?: InferSecrets<TSecrets>;
54
+ fetch: typeof globalThis.fetch;
55
+ fs: HandlerFs;
56
+ env: HandlerEnv;
57
+ progress(message: string): void;
58
+ };
59
+ export interface Requires<TContext = unknown> {
60
+ auth?: boolean;
61
+ apiVersion?: string;
62
+ check?: (ctx: TContext) => Promise<CheckResult>;
63
+ }
64
+ export interface Renderers<TResult> {
65
+ rich?: (result: TResult, primitives: RenderPrimitives) => void;
66
+ markdown?: (result: TResult, primitives: RenderPrimitives) => string;
67
+ json?: (result: TResult, primitives: RenderPrimitives) => unknown;
68
+ }
69
+ export type HandlerContext<TParamsSchema extends ObjectSchema<any> = AnyObjectSchema, TSecrets extends SecretDeclarations | undefined = undefined, TServices extends object = EmptyServices> = TServices & {
70
+ params: Static<TParamsSchema>;
71
+ secrets: InferSecrets<TSecrets>;
72
+ fetch: typeof globalThis.fetch;
73
+ fs: HandlerFs;
74
+ env: HandlerEnv;
75
+ progress(message: string): void;
76
+ };
77
+ export interface CommandConfig<TServices extends object, TParamsSchema extends ObjectSchema<any>, TSecrets extends SecretDeclarations | undefined, TResult> {
78
+ name: string;
79
+ description?: string;
80
+ aliases?: string[];
81
+ positional?: string[];
82
+ params: TParamsSchema;
83
+ secrets?: TSecrets;
84
+ scope?: Scope[];
85
+ confirm?: boolean;
86
+ requires?: Requires<CommandCheckContext<TParamsSchema, TSecrets, TServices>>;
87
+ handler: (ctx: HandlerContext<TParamsSchema, TSecrets, TServices>) => Promise<TResult>;
88
+ render?: Renderers<TResult>;
89
+ }
90
+ export interface Command<TServices extends object = EmptyServices, TParamsSchema extends ObjectSchema<any> = AnyObjectSchema, TSecrets extends SecretDeclarations | undefined = undefined, TResult = unknown> {
91
+ kind: "command";
92
+ name: string;
93
+ description?: string;
94
+ aliases: string[];
95
+ positional: string[];
96
+ params: TParamsSchema;
97
+ secrets: SecretDeclarations;
98
+ scope: Scope[];
99
+ confirm: boolean;
100
+ requires?: Requires<any>;
101
+ handler: (ctx: HandlerContext<TParamsSchema, TSecrets, TServices>) => Promise<TResult>;
102
+ render?: Renderers<TResult>;
103
+ }
104
+ export interface GroupConfig<TServices extends object> {
105
+ name: string;
106
+ description?: string;
107
+ aliases?: string[];
108
+ scope?: Scope[];
109
+ secrets?: SecretDeclarations;
110
+ requires?: Requires<GroupCheckContext<TServices>>;
111
+ children: Array<CommandNode<TServices>>;
112
+ default?: Command<TServices, any, any, any>;
113
+ }
114
+ export interface Group<TServices extends object = EmptyServices> {
115
+ kind: "group";
116
+ name: string;
117
+ description?: string;
118
+ aliases: string[];
119
+ scope?: Scope[];
120
+ secrets: SecretDeclarations;
121
+ requires?: Requires<any>;
122
+ children: Array<CommandNode<TServices>>;
123
+ default?: Command<TServices, any, any, any>;
124
+ }
125
+ export type CommandNode<TServices extends object = EmptyServices> = Command<TServices, any, any, any> | Group<TServices>;
126
+ export interface CommandTypeInfo<TName extends string = string, TParamsSchema extends ObjectSchema<any> = AnyObjectSchema, TResult = unknown, TOwnScope extends ScopeInput = ScopeInput> {
127
+ name: TName;
128
+ params: TParamsSchema;
129
+ result: TResult;
130
+ ownScope: TOwnScope;
131
+ }
132
+ export interface GroupTypeInfo<TServices extends object = EmptyServices, TName extends string = string, TChildren extends readonly unknown[] = readonly CommandNode<TServices>[], TOwnScope extends ScopeInput = ScopeInput> {
133
+ name: TName;
134
+ children: TChildren;
135
+ ownScope: TOwnScope;
136
+ }
137
+ type TypedCommandMetadata<TName extends string, TParamsSchema extends ObjectSchema<any>, TResult, TOwnScope extends ScopeInput> = {
138
+ readonly __cmdkitCommandTypeInfo: CommandTypeInfo<TName, TParamsSchema, TResult, TOwnScope>;
139
+ };
140
+ type TypedGroupMetadata<TServices extends object, TName extends string, TChildren extends readonly unknown[], TOwnScope extends ScopeInput> = {
141
+ readonly __cmdkitGroupTypeInfo: GroupTypeInfo<TServices, TName, TChildren, TOwnScope>;
142
+ };
143
+ export declare class UserError extends Error {
144
+ constructor(message: string);
145
+ }
146
+ export interface CommandRequirementOptions {
147
+ apiVersion?: string;
148
+ authEnvVar?: string;
149
+ env?: Record<string, string | undefined>;
150
+ }
151
+ export declare function resolveCommandSecrets(command: Command<any, any, any, any>, env?: Record<string, string | undefined>): Record<string, string | undefined>;
152
+ export declare function assertCommandRequirements(command: Command<any, any, any, any>, context: GroupCheckContext<any>, options?: CommandRequirementOptions): Promise<void>;
153
+ export declare function defineCommand<TServices extends object = EmptyServices, TName extends string = string, TParamsSchema extends ObjectSchema<any> = AnyObjectSchema, TSecrets extends SecretDeclarations | undefined = undefined, TResult = unknown, TOwnScope extends ScopeInput = undefined>(config: Omit<CommandConfig<TServices, TParamsSchema, TSecrets, TResult>, "name" | "scope"> & {
154
+ name: TName;
155
+ scope?: TOwnScope;
156
+ }): Command<TServices, TParamsSchema, TSecrets, TResult> & TypedCommandMetadata<TName, TParamsSchema, TResult, TOwnScope>;
157
+ export declare function defineGroup<TServices extends object = EmptyServices, TName extends string = string, TChildren extends readonly unknown[] = readonly CommandNode<TServices>[], TOwnScope extends ScopeInput = undefined>(config: Omit<GroupConfig<TServices>, "name" | "children" | "scope"> & {
158
+ name: TName;
159
+ children: TChildren & readonly CommandNode<TServices>[];
160
+ scope?: TOwnScope;
161
+ }): Group<TServices> & TypedGroupMetadata<TServices, TName, TChildren, TOwnScope>;
162
+ export declare function getCommandSourcePath(command: Command<any, any, any, any>): string | undefined;
163
+ export { S, toJsonSchema } from "../../cmdkit-schema/dist/index.js";
164
+ export type { AnySchema, ArraySchema, BooleanSchema, EnumSchema, JsonSchema, NumberSchema, ObjectSchema, OptionalSchema, Static, StringSchema } from "../../cmdkit-schema/dist/index.js";