cngkit 1.1.18 → 1.1.19

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 (74) hide show
  1. package/README.md +86 -11
  2. package/dist/chunk-3A6GRNEV.js +1590 -0
  3. package/dist/chunk-3A6GRNEV.js.map +1 -0
  4. package/dist/{chunk-FJ34NVQ4.js → chunk-7SO75QXJ.js} +538 -68
  5. package/dist/chunk-7SO75QXJ.js.map +1 -0
  6. package/dist/chunk-DBA3BZXP.js +231 -0
  7. package/dist/chunk-DBA3BZXP.js.map +1 -0
  8. package/dist/{chunk-IB5B3BLY.js → chunk-GBONV6XP.js} +16 -4
  9. package/dist/chunk-GBONV6XP.js.map +1 -0
  10. package/dist/{chunk-C7HFDK4S.js → chunk-L6ZVQRSY.js} +207 -31
  11. package/dist/chunk-L6ZVQRSY.js.map +1 -0
  12. package/dist/{chunk-ZA4YOWPB.js → chunk-NGEWD4BW.js} +2 -1
  13. package/dist/chunk-TYDIBWZV.js +35 -0
  14. package/dist/chunk-TYDIBWZV.js.map +1 -0
  15. package/dist/{chunk-TWQDLZ6F.js → chunk-X4E7NAN4.js} +2 -2
  16. package/dist/cli.js +55 -14
  17. package/dist/cli.js.map +1 -1
  18. package/dist/commands/coderoom/index.js +6 -6
  19. package/dist/commands/coderoom/index.js.map +1 -1
  20. package/dist/commands/coderoom/join.js +5 -5
  21. package/dist/commands/coderoom/share.js +5 -5
  22. package/dist/commands/hookify/index.js +6 -6
  23. package/dist/commands/hookify/index.js.map +1 -1
  24. package/dist/commands/hookify/ingest.js +52 -13
  25. package/dist/commands/hookify/ingest.js.map +1 -1
  26. package/dist/commands/hooks/index.js +25 -0
  27. package/dist/commands/hooks/index.js.map +1 -0
  28. package/dist/commands/hooks/install.js +40 -0
  29. package/dist/commands/hooks/install.js.map +1 -0
  30. package/dist/commands/hooks/uninstall.js +40 -0
  31. package/dist/commands/hooks/uninstall.js.map +1 -0
  32. package/dist/commands/index.js +5 -5
  33. package/dist/commands/index.js.map +1 -1
  34. package/dist/commands/knowledges/audiences.js +6 -6
  35. package/dist/commands/knowledges/cat.js +31 -0
  36. package/dist/commands/knowledges/cat.js.map +1 -0
  37. package/dist/commands/knowledges/files.js +6 -6
  38. package/dist/commands/knowledges/find.js +66 -0
  39. package/dist/commands/knowledges/find.js.map +1 -0
  40. package/dist/commands/knowledges/glob.js +6 -6
  41. package/dist/commands/knowledges/grep.js +6 -6
  42. package/dist/commands/knowledges/head.js +41 -0
  43. package/dist/commands/knowledges/head.js.map +1 -0
  44. package/dist/commands/knowledges/index.js +6 -6
  45. package/dist/commands/knowledges/index.js.map +1 -1
  46. package/dist/commands/knowledges/list.js +7 -7
  47. package/dist/commands/knowledges/list.js.map +1 -1
  48. package/dist/commands/knowledges/ls.js +16 -7
  49. package/dist/commands/knowledges/ls.js.map +1 -1
  50. package/dist/commands/knowledges/read.js +6 -6
  51. package/dist/commands/knowledges/realpath.js +31 -0
  52. package/dist/commands/knowledges/realpath.js.map +1 -0
  53. package/dist/commands/knowledges/search.js +6 -6
  54. package/dist/commands/knowledges/stat.js +31 -0
  55. package/dist/commands/knowledges/stat.js.map +1 -0
  56. package/dist/commands/knowledges/status.js +6 -6
  57. package/dist/commands/knowledges/tail.js +41 -0
  58. package/dist/commands/knowledges/tail.js.map +1 -0
  59. package/dist/commands/knowledges/tree.js +46 -0
  60. package/dist/commands/knowledges/tree.js.map +1 -0
  61. package/dist/commands/login.js +3 -3
  62. package/dist/commands/scrub.js +3 -3
  63. package/dist/commands/transcripts.js +6 -6
  64. package/dist/commands/transcripts.js.map +1 -1
  65. package/package.json +2 -2
  66. package/dist/chunk-C7HFDK4S.js.map +0 -1
  67. package/dist/chunk-CBIVTEZP.js +0 -222
  68. package/dist/chunk-CBIVTEZP.js.map +0 -1
  69. package/dist/chunk-FJ34NVQ4.js.map +0 -1
  70. package/dist/chunk-IB5B3BLY.js.map +0 -1
  71. package/dist/chunk-KSW6QT5Q.js +0 -628
  72. package/dist/chunk-KSW6QT5Q.js.map +0 -1
  73. /package/dist/{chunk-ZA4YOWPB.js.map → chunk-NGEWD4BW.js.map} +0 -0
  74. /package/dist/{chunk-TWQDLZ6F.js.map → chunk-X4E7NAN4.js.map} +0 -0
@@ -0,0 +1,31 @@
1
+ import {
2
+ runKnowCatCommand
3
+ } from "../../chunk-L6ZVQRSY.js";
4
+ import "../../chunk-XQGLUQFM.js";
5
+ import "../../chunk-3A6GRNEV.js";
6
+ import "../../chunk-TYDIBWZV.js";
7
+ import {
8
+ JsonOutputOptionsSchema,
9
+ RequiredFilePathArgsSchema
10
+ } from "../../chunk-NGEWD4BW.js";
11
+ import {
12
+ CommandRunner
13
+ } from "../../chunk-X4E7NAN4.js";
14
+ import "../../chunk-7SO75QXJ.js";
15
+ import "../../chunk-PZ5AY32C.js";
16
+
17
+ // src/commands/knowledges/cat.tsx
18
+ import { jsx } from "react/jsx-runtime";
19
+ var description = "Print a remote catalog file as raw text";
20
+ var args = RequiredFilePathArgsSchema;
21
+ var options = JsonOutputOptionsSchema;
22
+ function CatCommand({ args: args2, options: options2 }) {
23
+ return /* @__PURE__ */ jsx(CommandRunner, { run: (output) => runKnowCatCommand(args2[0], options2, output) });
24
+ }
25
+ export {
26
+ args,
27
+ CatCommand as default,
28
+ description,
29
+ options
30
+ };
31
+ //# sourceMappingURL=cat.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/commands/knowledges/cat.tsx"],"sourcesContent":["import { JsonOutputOptionsSchema, RequiredFilePathArgsSchema } from \"../../cli/options.js\";\nimport { runKnowCatCommand, type KnowCatCommandOptions } from \"../../features/knowledges/run-knowledges-command.js\";\nimport { CommandRunner } from \"../../cli/command-runner.js\";\n\nexport const description = \"Print a remote catalog file as raw text\";\nexport const args = RequiredFilePathArgsSchema;\nexport const options = JsonOutputOptionsSchema;\n\ntype CatCommandProps = {\n readonly args: [string];\n readonly options: KnowCatCommandOptions;\n};\n\nexport default function CatCommand({ args, options }: CatCommandProps) {\n return <CommandRunner run={(output) => runKnowCatCommand(args[0], options, output)} />;\n}\n"],"mappings":";;;;;;;;;;;;;;;;;AAcS;AAVF,IAAM,cAAc;AACpB,IAAM,OAAO;AACb,IAAM,UAAU;AAOR,SAAR,WAA4B,EAAE,MAAAA,OAAM,SAAAC,SAAQ,GAAoB;AACrE,SAAO,oBAAC,iBAAc,KAAK,CAAC,WAAW,kBAAkBD,MAAK,CAAC,GAAGC,UAAS,MAAM,GAAG;AACtF;","names":["args","options"]}
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  runKnowFilesCommand
3
- } from "../../chunk-C7HFDK4S.js";
3
+ } from "../../chunk-L6ZVQRSY.js";
4
4
  import "../../chunk-XQGLUQFM.js";
5
- import "../../chunk-KSW6QT5Q.js";
6
- import "../../chunk-FJ34NVQ4.js";
5
+ import "../../chunk-3A6GRNEV.js";
6
+ import "../../chunk-TYDIBWZV.js";
7
7
  import {
8
8
  JsonOutputOptionsSchema,
9
9
  OptionalQueryArgsSchema
10
- } from "../../chunk-ZA4YOWPB.js";
10
+ } from "../../chunk-NGEWD4BW.js";
11
11
  import {
12
12
  CommandRunner
13
- } from "../../chunk-TWQDLZ6F.js";
14
- import "../../chunk-CBIVTEZP.js";
13
+ } from "../../chunk-X4E7NAN4.js";
14
+ import "../../chunk-7SO75QXJ.js";
15
15
  import "../../chunk-PZ5AY32C.js";
16
16
 
17
17
  // src/commands/knowledges/files.tsx
@@ -0,0 +1,66 @@
1
+ import {
2
+ runKnowFindCommand
3
+ } from "../../chunk-L6ZVQRSY.js";
4
+ import "../../chunk-XQGLUQFM.js";
5
+ import "../../chunk-3A6GRNEV.js";
6
+ import "../../chunk-TYDIBWZV.js";
7
+ import {
8
+ JsonOutputOptionsSchema,
9
+ OptionalPathArgsSchema
10
+ } from "../../chunk-NGEWD4BW.js";
11
+ import {
12
+ CommandRunner
13
+ } from "../../chunk-X4E7NAN4.js";
14
+ import "../../chunk-7SO75QXJ.js";
15
+ import "../../chunk-PZ5AY32C.js";
16
+
17
+ // src/commands/knowledges/find.tsx
18
+ import { option } from "pastel";
19
+ import { z } from "zod";
20
+ import { jsx } from "react/jsx-runtime";
21
+ var description = "Find remote catalog paths";
22
+ var args = OptionalPathArgsSchema;
23
+ var options = JsonOutputOptionsSchema.extend({
24
+ name: z.string().optional().describe(
25
+ option({
26
+ description: "Basename wildcard pattern",
27
+ valueDescription: "pattern"
28
+ })
29
+ ),
30
+ type: z.enum(["file", "directory", "f", "d"]).transform((value) => {
31
+ if (value === "f") {
32
+ return "file";
33
+ }
34
+ if (value === "d") {
35
+ return "directory";
36
+ }
37
+ return value;
38
+ }).optional().describe(
39
+ option({
40
+ description: "Path type: file or directory",
41
+ valueDescription: "type"
42
+ })
43
+ ),
44
+ maxDepth: z.number().optional().describe(
45
+ option({
46
+ description: "Maximum descendant depth",
47
+ valueDescription: "n"
48
+ })
49
+ ),
50
+ limit: z.number().optional().describe(
51
+ option({
52
+ description: "Maximum results",
53
+ valueDescription: "n"
54
+ })
55
+ )
56
+ });
57
+ function FindCommand({ args: args2, options: options2 }) {
58
+ return /* @__PURE__ */ jsx(CommandRunner, { run: (output) => runKnowFindCommand(args2[0], options2, output) });
59
+ }
60
+ export {
61
+ args,
62
+ FindCommand as default,
63
+ description,
64
+ options
65
+ };
66
+ //# sourceMappingURL=find.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/commands/knowledges/find.tsx"],"sourcesContent":["import { option } from \"pastel\";\nimport { z } from \"zod\";\n\nimport { JsonOutputOptionsSchema, OptionalPathArgsSchema } from \"../../cli/options.js\";\nimport { runKnowFindCommand, type KnowFindCommandOptions } from \"../../features/knowledges/run-knowledges-command.js\";\nimport { CommandRunner } from \"../../cli/command-runner.js\";\n\nexport const description = \"Find remote catalog paths\";\nexport const args = OptionalPathArgsSchema;\nexport const options = JsonOutputOptionsSchema.extend({\n name: z\n .string()\n .optional()\n .describe(\n option({\n description: \"Basename wildcard pattern\",\n valueDescription: \"pattern\",\n })\n ),\n type: z\n .enum([\"file\", \"directory\", \"f\", \"d\"])\n .transform((value) => {\n if (value === \"f\") {\n return \"file\";\n }\n\n if (value === \"d\") {\n return \"directory\";\n }\n\n return value;\n })\n .optional()\n .describe(\n option({\n description: \"Path type: file or directory\",\n valueDescription: \"type\",\n })\n ),\n maxDepth: z\n .number()\n .optional()\n .describe(\n option({\n description: \"Maximum descendant depth\",\n valueDescription: \"n\",\n })\n ),\n limit: z\n .number()\n .optional()\n .describe(\n option({\n description: \"Maximum results\",\n valueDescription: \"n\",\n })\n ),\n});\n\ntype FindCommandProps = {\n readonly args: [string?];\n readonly options: KnowFindCommandOptions;\n};\n\nexport default function FindCommand({ args, options }: FindCommandProps) {\n return <CommandRunner run={(output) => runKnowFindCommand(args[0], options, output)} />;\n}\n"],"mappings":";;;;;;;;;;;;;;;;;AAAA,SAAS,cAAc;AACvB,SAAS,SAAS;AAgET;AA1DF,IAAM,cAAc;AACpB,IAAM,OAAO;AACb,IAAM,UAAU,wBAAwB,OAAO;AAAA,EACpD,MAAM,EACH,OAAO,EACP,SAAS,EACT;AAAA,IACC,OAAO;AAAA,MACL,aAAa;AAAA,MACb,kBAAkB;AAAA,IACpB,CAAC;AAAA,EACH;AAAA,EACF,MAAM,EACH,KAAK,CAAC,QAAQ,aAAa,KAAK,GAAG,CAAC,EACpC,UAAU,CAAC,UAAU;AACpB,QAAI,UAAU,KAAK;AACjB,aAAO;AAAA,IACT;AAEA,QAAI,UAAU,KAAK;AACjB,aAAO;AAAA,IACT;AAEA,WAAO;AAAA,EACT,CAAC,EACA,SAAS,EACT;AAAA,IACC,OAAO;AAAA,MACL,aAAa;AAAA,MACb,kBAAkB;AAAA,IACpB,CAAC;AAAA,EACH;AAAA,EACF,UAAU,EACP,OAAO,EACP,SAAS,EACT;AAAA,IACC,OAAO;AAAA,MACL,aAAa;AAAA,MACb,kBAAkB;AAAA,IACpB,CAAC;AAAA,EACH;AAAA,EACF,OAAO,EACJ,OAAO,EACP,SAAS,EACT;AAAA,IACC,OAAO;AAAA,MACL,aAAa;AAAA,MACb,kBAAkB;AAAA,IACpB,CAAC;AAAA,EACH;AACJ,CAAC;AAOc,SAAR,YAA6B,EAAE,MAAAA,OAAM,SAAAC,SAAQ,GAAqB;AACvE,SAAO,oBAAC,iBAAc,KAAK,CAAC,WAAW,mBAAmBD,MAAK,CAAC,GAAGC,UAAS,MAAM,GAAG;AACvF;","names":["args","options"]}
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  runKnowGlobCommand
3
- } from "../../chunk-C7HFDK4S.js";
3
+ } from "../../chunk-L6ZVQRSY.js";
4
4
  import "../../chunk-XQGLUQFM.js";
5
- import "../../chunk-KSW6QT5Q.js";
6
- import "../../chunk-FJ34NVQ4.js";
5
+ import "../../chunk-3A6GRNEV.js";
6
+ import "../../chunk-TYDIBWZV.js";
7
7
  import {
8
8
  LimitOptionsSchema,
9
9
  OptionalGlobPatternArgsSchema
10
- } from "../../chunk-ZA4YOWPB.js";
10
+ } from "../../chunk-NGEWD4BW.js";
11
11
  import {
12
12
  CommandRunner
13
- } from "../../chunk-TWQDLZ6F.js";
14
- import "../../chunk-CBIVTEZP.js";
13
+ } from "../../chunk-X4E7NAN4.js";
14
+ import "../../chunk-7SO75QXJ.js";
15
15
  import "../../chunk-PZ5AY32C.js";
16
16
 
17
17
  // src/commands/knowledges/glob.tsx
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  runKnowGrepCommand
3
- } from "../../chunk-C7HFDK4S.js";
3
+ } from "../../chunk-L6ZVQRSY.js";
4
4
  import "../../chunk-XQGLUQFM.js";
5
- import "../../chunk-KSW6QT5Q.js";
6
- import "../../chunk-FJ34NVQ4.js";
5
+ import "../../chunk-3A6GRNEV.js";
6
+ import "../../chunk-TYDIBWZV.js";
7
7
  import {
8
8
  LimitOptionsSchema,
9
9
  RequiredPatternArgsSchema
10
- } from "../../chunk-ZA4YOWPB.js";
10
+ } from "../../chunk-NGEWD4BW.js";
11
11
  import {
12
12
  CommandRunner
13
- } from "../../chunk-TWQDLZ6F.js";
14
- import "../../chunk-CBIVTEZP.js";
13
+ } from "../../chunk-X4E7NAN4.js";
14
+ import "../../chunk-7SO75QXJ.js";
15
15
  import "../../chunk-PZ5AY32C.js";
16
16
 
17
17
  // src/commands/knowledges/grep.tsx
@@ -0,0 +1,41 @@
1
+ import {
2
+ runKnowHeadCommand
3
+ } from "../../chunk-L6ZVQRSY.js";
4
+ import "../../chunk-XQGLUQFM.js";
5
+ import "../../chunk-3A6GRNEV.js";
6
+ import "../../chunk-TYDIBWZV.js";
7
+ import {
8
+ JsonOutputOptionsSchema,
9
+ RequiredFilePathArgsSchema
10
+ } from "../../chunk-NGEWD4BW.js";
11
+ import {
12
+ CommandRunner
13
+ } from "../../chunk-X4E7NAN4.js";
14
+ import "../../chunk-7SO75QXJ.js";
15
+ import "../../chunk-PZ5AY32C.js";
16
+
17
+ // src/commands/knowledges/head.tsx
18
+ import { option } from "pastel";
19
+ import { z } from "zod";
20
+ import { jsx } from "react/jsx-runtime";
21
+ var description = "Print the first lines of a remote catalog file";
22
+ var args = RequiredFilePathArgsSchema;
23
+ var options = JsonOutputOptionsSchema.extend({
24
+ lines: z.number().optional().describe(
25
+ option({
26
+ alias: "n",
27
+ description: "Number of lines",
28
+ valueDescription: "n"
29
+ })
30
+ )
31
+ });
32
+ function HeadCommand({ args: args2, options: options2 }) {
33
+ return /* @__PURE__ */ jsx(CommandRunner, { run: (output) => runKnowHeadCommand(args2[0], options2, output) });
34
+ }
35
+ export {
36
+ args,
37
+ HeadCommand as default,
38
+ description,
39
+ options
40
+ };
41
+ //# sourceMappingURL=head.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/commands/knowledges/head.tsx"],"sourcesContent":["import { option } from \"pastel\";\nimport { z } from \"zod\";\n\nimport { JsonOutputOptionsSchema, RequiredFilePathArgsSchema } from \"../../cli/options.js\";\nimport { runKnowHeadCommand, type KnowHeadCommandOptions } from \"../../features/knowledges/run-knowledges-command.js\";\nimport { CommandRunner } from \"../../cli/command-runner.js\";\n\nexport const description = \"Print the first lines of a remote catalog file\";\nexport const args = RequiredFilePathArgsSchema;\nexport const options = JsonOutputOptionsSchema.extend({\n lines: z\n .number()\n .optional()\n .describe(\n option({\n alias: \"n\",\n description: \"Number of lines\",\n valueDescription: \"n\",\n })\n ),\n});\n\ntype HeadCommandProps = {\n readonly args: [string];\n readonly options: KnowHeadCommandOptions;\n};\n\nexport default function HeadCommand({ args, options }: HeadCommandProps) {\n return <CommandRunner run={(output) => runKnowHeadCommand(args[0], options, output)} />;\n}\n"],"mappings":";;;;;;;;;;;;;;;;;AAAA,SAAS,cAAc;AACvB,SAAS,SAAS;AA2BT;AArBF,IAAM,cAAc;AACpB,IAAM,OAAO;AACb,IAAM,UAAU,wBAAwB,OAAO;AAAA,EACpD,OAAO,EACJ,OAAO,EACP,SAAS,EACT;AAAA,IACC,OAAO;AAAA,MACL,OAAO;AAAA,MACP,aAAa;AAAA,MACb,kBAAkB;AAAA,IACpB,CAAC;AAAA,EACH;AACJ,CAAC;AAOc,SAAR,YAA6B,EAAE,MAAAA,OAAM,SAAAC,SAAQ,GAAqB;AACvE,SAAO,oBAAC,iBAAc,KAAK,CAAC,WAAW,mBAAmBD,MAAK,CAAC,GAAGC,UAAS,MAAM,GAAG;AACvF;","names":["args","options"]}
@@ -1,13 +1,13 @@
1
1
  import {
2
- formatKnowledgesHelp
3
- } from "../../chunk-KSW6QT5Q.js";
2
+ renderKnowledgesHelp
3
+ } from "../../chunk-3A6GRNEV.js";
4
4
  import {
5
5
  GlobalOptionsSchema
6
- } from "../../chunk-ZA4YOWPB.js";
6
+ } from "../../chunk-NGEWD4BW.js";
7
7
  import {
8
8
  CommandRunner
9
- } from "../../chunk-TWQDLZ6F.js";
10
- import "../../chunk-CBIVTEZP.js";
9
+ } from "../../chunk-X4E7NAN4.js";
10
+ import "../../chunk-7SO75QXJ.js";
11
11
  import "../../chunk-PZ5AY32C.js";
12
12
 
13
13
  // src/commands/knowledges/index.tsx
@@ -15,7 +15,7 @@ import { jsx } from "react/jsx-runtime";
15
15
  var description = "Use the Cloudflare-backed Harness knowledges catalog";
16
16
  var options = GlobalOptionsSchema;
17
17
  function KnowledgesCommand() {
18
- return /* @__PURE__ */ jsx(CommandRunner, { run: async (output) => output.markdown(formatKnowledgesHelp()) });
18
+ return /* @__PURE__ */ jsx(CommandRunner, { run: async (output) => output.component(renderKnowledgesHelp()) });
19
19
  }
20
20
  export {
21
21
  KnowledgesCommand as default,
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/commands/knowledges/index.tsx"],"sourcesContent":["import { GlobalOptionsSchema } from \"../../cli/options.js\";\nimport { formatKnowledgesHelp } from \"../../cli/help-specs.js\";\nimport { CommandRunner } from \"../../cli/command-runner.js\";\n\nexport const description = \"Use the Cloudflare-backed Harness knowledges catalog\";\nexport const options = GlobalOptionsSchema;\n\nexport default function KnowledgesCommand() {\n return <CommandRunner run={async (output) => output.markdown(formatKnowledgesHelp())} />;\n}\n"],"mappings":";;;;;;;;;;;;;AAQS;AAJF,IAAM,cAAc;AACpB,IAAM,UAAU;AAER,SAAR,oBAAqC;AAC1C,SAAO,oBAAC,iBAAc,KAAK,OAAO,WAAW,OAAO,SAAS,qBAAqB,CAAC,GAAG;AACxF;","names":[]}
1
+ {"version":3,"sources":["../../../src/commands/knowledges/index.tsx"],"sourcesContent":["import { GlobalOptionsSchema } from \"../../cli/options.js\";\nimport { renderKnowledgesHelp } from \"../../cli/help-specs.js\";\nimport { CommandRunner } from \"../../cli/command-runner.js\";\n\nexport const description = \"Use the Cloudflare-backed Harness knowledges catalog\";\nexport const options = GlobalOptionsSchema;\n\nexport default function KnowledgesCommand() {\n return <CommandRunner run={async (output) => output.component(renderKnowledgesHelp())} />;\n}\n"],"mappings":";;;;;;;;;;;;;AAQS;AAJF,IAAM,cAAc;AACpB,IAAM,UAAU;AAER,SAAR,oBAAqC;AAC1C,SAAO,oBAAC,iBAAc,KAAK,OAAO,WAAW,OAAO,UAAU,qBAAqB,CAAC,GAAG;AACzF;","names":[]}
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  runKnowListCommand
3
- } from "../../chunk-C7HFDK4S.js";
3
+ } from "../../chunk-L6ZVQRSY.js";
4
4
  import "../../chunk-XQGLUQFM.js";
5
- import "../../chunk-KSW6QT5Q.js";
6
- import "../../chunk-FJ34NVQ4.js";
5
+ import "../../chunk-3A6GRNEV.js";
6
+ import "../../chunk-TYDIBWZV.js";
7
7
  import {
8
8
  LimitOptionsSchema,
9
9
  OptionalQueryArgsSchema
10
- } from "../../chunk-ZA4YOWPB.js";
10
+ } from "../../chunk-NGEWD4BW.js";
11
11
  import {
12
12
  CommandRunner
13
- } from "../../chunk-TWQDLZ6F.js";
14
- import "../../chunk-CBIVTEZP.js";
13
+ } from "../../chunk-X4E7NAN4.js";
14
+ import "../../chunk-7SO75QXJ.js";
15
15
  import "../../chunk-PZ5AY32C.js";
16
16
 
17
17
  // src/commands/knowledges/list.tsx
18
18
  import { jsx } from "react/jsx-runtime";
19
- var description = "List known subskills";
19
+ var description = "List known topics";
20
20
  var args = OptionalQueryArgsSchema;
21
21
  var options = LimitOptionsSchema;
22
22
  function ListCommand({ args: args2, options: options2 }) {
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/commands/knowledges/list.tsx"],"sourcesContent":["import { LimitOptionsSchema, OptionalQueryArgsSchema } from \"../../cli/options.js\";\nimport { runKnowListCommand, type KnowListCommandOptions } from \"../../features/knowledges/run-knowledges-command.js\";\nimport { CommandRunner } from \"../../cli/command-runner.js\";\n\nexport const description = \"List known subskills\";\nexport const args = OptionalQueryArgsSchema;\nexport const options = LimitOptionsSchema;\n\ntype ListCommandProps = {\n readonly args: [string?];\n readonly options: KnowListCommandOptions;\n};\n\nexport default function ListCommand({ args, options }: ListCommandProps) {\n return <CommandRunner run={(output) => runKnowListCommand(args[0], options, output)} />;\n}\n"],"mappings":";;;;;;;;;;;;;;;;;AAcS;AAVF,IAAM,cAAc;AACpB,IAAM,OAAO;AACb,IAAM,UAAU;AAOR,SAAR,YAA6B,EAAE,MAAAA,OAAM,SAAAC,SAAQ,GAAqB;AACvE,SAAO,oBAAC,iBAAc,KAAK,CAAC,WAAW,mBAAmBD,MAAK,CAAC,GAAGC,UAAS,MAAM,GAAG;AACvF;","names":["args","options"]}
1
+ {"version":3,"sources":["../../../src/commands/knowledges/list.tsx"],"sourcesContent":["import { LimitOptionsSchema, OptionalQueryArgsSchema } from \"../../cli/options.js\";\nimport { runKnowListCommand, type KnowListCommandOptions } from \"../../features/knowledges/run-knowledges-command.js\";\nimport { CommandRunner } from \"../../cli/command-runner.js\";\n\nexport const description = \"List known topics\";\nexport const args = OptionalQueryArgsSchema;\nexport const options = LimitOptionsSchema;\n\ntype ListCommandProps = {\n readonly args: [string?];\n readonly options: KnowListCommandOptions;\n};\n\nexport default function ListCommand({ args, options }: ListCommandProps) {\n return <CommandRunner run={(output) => runKnowListCommand(args[0], options, output)} />;\n}\n"],"mappings":";;;;;;;;;;;;;;;;;AAcS;AAVF,IAAM,cAAc;AACpB,IAAM,OAAO;AACb,IAAM,UAAU;AAOR,SAAR,YAA6B,EAAE,MAAAA,OAAM,SAAAC,SAAQ,GAAqB;AACvE,SAAO,oBAAC,iBAAc,KAAK,CAAC,WAAW,mBAAmBD,MAAK,CAAC,GAAGC,UAAS,MAAM,GAAG;AACvF;","names":["args","options"]}
@@ -1,24 +1,33 @@
1
1
  import {
2
2
  runKnowLsCommand
3
- } from "../../chunk-C7HFDK4S.js";
3
+ } from "../../chunk-L6ZVQRSY.js";
4
4
  import "../../chunk-XQGLUQFM.js";
5
- import "../../chunk-KSW6QT5Q.js";
6
- import "../../chunk-FJ34NVQ4.js";
5
+ import "../../chunk-3A6GRNEV.js";
6
+ import "../../chunk-TYDIBWZV.js";
7
7
  import {
8
8
  LimitOptionsSchema,
9
9
  OptionalPathArgsSchema
10
- } from "../../chunk-ZA4YOWPB.js";
10
+ } from "../../chunk-NGEWD4BW.js";
11
11
  import {
12
12
  CommandRunner
13
- } from "../../chunk-TWQDLZ6F.js";
14
- import "../../chunk-CBIVTEZP.js";
13
+ } from "../../chunk-X4E7NAN4.js";
14
+ import "../../chunk-7SO75QXJ.js";
15
15
  import "../../chunk-PZ5AY32C.js";
16
16
 
17
17
  // src/commands/knowledges/ls.tsx
18
+ import { option } from "pastel";
19
+ import { z } from "zod";
18
20
  import { jsx } from "react/jsx-runtime";
19
21
  var description = "List remote catalog directory entries";
20
22
  var args = OptionalPathArgsSchema;
21
- var options = LimitOptionsSchema;
23
+ var options = LimitOptionsSchema.extend({
24
+ long: z.boolean().optional().describe(
25
+ option({
26
+ alias: "l",
27
+ description: "Print type, path, and metadata fields"
28
+ })
29
+ )
30
+ });
22
31
  function LsCommand({ args: args2, options: options2 }) {
23
32
  return /* @__PURE__ */ jsx(CommandRunner, { run: (output) => runKnowLsCommand(args2[0], options2, output) });
24
33
  }
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/commands/knowledges/ls.tsx"],"sourcesContent":["import { LimitOptionsSchema, OptionalPathArgsSchema } from \"../../cli/options.js\";\nimport { runKnowLsCommand, type KnowLsCommandOptions } from \"../../features/knowledges/run-knowledges-command.js\";\nimport { CommandRunner } from \"../../cli/command-runner.js\";\n\nexport const description = \"List remote catalog directory entries\";\nexport const args = OptionalPathArgsSchema;\nexport const options = LimitOptionsSchema;\n\ntype LsCommandProps = {\n readonly args: [string?];\n readonly options: KnowLsCommandOptions;\n};\n\nexport default function LsCommand({ args, options }: LsCommandProps) {\n return <CommandRunner run={(output) => runKnowLsCommand(args[0], options, output)} />;\n}\n"],"mappings":";;;;;;;;;;;;;;;;;AAcS;AAVF,IAAM,cAAc;AACpB,IAAM,OAAO;AACb,IAAM,UAAU;AAOR,SAAR,UAA2B,EAAE,MAAAA,OAAM,SAAAC,SAAQ,GAAmB;AACnE,SAAO,oBAAC,iBAAc,KAAK,CAAC,WAAW,iBAAiBD,MAAK,CAAC,GAAGC,UAAS,MAAM,GAAG;AACrF;","names":["args","options"]}
1
+ {"version":3,"sources":["../../../src/commands/knowledges/ls.tsx"],"sourcesContent":["import { option } from \"pastel\";\nimport { z } from \"zod\";\n\nimport { LimitOptionsSchema, OptionalPathArgsSchema } from \"../../cli/options.js\";\nimport { runKnowLsCommand, type KnowLsCommandOptions } from \"../../features/knowledges/run-knowledges-command.js\";\nimport { CommandRunner } from \"../../cli/command-runner.js\";\n\nexport const description = \"List remote catalog directory entries\";\nexport const args = OptionalPathArgsSchema;\nexport const options = LimitOptionsSchema.extend({\n long: z\n .boolean()\n .optional()\n .describe(\n option({\n alias: \"l\",\n description: \"Print type, path, and metadata fields\",\n })\n ),\n});\n\ntype LsCommandProps = {\n readonly args: [string?];\n readonly options: KnowLsCommandOptions;\n};\n\nexport default function LsCommand({ args, options }: LsCommandProps) {\n return <CommandRunner run={(output) => runKnowLsCommand(args[0], options, output)} />;\n}\n"],"mappings":";;;;;;;;;;;;;;;;;AAAA,SAAS,cAAc;AACvB,SAAS,SAAS;AA0BT;AApBF,IAAM,cAAc;AACpB,IAAM,OAAO;AACb,IAAM,UAAU,mBAAmB,OAAO;AAAA,EAC/C,MAAM,EACH,QAAQ,EACR,SAAS,EACT;AAAA,IACC,OAAO;AAAA,MACL,OAAO;AAAA,MACP,aAAa;AAAA,IACf,CAAC;AAAA,EACH;AACJ,CAAC;AAOc,SAAR,UAA2B,EAAE,MAAAA,OAAM,SAAAC,SAAQ,GAAmB;AACnE,SAAO,oBAAC,iBAAc,KAAK,CAAC,WAAW,iBAAiBD,MAAK,CAAC,GAAGC,UAAS,MAAM,GAAG;AACrF;","names":["args","options"]}
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  runKnowReadCommand
3
- } from "../../chunk-C7HFDK4S.js";
3
+ } from "../../chunk-L6ZVQRSY.js";
4
4
  import "../../chunk-XQGLUQFM.js";
5
- import "../../chunk-KSW6QT5Q.js";
6
- import "../../chunk-FJ34NVQ4.js";
5
+ import "../../chunk-3A6GRNEV.js";
6
+ import "../../chunk-TYDIBWZV.js";
7
7
  import {
8
8
  JsonOutputOptionsSchema,
9
9
  RequiredFilePathArgsSchema
10
- } from "../../chunk-ZA4YOWPB.js";
10
+ } from "../../chunk-NGEWD4BW.js";
11
11
  import {
12
12
  CommandRunner
13
- } from "../../chunk-TWQDLZ6F.js";
14
- import "../../chunk-CBIVTEZP.js";
13
+ } from "../../chunk-X4E7NAN4.js";
14
+ import "../../chunk-7SO75QXJ.js";
15
15
  import "../../chunk-PZ5AY32C.js";
16
16
 
17
17
  // src/commands/knowledges/read.tsx
@@ -0,0 +1,31 @@
1
+ import {
2
+ runKnowRealpathCommand
3
+ } from "../../chunk-L6ZVQRSY.js";
4
+ import "../../chunk-XQGLUQFM.js";
5
+ import "../../chunk-3A6GRNEV.js";
6
+ import "../../chunk-TYDIBWZV.js";
7
+ import {
8
+ JsonOutputOptionsSchema,
9
+ RequiredCatalogPathArgsSchema
10
+ } from "../../chunk-NGEWD4BW.js";
11
+ import {
12
+ CommandRunner
13
+ } from "../../chunk-X4E7NAN4.js";
14
+ import "../../chunk-7SO75QXJ.js";
15
+ import "../../chunk-PZ5AY32C.js";
16
+
17
+ // src/commands/knowledges/realpath.tsx
18
+ import { jsx } from "react/jsx-runtime";
19
+ var description = "Resolve a catalog path shortcut";
20
+ var args = RequiredCatalogPathArgsSchema;
21
+ var options = JsonOutputOptionsSchema;
22
+ function RealpathCommand({ args: args2, options: options2 }) {
23
+ return /* @__PURE__ */ jsx(CommandRunner, { run: (output) => runKnowRealpathCommand(args2[0], options2, output) });
24
+ }
25
+ export {
26
+ args,
27
+ RealpathCommand as default,
28
+ description,
29
+ options
30
+ };
31
+ //# sourceMappingURL=realpath.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/commands/knowledges/realpath.tsx"],"sourcesContent":["import { JsonOutputOptionsSchema, RequiredCatalogPathArgsSchema } from \"../../cli/options.js\";\nimport { runKnowRealpathCommand, type KnowRealpathCommandOptions } from \"../../features/knowledges/run-knowledges-command.js\";\nimport { CommandRunner } from \"../../cli/command-runner.js\";\n\nexport const description = \"Resolve a catalog path shortcut\";\nexport const args = RequiredCatalogPathArgsSchema;\nexport const options = JsonOutputOptionsSchema;\n\ntype RealpathCommandProps = {\n readonly args: [string];\n readonly options: KnowRealpathCommandOptions;\n};\n\nexport default function RealpathCommand({ args, options }: RealpathCommandProps) {\n return <CommandRunner run={(output) => runKnowRealpathCommand(args[0], options, output)} />;\n}\n"],"mappings":";;;;;;;;;;;;;;;;;AAcS;AAVF,IAAM,cAAc;AACpB,IAAM,OAAO;AACb,IAAM,UAAU;AAOR,SAAR,gBAAiC,EAAE,MAAAA,OAAM,SAAAC,SAAQ,GAAyB;AAC/E,SAAO,oBAAC,iBAAc,KAAK,CAAC,WAAW,uBAAuBD,MAAK,CAAC,GAAGC,UAAS,MAAM,GAAG;AAC3F;","names":["args","options"]}
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  runKnowSearchCommand
3
- } from "../../chunk-C7HFDK4S.js";
3
+ } from "../../chunk-L6ZVQRSY.js";
4
4
  import "../../chunk-XQGLUQFM.js";
5
- import "../../chunk-KSW6QT5Q.js";
6
- import "../../chunk-FJ34NVQ4.js";
5
+ import "../../chunk-3A6GRNEV.js";
6
+ import "../../chunk-TYDIBWZV.js";
7
7
  import {
8
8
  LimitOptionsSchema,
9
9
  RequiredQueryArgsSchema
10
- } from "../../chunk-ZA4YOWPB.js";
10
+ } from "../../chunk-NGEWD4BW.js";
11
11
  import {
12
12
  CommandRunner
13
- } from "../../chunk-TWQDLZ6F.js";
14
- import "../../chunk-CBIVTEZP.js";
13
+ } from "../../chunk-X4E7NAN4.js";
14
+ import "../../chunk-7SO75QXJ.js";
15
15
  import "../../chunk-PZ5AY32C.js";
16
16
 
17
17
  // src/commands/knowledges/search.tsx
@@ -0,0 +1,31 @@
1
+ import {
2
+ runKnowStatCommand
3
+ } from "../../chunk-L6ZVQRSY.js";
4
+ import "../../chunk-XQGLUQFM.js";
5
+ import "../../chunk-3A6GRNEV.js";
6
+ import "../../chunk-TYDIBWZV.js";
7
+ import {
8
+ JsonOutputOptionsSchema,
9
+ RequiredCatalogPathArgsSchema
10
+ } from "../../chunk-NGEWD4BW.js";
11
+ import {
12
+ CommandRunner
13
+ } from "../../chunk-X4E7NAN4.js";
14
+ import "../../chunk-7SO75QXJ.js";
15
+ import "../../chunk-PZ5AY32C.js";
16
+
17
+ // src/commands/knowledges/stat.tsx
18
+ import { jsx } from "react/jsx-runtime";
19
+ var description = "Print remote catalog path metadata";
20
+ var args = RequiredCatalogPathArgsSchema;
21
+ var options = JsonOutputOptionsSchema;
22
+ function StatCommand({ args: args2, options: options2 }) {
23
+ return /* @__PURE__ */ jsx(CommandRunner, { run: (output) => runKnowStatCommand(args2[0], options2, output) });
24
+ }
25
+ export {
26
+ args,
27
+ StatCommand as default,
28
+ description,
29
+ options
30
+ };
31
+ //# sourceMappingURL=stat.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/commands/knowledges/stat.tsx"],"sourcesContent":["import { JsonOutputOptionsSchema, RequiredCatalogPathArgsSchema } from \"../../cli/options.js\";\nimport { runKnowStatCommand, type KnowStatCommandOptions } from \"../../features/knowledges/run-knowledges-command.js\";\nimport { CommandRunner } from \"../../cli/command-runner.js\";\n\nexport const description = \"Print remote catalog path metadata\";\nexport const args = RequiredCatalogPathArgsSchema;\nexport const options = JsonOutputOptionsSchema;\n\ntype StatCommandProps = {\n readonly args: [string];\n readonly options: KnowStatCommandOptions;\n};\n\nexport default function StatCommand({ args, options }: StatCommandProps) {\n return <CommandRunner run={(output) => runKnowStatCommand(args[0], options, output)} />;\n}\n"],"mappings":";;;;;;;;;;;;;;;;;AAcS;AAVF,IAAM,cAAc;AACpB,IAAM,OAAO;AACb,IAAM,UAAU;AAOR,SAAR,YAA6B,EAAE,MAAAA,OAAM,SAAAC,SAAQ,GAAqB;AACvE,SAAO,oBAAC,iBAAc,KAAK,CAAC,WAAW,mBAAmBD,MAAK,CAAC,GAAGC,UAAS,MAAM,GAAG;AACvF;","names":["args","options"]}
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  runKnowStatusCommand
3
- } from "../../chunk-C7HFDK4S.js";
3
+ } from "../../chunk-L6ZVQRSY.js";
4
4
  import "../../chunk-XQGLUQFM.js";
5
- import "../../chunk-KSW6QT5Q.js";
6
- import "../../chunk-FJ34NVQ4.js";
5
+ import "../../chunk-3A6GRNEV.js";
6
+ import "../../chunk-TYDIBWZV.js";
7
7
  import {
8
8
  JsonOutputOptionsSchema
9
- } from "../../chunk-ZA4YOWPB.js";
9
+ } from "../../chunk-NGEWD4BW.js";
10
10
  import {
11
11
  CommandRunner
12
- } from "../../chunk-TWQDLZ6F.js";
13
- import "../../chunk-CBIVTEZP.js";
12
+ } from "../../chunk-X4E7NAN4.js";
13
+ import "../../chunk-7SO75QXJ.js";
14
14
  import "../../chunk-PZ5AY32C.js";
15
15
 
16
16
  // src/commands/knowledges/status.tsx
@@ -0,0 +1,41 @@
1
+ import {
2
+ runKnowTailCommand
3
+ } from "../../chunk-L6ZVQRSY.js";
4
+ import "../../chunk-XQGLUQFM.js";
5
+ import "../../chunk-3A6GRNEV.js";
6
+ import "../../chunk-TYDIBWZV.js";
7
+ import {
8
+ JsonOutputOptionsSchema,
9
+ RequiredFilePathArgsSchema
10
+ } from "../../chunk-NGEWD4BW.js";
11
+ import {
12
+ CommandRunner
13
+ } from "../../chunk-X4E7NAN4.js";
14
+ import "../../chunk-7SO75QXJ.js";
15
+ import "../../chunk-PZ5AY32C.js";
16
+
17
+ // src/commands/knowledges/tail.tsx
18
+ import { option } from "pastel";
19
+ import { z } from "zod";
20
+ import { jsx } from "react/jsx-runtime";
21
+ var description = "Print the last lines of a remote catalog file";
22
+ var args = RequiredFilePathArgsSchema;
23
+ var options = JsonOutputOptionsSchema.extend({
24
+ lines: z.number().optional().describe(
25
+ option({
26
+ alias: "n",
27
+ description: "Number of lines",
28
+ valueDescription: "n"
29
+ })
30
+ )
31
+ });
32
+ function TailCommand({ args: args2, options: options2 }) {
33
+ return /* @__PURE__ */ jsx(CommandRunner, { run: (output) => runKnowTailCommand(args2[0], options2, output) });
34
+ }
35
+ export {
36
+ args,
37
+ TailCommand as default,
38
+ description,
39
+ options
40
+ };
41
+ //# sourceMappingURL=tail.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/commands/knowledges/tail.tsx"],"sourcesContent":["import { option } from \"pastel\";\nimport { z } from \"zod\";\n\nimport { JsonOutputOptionsSchema, RequiredFilePathArgsSchema } from \"../../cli/options.js\";\nimport { runKnowTailCommand, type KnowTailCommandOptions } from \"../../features/knowledges/run-knowledges-command.js\";\nimport { CommandRunner } from \"../../cli/command-runner.js\";\n\nexport const description = \"Print the last lines of a remote catalog file\";\nexport const args = RequiredFilePathArgsSchema;\nexport const options = JsonOutputOptionsSchema.extend({\n lines: z\n .number()\n .optional()\n .describe(\n option({\n alias: \"n\",\n description: \"Number of lines\",\n valueDescription: \"n\",\n })\n ),\n});\n\ntype TailCommandProps = {\n readonly args: [string];\n readonly options: KnowTailCommandOptions;\n};\n\nexport default function TailCommand({ args, options }: TailCommandProps) {\n return <CommandRunner run={(output) => runKnowTailCommand(args[0], options, output)} />;\n}\n"],"mappings":";;;;;;;;;;;;;;;;;AAAA,SAAS,cAAc;AACvB,SAAS,SAAS;AA2BT;AArBF,IAAM,cAAc;AACpB,IAAM,OAAO;AACb,IAAM,UAAU,wBAAwB,OAAO;AAAA,EACpD,OAAO,EACJ,OAAO,EACP,SAAS,EACT;AAAA,IACC,OAAO;AAAA,MACL,OAAO;AAAA,MACP,aAAa;AAAA,MACb,kBAAkB;AAAA,IACpB,CAAC;AAAA,EACH;AACJ,CAAC;AAOc,SAAR,YAA6B,EAAE,MAAAA,OAAM,SAAAC,SAAQ,GAAqB;AACvE,SAAO,oBAAC,iBAAc,KAAK,CAAC,WAAW,mBAAmBD,MAAK,CAAC,GAAGC,UAAS,MAAM,GAAG;AACvF;","names":["args","options"]}
@@ -0,0 +1,46 @@
1
+ import {
2
+ runKnowTreeCommand
3
+ } from "../../chunk-L6ZVQRSY.js";
4
+ import "../../chunk-XQGLUQFM.js";
5
+ import "../../chunk-3A6GRNEV.js";
6
+ import "../../chunk-TYDIBWZV.js";
7
+ import {
8
+ JsonOutputOptionsSchema,
9
+ OptionalPathArgsSchema
10
+ } from "../../chunk-NGEWD4BW.js";
11
+ import {
12
+ CommandRunner
13
+ } from "../../chunk-X4E7NAN4.js";
14
+ import "../../chunk-7SO75QXJ.js";
15
+ import "../../chunk-PZ5AY32C.js";
16
+
17
+ // src/commands/knowledges/tree.tsx
18
+ import { option } from "pastel";
19
+ import { z } from "zod";
20
+ import { jsx } from "react/jsx-runtime";
21
+ var description = "Print a remote catalog directory tree";
22
+ var args = OptionalPathArgsSchema;
23
+ var options = JsonOutputOptionsSchema.extend({
24
+ depth: z.number().optional().describe(
25
+ option({
26
+ description: "Maximum tree depth",
27
+ valueDescription: "n"
28
+ })
29
+ ),
30
+ limit: z.number().optional().describe(
31
+ option({
32
+ description: "Maximum entries",
33
+ valueDescription: "n"
34
+ })
35
+ )
36
+ });
37
+ function TreeCommand({ args: args2, options: options2 }) {
38
+ return /* @__PURE__ */ jsx(CommandRunner, { run: (output) => runKnowTreeCommand(args2[0], options2, output) });
39
+ }
40
+ export {
41
+ args,
42
+ TreeCommand as default,
43
+ description,
44
+ options
45
+ };
46
+ //# sourceMappingURL=tree.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/commands/knowledges/tree.tsx"],"sourcesContent":["import { option } from \"pastel\";\nimport { z } from \"zod\";\n\nimport { JsonOutputOptionsSchema, OptionalPathArgsSchema } from \"../../cli/options.js\";\nimport { runKnowTreeCommand, type KnowTreeCommandOptions } from \"../../features/knowledges/run-knowledges-command.js\";\nimport { CommandRunner } from \"../../cli/command-runner.js\";\n\nexport const description = \"Print a remote catalog directory tree\";\nexport const args = OptionalPathArgsSchema;\nexport const options = JsonOutputOptionsSchema.extend({\n depth: z\n .number()\n .optional()\n .describe(\n option({\n description: \"Maximum tree depth\",\n valueDescription: \"n\",\n })\n ),\n limit: z\n .number()\n .optional()\n .describe(\n option({\n description: \"Maximum entries\",\n valueDescription: \"n\",\n })\n ),\n});\n\ntype TreeCommandProps = {\n readonly args: [string?];\n readonly options: KnowTreeCommandOptions;\n};\n\nexport default function TreeCommand({ args, options }: TreeCommandProps) {\n return <CommandRunner run={(output) => runKnowTreeCommand(args[0], options, output)} />;\n}\n"],"mappings":";;;;;;;;;;;;;;;;;AAAA,SAAS,cAAc;AACvB,SAAS,SAAS;AAmCT;AA7BF,IAAM,cAAc;AACpB,IAAM,OAAO;AACb,IAAM,UAAU,wBAAwB,OAAO;AAAA,EACpD,OAAO,EACJ,OAAO,EACP,SAAS,EACT;AAAA,IACC,OAAO;AAAA,MACL,aAAa;AAAA,MACb,kBAAkB;AAAA,IACpB,CAAC;AAAA,EACH;AAAA,EACF,OAAO,EACJ,OAAO,EACP,SAAS,EACT;AAAA,IACC,OAAO;AAAA,MACL,aAAa;AAAA,MACb,kBAAkB;AAAA,IACpB,CAAC;AAAA,EACH;AACJ,CAAC;AAOc,SAAR,YAA6B,EAAE,MAAAA,OAAM,SAAAC,SAAQ,GAAqB;AACvE,SAAO,oBAAC,iBAAc,KAAK,CAAC,WAAW,mBAAmBD,MAAK,CAAC,GAAGC,UAAS,MAAM,GAAG;AACvF;","names":["args","options"]}
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  GlobalOptionsSchema
3
- } from "../chunk-ZA4YOWPB.js";
3
+ } from "../chunk-NGEWD4BW.js";
4
4
  import {
5
5
  CommandRunner
6
- } from "../chunk-TWQDLZ6F.js";
6
+ } from "../chunk-X4E7NAN4.js";
7
7
  import {
8
8
  resolveApiBaseUrl
9
- } from "../chunk-CBIVTEZP.js";
9
+ } from "../chunk-7SO75QXJ.js";
10
10
  import "../chunk-PZ5AY32C.js";
11
11
 
12
12
  // src/shared/browser.ts
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  GlobalOptionsSchema,
3
3
  OptionalPathArgsSchema
4
- } from "../chunk-ZA4YOWPB.js";
4
+ } from "../chunk-NGEWD4BW.js";
5
5
  import {
6
6
  CommandRunner
7
- } from "../chunk-TWQDLZ6F.js";
8
- import "../chunk-CBIVTEZP.js";
7
+ } from "../chunk-X4E7NAN4.js";
8
+ import "../chunk-7SO75QXJ.js";
9
9
  import "../chunk-PZ5AY32C.js";
10
10
 
11
11
  // src/commands/scrub.tsx