toolcraft-openapi 0.0.1

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 (157) hide show
  1. package/README.md +64 -0
  2. package/dist/api-command.d.ts +7 -0
  3. package/dist/api-command.js +4 -0
  4. package/dist/auth/bearer-token-auth.d.ts +8 -0
  5. package/dist/auth/bearer-token-auth.js +216 -0
  6. package/dist/auth/types.d.ts +9 -0
  7. package/dist/auth/types.js +1 -0
  8. package/dist/bin/generate.d.ts +40 -0
  9. package/dist/bin/generate.js +248 -0
  10. package/dist/define-client.d.ts +20 -0
  11. package/dist/define-client.js +148 -0
  12. package/dist/generate.d.ts +210 -0
  13. package/dist/generate.js +1131 -0
  14. package/dist/group-by-noun.d.ts +6 -0
  15. package/dist/group-by-noun.js +17 -0
  16. package/dist/http.d.ts +26 -0
  17. package/dist/http.js +123 -0
  18. package/dist/index.d.ts +12 -0
  19. package/dist/index.js +6 -0
  20. package/dist/interpreter.d.ts +6 -0
  21. package/dist/interpreter.js +289 -0
  22. package/dist/lock.d.ts +14 -0
  23. package/dist/lock.js +48 -0
  24. package/dist/naming.d.ts +24 -0
  25. package/dist/naming.js +218 -0
  26. package/dist/request-shape.d.ts +15 -0
  27. package/dist/request-shape.js +5 -0
  28. package/dist/runtime.d.ts +13 -0
  29. package/dist/runtime.js +94 -0
  30. package/dist/spec-source.d.ts +11 -0
  31. package/dist/spec-source.js +63 -0
  32. package/node_modules/@poe-code/design-system/dist/acp/components.d.ts +11 -0
  33. package/node_modules/@poe-code/design-system/dist/acp/components.js +121 -0
  34. package/node_modules/@poe-code/design-system/dist/acp/index.d.ts +3 -0
  35. package/node_modules/@poe-code/design-system/dist/acp/index.js +2 -0
  36. package/node_modules/@poe-code/design-system/dist/acp/writer.d.ts +13 -0
  37. package/node_modules/@poe-code/design-system/dist/acp/writer.js +21 -0
  38. package/node_modules/@poe-code/design-system/dist/components/command-errors.d.ts +16 -0
  39. package/node_modules/@poe-code/design-system/dist/components/command-errors.js +22 -0
  40. package/node_modules/@poe-code/design-system/dist/components/help-formatter.d.ts +20 -0
  41. package/node_modules/@poe-code/design-system/dist/components/help-formatter.js +27 -0
  42. package/node_modules/@poe-code/design-system/dist/components/index.d.ts +10 -0
  43. package/node_modules/@poe-code/design-system/dist/components/index.js +7 -0
  44. package/node_modules/@poe-code/design-system/dist/components/logger.d.ts +11 -0
  45. package/node_modules/@poe-code/design-system/dist/components/logger.js +60 -0
  46. package/node_modules/@poe-code/design-system/dist/components/symbols.d.ts +12 -0
  47. package/node_modules/@poe-code/design-system/dist/components/symbols.js +71 -0
  48. package/node_modules/@poe-code/design-system/dist/components/table.d.ts +13 -0
  49. package/node_modules/@poe-code/design-system/dist/components/table.js +74 -0
  50. package/node_modules/@poe-code/design-system/dist/components/text.d.ts +14 -0
  51. package/node_modules/@poe-code/design-system/dist/components/text.js +104 -0
  52. package/node_modules/@poe-code/design-system/dist/dashboard/ansi.d.ts +18 -0
  53. package/node_modules/@poe-code/design-system/dist/dashboard/ansi.js +298 -0
  54. package/node_modules/@poe-code/design-system/dist/dashboard/buffer.d.ts +25 -0
  55. package/node_modules/@poe-code/design-system/dist/dashboard/buffer.js +189 -0
  56. package/node_modules/@poe-code/design-system/dist/dashboard/components/border.d.ts +9 -0
  57. package/node_modules/@poe-code/design-system/dist/dashboard/components/border.js +123 -0
  58. package/node_modules/@poe-code/design-system/dist/dashboard/components/footer.d.ts +8 -0
  59. package/node_modules/@poe-code/design-system/dist/dashboard/components/footer.js +57 -0
  60. package/node_modules/@poe-code/design-system/dist/dashboard/components/output-pane.d.ts +12 -0
  61. package/node_modules/@poe-code/design-system/dist/dashboard/components/output-pane.js +254 -0
  62. package/node_modules/@poe-code/design-system/dist/dashboard/components/stats-pane.d.ts +7 -0
  63. package/node_modules/@poe-code/design-system/dist/dashboard/components/stats-pane.js +121 -0
  64. package/node_modules/@poe-code/design-system/dist/dashboard/dashboard.d.ts +20 -0
  65. package/node_modules/@poe-code/design-system/dist/dashboard/dashboard.js +167 -0
  66. package/node_modules/@poe-code/design-system/dist/dashboard/demo.d.ts +13 -0
  67. package/node_modules/@poe-code/design-system/dist/dashboard/demo.js +145 -0
  68. package/node_modules/@poe-code/design-system/dist/dashboard/index.d.ts +8 -0
  69. package/node_modules/@poe-code/design-system/dist/dashboard/index.js +4 -0
  70. package/node_modules/@poe-code/design-system/dist/dashboard/keymap.d.ts +3 -0
  71. package/node_modules/@poe-code/design-system/dist/dashboard/keymap.js +99 -0
  72. package/node_modules/@poe-code/design-system/dist/dashboard/layout.d.ts +25 -0
  73. package/node_modules/@poe-code/design-system/dist/dashboard/layout.js +79 -0
  74. package/node_modules/@poe-code/design-system/dist/dashboard/should-use-dashboard.d.ts +10 -0
  75. package/node_modules/@poe-code/design-system/dist/dashboard/should-use-dashboard.js +7 -0
  76. package/node_modules/@poe-code/design-system/dist/dashboard/snapshot.d.ts +10 -0
  77. package/node_modules/@poe-code/design-system/dist/dashboard/snapshot.js +68 -0
  78. package/node_modules/@poe-code/design-system/dist/dashboard/store.d.ts +8 -0
  79. package/node_modules/@poe-code/design-system/dist/dashboard/store.js +51 -0
  80. package/node_modules/@poe-code/design-system/dist/dashboard/terminal.d.ts +37 -0
  81. package/node_modules/@poe-code/design-system/dist/dashboard/terminal.js +233 -0
  82. package/node_modules/@poe-code/design-system/dist/dashboard/types.d.ts +36 -0
  83. package/node_modules/@poe-code/design-system/dist/dashboard/types.js +1 -0
  84. package/node_modules/@poe-code/design-system/dist/index.d.ts +33 -0
  85. package/node_modules/@poe-code/design-system/dist/index.js +31 -0
  86. package/node_modules/@poe-code/design-system/dist/internal/output-format.d.ts +6 -0
  87. package/node_modules/@poe-code/design-system/dist/internal/output-format.js +22 -0
  88. package/node_modules/@poe-code/design-system/dist/internal/strip-ansi.d.ts +1 -0
  89. package/node_modules/@poe-code/design-system/dist/internal/strip-ansi.js +3 -0
  90. package/node_modules/@poe-code/design-system/dist/internal/theme-detect.d.ts +11 -0
  91. package/node_modules/@poe-code/design-system/dist/internal/theme-detect.js +49 -0
  92. package/node_modules/@poe-code/design-system/dist/prompts/index.d.ts +66 -0
  93. package/node_modules/@poe-code/design-system/dist/prompts/index.js +132 -0
  94. package/node_modules/@poe-code/design-system/dist/prompts/primitives/cancel.d.ts +2 -0
  95. package/node_modules/@poe-code/design-system/dist/prompts/primitives/cancel.js +9 -0
  96. package/node_modules/@poe-code/design-system/dist/prompts/primitives/intro.d.ts +1 -0
  97. package/node_modules/@poe-code/design-system/dist/prompts/primitives/intro.js +15 -0
  98. package/node_modules/@poe-code/design-system/dist/prompts/primitives/log.d.ts +18 -0
  99. package/node_modules/@poe-code/design-system/dist/prompts/primitives/log.js +101 -0
  100. package/node_modules/@poe-code/design-system/dist/prompts/primitives/note.d.ts +1 -0
  101. package/node_modules/@poe-code/design-system/dist/prompts/primitives/note.js +39 -0
  102. package/node_modules/@poe-code/design-system/dist/prompts/primitives/outro.d.ts +1 -0
  103. package/node_modules/@poe-code/design-system/dist/prompts/primitives/outro.js +16 -0
  104. package/node_modules/@poe-code/design-system/dist/prompts/primitives/spinner.d.ts +6 -0
  105. package/node_modules/@poe-code/design-system/dist/prompts/primitives/spinner.js +74 -0
  106. package/node_modules/@poe-code/design-system/dist/prompts/theme.d.ts +11 -0
  107. package/node_modules/@poe-code/design-system/dist/prompts/theme.js +12 -0
  108. package/node_modules/@poe-code/design-system/dist/static/index.d.ts +4 -0
  109. package/node_modules/@poe-code/design-system/dist/static/index.js +2 -0
  110. package/node_modules/@poe-code/design-system/dist/static/menu.d.ts +11 -0
  111. package/node_modules/@poe-code/design-system/dist/static/menu.js +36 -0
  112. package/node_modules/@poe-code/design-system/dist/static/spinner.d.ts +14 -0
  113. package/node_modules/@poe-code/design-system/dist/static/spinner.js +46 -0
  114. package/node_modules/@poe-code/design-system/dist/terminal-markdown/ast.d.ts +92 -0
  115. package/node_modules/@poe-code/design-system/dist/terminal-markdown/ast.js +1 -0
  116. package/node_modules/@poe-code/design-system/dist/terminal-markdown/demo-content.d.ts +2 -0
  117. package/node_modules/@poe-code/design-system/dist/terminal-markdown/demo-content.js +139 -0
  118. package/node_modules/@poe-code/design-system/dist/terminal-markdown/index.d.ts +6 -0
  119. package/node_modules/@poe-code/design-system/dist/terminal-markdown/index.js +8 -0
  120. package/node_modules/@poe-code/design-system/dist/terminal-markdown/parser/block.d.ts +7 -0
  121. package/node_modules/@poe-code/design-system/dist/terminal-markdown/parser/block.js +1495 -0
  122. package/node_modules/@poe-code/design-system/dist/terminal-markdown/parser/frontmatter.d.ts +8 -0
  123. package/node_modules/@poe-code/design-system/dist/terminal-markdown/parser/frontmatter.js +412 -0
  124. package/node_modules/@poe-code/design-system/dist/terminal-markdown/parser/inline.d.ts +10 -0
  125. package/node_modules/@poe-code/design-system/dist/terminal-markdown/parser/inline.js +1166 -0
  126. package/node_modules/@poe-code/design-system/dist/terminal-markdown/parser.d.ts +5 -0
  127. package/node_modules/@poe-code/design-system/dist/terminal-markdown/parser.js +42 -0
  128. package/node_modules/@poe-code/design-system/dist/terminal-markdown/renderer.d.ts +6 -0
  129. package/node_modules/@poe-code/design-system/dist/terminal-markdown/renderer.js +572 -0
  130. package/node_modules/@poe-code/design-system/dist/terminal-markdown/testing/theme-render-fixture.d.ts +1 -0
  131. package/node_modules/@poe-code/design-system/dist/terminal-markdown/testing/theme-render-fixture.js +27 -0
  132. package/node_modules/@poe-code/design-system/dist/tokens/colors.d.ts +35 -0
  133. package/node_modules/@poe-code/design-system/dist/tokens/colors.js +34 -0
  134. package/node_modules/@poe-code/design-system/dist/tokens/index.d.ts +4 -0
  135. package/node_modules/@poe-code/design-system/dist/tokens/index.js +4 -0
  136. package/node_modules/@poe-code/design-system/dist/tokens/spacing.d.ts +6 -0
  137. package/node_modules/@poe-code/design-system/dist/tokens/spacing.js +6 -0
  138. package/node_modules/@poe-code/design-system/dist/tokens/typography.d.ts +7 -0
  139. package/node_modules/@poe-code/design-system/dist/tokens/typography.js +8 -0
  140. package/node_modules/@poe-code/design-system/dist/tokens/widths.d.ts +5 -0
  141. package/node_modules/@poe-code/design-system/dist/tokens/widths.js +5 -0
  142. package/node_modules/@poe-code/design-system/package.json +25 -0
  143. package/node_modules/auth-store/README.md +47 -0
  144. package/node_modules/auth-store/dist/create-secret-store.d.ts +2 -0
  145. package/node_modules/auth-store/dist/create-secret-store.js +35 -0
  146. package/node_modules/auth-store/dist/encrypted-file-store.d.ts +39 -0
  147. package/node_modules/auth-store/dist/encrypted-file-store.js +156 -0
  148. package/node_modules/auth-store/dist/index.d.ts +7 -0
  149. package/node_modules/auth-store/dist/index.js +4 -0
  150. package/node_modules/auth-store/dist/keychain-store.d.ts +22 -0
  151. package/node_modules/auth-store/dist/keychain-store.js +111 -0
  152. package/node_modules/auth-store/dist/provider-store.d.ts +10 -0
  153. package/node_modules/auth-store/dist/provider-store.js +28 -0
  154. package/node_modules/auth-store/dist/types.d.ts +20 -0
  155. package/node_modules/auth-store/dist/types.js +1 -0
  156. package/node_modules/auth-store/package.json +25 -0
  157. package/package.json +48 -0
@@ -0,0 +1,7 @@
1
+ import type { MdNode, MdRange } from "../ast.js";
2
+ export declare function parseBlocks(input: string): MdNode[];
3
+ export declare function parseBlockDocument(input: string): {
4
+ frontmatter?: Record<string, unknown>;
5
+ frontmatterRange?: MdRange;
6
+ children: MdNode[];
7
+ };