skrypt-ai 0.4.2 → 0.6.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/dist/auth/index.d.ts +13 -3
- package/dist/auth/index.js +101 -9
- package/dist/auth/keychain.d.ts +5 -0
- package/dist/auth/keychain.js +82 -0
- package/dist/auth/notices.d.ts +3 -0
- package/dist/auth/notices.js +42 -0
- package/dist/autofix/index.d.ts +0 -4
- package/dist/autofix/index.js +10 -24
- package/dist/capture/browser.d.ts +11 -0
- package/dist/capture/browser.js +173 -0
- package/dist/capture/diff.d.ts +23 -0
- package/dist/capture/diff.js +52 -0
- package/dist/capture/index.d.ts +23 -0
- package/dist/capture/index.js +210 -0
- package/dist/capture/naming.d.ts +17 -0
- package/dist/capture/naming.js +45 -0
- package/dist/capture/parser.d.ts +15 -0
- package/dist/capture/parser.js +80 -0
- package/dist/capture/types.d.ts +57 -0
- package/dist/capture/types.js +1 -0
- package/dist/cli.js +20 -3
- package/dist/commands/autofix.js +136 -120
- package/dist/commands/cron.js +58 -47
- package/dist/commands/deploy.js +123 -102
- package/dist/commands/generate.js +125 -7
- package/dist/commands/heal.d.ts +10 -0
- package/dist/commands/heal.js +201 -0
- package/dist/commands/i18n.js +146 -111
- package/dist/commands/import.d.ts +2 -0
- package/dist/commands/import.js +157 -0
- package/dist/commands/init.js +19 -7
- package/dist/commands/lint.js +50 -44
- package/dist/commands/llms-txt.js +59 -49
- package/dist/commands/login.js +63 -34
- package/dist/commands/mcp.js +6 -0
- package/dist/commands/monitor.js +13 -8
- package/dist/commands/qa.d.ts +2 -0
- package/dist/commands/qa.js +43 -0
- package/dist/commands/review-pr.js +108 -92
- package/dist/commands/sdk.js +128 -122
- package/dist/commands/security.d.ts +2 -0
- package/dist/commands/security.js +109 -0
- package/dist/commands/test.js +91 -92
- package/dist/commands/version.js +104 -75
- package/dist/commands/watch.js +130 -114
- package/dist/config/types.js +2 -2
- package/dist/context-hub/index.d.ts +23 -0
- package/dist/context-hub/index.js +179 -0
- package/dist/context-hub/mappings.d.ts +8 -0
- package/dist/context-hub/mappings.js +55 -0
- package/dist/context-hub/types.d.ts +33 -0
- package/dist/context-hub/types.js +1 -0
- package/dist/generator/generator.js +39 -6
- package/dist/generator/types.d.ts +7 -0
- package/dist/generator/writer.d.ts +3 -1
- package/dist/generator/writer.js +36 -7
- package/dist/importers/confluence.d.ts +5 -0
- package/dist/importers/confluence.js +137 -0
- package/dist/importers/detect.d.ts +20 -0
- package/dist/importers/detect.js +121 -0
- package/dist/importers/docusaurus.d.ts +5 -0
- package/dist/importers/docusaurus.js +279 -0
- package/dist/importers/gitbook.d.ts +5 -0
- package/dist/importers/gitbook.js +189 -0
- package/dist/importers/github.d.ts +8 -0
- package/dist/importers/github.js +99 -0
- package/dist/importers/index.d.ts +15 -0
- package/dist/importers/index.js +30 -0
- package/dist/importers/markdown.d.ts +6 -0
- package/dist/importers/markdown.js +105 -0
- package/dist/importers/mintlify.d.ts +5 -0
- package/dist/importers/mintlify.js +172 -0
- package/dist/importers/notion.d.ts +5 -0
- package/dist/importers/notion.js +174 -0
- package/dist/importers/readme.d.ts +5 -0
- package/dist/importers/readme.js +184 -0
- package/dist/importers/transform.d.ts +90 -0
- package/dist/importers/transform.js +457 -0
- package/dist/importers/types.d.ts +37 -0
- package/dist/importers/types.js +1 -0
- package/dist/llm/anthropic-client.d.ts +1 -0
- package/dist/llm/anthropic-client.js +3 -1
- package/dist/llm/index.d.ts +6 -4
- package/dist/llm/index.js +76 -261
- package/dist/llm/openai-client.d.ts +1 -0
- package/dist/llm/openai-client.js +7 -2
- package/dist/plugins/index.js +7 -0
- package/dist/qa/checks.d.ts +10 -0
- package/dist/qa/checks.js +492 -0
- package/dist/qa/fixes.d.ts +30 -0
- package/dist/qa/fixes.js +277 -0
- package/dist/qa/index.d.ts +29 -0
- package/dist/qa/index.js +187 -0
- package/dist/qa/types.d.ts +24 -0
- package/dist/qa/types.js +1 -0
- package/dist/scanner/csharp.d.ts +23 -0
- package/dist/scanner/csharp.js +421 -0
- package/dist/scanner/index.js +53 -26
- package/dist/scanner/java.d.ts +39 -0
- package/dist/scanner/java.js +318 -0
- package/dist/scanner/kotlin.d.ts +23 -0
- package/dist/scanner/kotlin.js +389 -0
- package/dist/scanner/php.d.ts +57 -0
- package/dist/scanner/php.js +351 -0
- package/dist/scanner/python.js +17 -0
- package/dist/scanner/ruby.d.ts +36 -0
- package/dist/scanner/ruby.js +431 -0
- package/dist/scanner/swift.d.ts +25 -0
- package/dist/scanner/swift.js +392 -0
- package/dist/scanner/types.d.ts +1 -1
- package/dist/template/content/docs/_navigation.json +46 -0
- package/dist/template/content/docs/_sidebars.json +684 -0
- package/dist/template/content/docs/core.md +4544 -0
- package/dist/template/content/docs/index.mdx +89 -0
- package/dist/template/content/docs/integrations.md +1158 -0
- package/dist/template/content/docs/llms-full.md +403 -0
- package/dist/template/content/docs/llms.txt +4588 -0
- package/dist/template/content/docs/other.md +10379 -0
- package/dist/template/content/docs/tools.md +746 -0
- package/dist/template/content/docs/types.md +531 -0
- package/dist/template/docs.json +13 -11
- package/dist/template/mdx-components.tsx +27 -2
- package/dist/template/package.json +6 -0
- package/dist/template/public/search-index.json +1 -1
- package/dist/template/scripts/build-search-index.mjs +149 -13
- package/dist/template/src/app/api/chat/route.ts +83 -128
- package/dist/template/src/app/docs/[...slug]/page.tsx +75 -20
- package/dist/template/src/app/docs/llms-full.md +151 -4
- package/dist/template/src/app/docs/llms.txt +2464 -847
- package/dist/template/src/app/docs/page.mdx +48 -38
- package/dist/template/src/app/layout.tsx +3 -1
- package/dist/template/src/app/page.tsx +22 -8
- package/dist/template/src/components/ai-chat.tsx +73 -64
- package/dist/template/src/components/breadcrumbs.tsx +21 -23
- package/dist/template/src/components/copy-button.tsx +13 -9
- package/dist/template/src/components/copy-page-button.tsx +54 -0
- package/dist/template/src/components/docs-layout.tsx +37 -25
- package/dist/template/src/components/header.tsx +51 -10
- package/dist/template/src/components/mdx/card.tsx +17 -3
- package/dist/template/src/components/mdx/code-block.tsx +13 -9
- package/dist/template/src/components/mdx/code-group.tsx +13 -8
- package/dist/template/src/components/mdx/heading.tsx +15 -2
- package/dist/template/src/components/mdx/highlighted-code.tsx +13 -8
- package/dist/template/src/components/mdx/index.tsx +2 -0
- package/dist/template/src/components/mdx/mermaid.tsx +110 -0
- package/dist/template/src/components/mdx/screenshot.tsx +150 -0
- package/dist/template/src/components/scroll-to-hash.tsx +48 -0
- package/dist/template/src/components/sidebar.tsx +12 -18
- package/dist/template/src/components/table-of-contents.tsx +9 -0
- package/dist/template/src/lib/highlight.ts +3 -88
- package/dist/template/src/lib/navigation.ts +159 -0
- package/dist/template/src/lib/search-types.ts +4 -1
- package/dist/template/src/lib/search.ts +30 -7
- package/dist/template/src/styles/globals.css +17 -6
- package/dist/utils/files.d.ts +9 -1
- package/dist/utils/files.js +59 -10
- package/dist/utils/validation.d.ts +0 -3
- package/dist/utils/validation.js +0 -26
- package/package.json +5 -1
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: "API Reference"
|
|
3
|
+
description: "Complete API documentation with code examples"
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
<Info>
|
|
7
|
+
**130** documented elements
|
|
8
|
+
</Info>
|
|
9
|
+
|
|
10
|
+
<CardGroup cols={2}>
|
|
11
|
+
<Card title="Core API" icon="cube" href="core">
|
|
12
|
+
Core functionality and main exports (31 items)
|
|
13
|
+
</Card>
|
|
14
|
+
<Card title="Tools & Utilities" icon="wrench" href="tools">
|
|
15
|
+
Helper functions and utilities (7 items)
|
|
16
|
+
</Card>
|
|
17
|
+
<Card title="Types & Interfaces" icon="folder" href="types">
|
|
18
|
+
Type definitions and interfaces (3 items)
|
|
19
|
+
</Card>
|
|
20
|
+
<Card title="Integrations" icon="folder" href="integrations">
|
|
21
|
+
Third-party integrations (8 items)
|
|
22
|
+
</Card>
|
|
23
|
+
<Card title="Other" icon="folder" href="other">
|
|
24
|
+
Miscellaneous utilities (81 items)
|
|
25
|
+
</Card>
|
|
26
|
+
</CardGroup>
|
|
27
|
+
|
|
28
|
+
## Core API
|
|
29
|
+
|
|
30
|
+
Core functionality and main exports
|
|
31
|
+
|
|
32
|
+
| Element | Type |
|
|
33
|
+
|---------|------|
|
|
34
|
+
| [`PluginManager`](core#pluginmanager) | class |
|
|
35
|
+
| [`autoFixBatch`](core#autofixbatch) | function |
|
|
36
|
+
| [`autoFixExample`](core#autofixexample) | function |
|
|
37
|
+
| [`checkPlan`](core#checkplan) | function |
|
|
38
|
+
| [`clearAuth`](core#clearauth) | function |
|
|
39
|
+
| *...and 26 more* | |
|
|
40
|
+
|
|
41
|
+
## Tools & Utilities
|
|
42
|
+
|
|
43
|
+
Helper functions and utilities
|
|
44
|
+
|
|
45
|
+
| Element | Type |
|
|
46
|
+
|---------|------|
|
|
47
|
+
| [`findMdxFiles`](tools#findmdxfiles) | function |
|
|
48
|
+
| [`parseFrontmatter`](tools#parsefrontmatter) | function |
|
|
49
|
+
| [`sanitizeForShell`](tools#sanitizeforshell) | function |
|
|
50
|
+
| [`slugify`](tools#slugify) | function |
|
|
51
|
+
| [`validatePath`](tools#validatepath) | function |
|
|
52
|
+
| *...and 2 more* | |
|
|
53
|
+
|
|
54
|
+
## Types & Interfaces
|
|
55
|
+
|
|
56
|
+
Type definitions and interfaces
|
|
57
|
+
|
|
58
|
+
| Element | Type |
|
|
59
|
+
|---------|------|
|
|
60
|
+
| [`TypeScriptScanner`](types#typescriptscanner) | class |
|
|
61
|
+
| [`canHandle`](types#canhandle) | method |
|
|
62
|
+
| [`scanFile`](types#scanfile) | method |
|
|
63
|
+
|
|
64
|
+
## Integrations
|
|
65
|
+
|
|
66
|
+
Third-party integrations
|
|
67
|
+
|
|
68
|
+
| Element | Type |
|
|
69
|
+
|---------|------|
|
|
70
|
+
| [`AnthropicClient`](integrations#anthropicclient) | class |
|
|
71
|
+
| [`OpenAICompatibleClient`](integrations#openaicompatibleclient) | class |
|
|
72
|
+
| [`complete`](integrations#complete) | method |
|
|
73
|
+
| [`complete`](integrations#complete) | method |
|
|
74
|
+
| [`constructor`](integrations#constructor) | method |
|
|
75
|
+
| *...and 3 more* | |
|
|
76
|
+
|
|
77
|
+
## Other
|
|
78
|
+
|
|
79
|
+
Miscellaneous utilities
|
|
80
|
+
|
|
81
|
+
| Element | Type |
|
|
82
|
+
|---------|------|
|
|
83
|
+
| [`GoScanner`](other#goscanner) | class |
|
|
84
|
+
| [`PythonScanner`](other#pythonscanner) | class |
|
|
85
|
+
| [`RustScanner`](other#rustscanner) | class |
|
|
86
|
+
| [`analyzePRForDocs`](other#analyzeprfordocs) | function |
|
|
87
|
+
| [`build_signature`](other#build-signature) | function |
|
|
88
|
+
| *...and 76 more* | |
|
|
89
|
+
|