@xiaoso/dsh-tool-plus 0.1.7-beta.0 → 0.1.7
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/lib/index.mjs +11 -9
- package/lib/{scrapers-D8oWspgW.mjs → scrapers-CtQrQ5kG.mjs} +1 -1
- package/lib/types/client/BashPlusCard.d.ts +53 -0
- package/lib/types/client/ToolPlusSection.d.ts +36 -0
- package/lib/types/client/forms.d.ts +42 -0
- package/lib/types/client/index.d.ts +29 -0
- package/lib/types/client/locales.d.ts +19 -0
- package/lib/types/client/rm-safe-status-text.d.ts +15 -0
- package/lib/types/client/rows.d.ts +107 -0
- package/lib/types/client/web-connection-rpc.d.ts +22 -0
- package/lib/types/config/fields.d.ts +85 -0
- package/lib/types/config/omp-settings.d.ts +21 -0
- package/lib/types/config/settings.d.ts +212 -0
- package/lib/types/config/truncate.d.ts +27 -0
- package/lib/types/host/browser-probe-rpc.d.ts +29 -0
- package/lib/types/index.d.ts +6 -0
- package/lib/types/tools/ast-edit/adapter/index.d.ts +26 -0
- package/lib/types/tools/ast-edit/adapter/sdk.d.ts +49 -0
- package/lib/types/tools/ast-grep/adapter/index.d.ts +31 -0
- package/lib/types/tools/ast-grep/adapter/sdk.d.ts +44 -0
- package/lib/types/tools/bash/adapter/spill.d.ts +34 -0
- package/lib/types/tools/bash/background.d.ts +40 -0
- package/lib/types/tools/bash/bash-executor.d.ts +102 -0
- package/lib/types/tools/bash/bash-interceptor.d.ts +33 -0
- package/lib/types/tools/bash/cd-workdir.d.ts +35 -0
- package/lib/types/tools/bash/logger.d.ts +18 -0
- package/lib/types/tools/bash/non-interactive-env.d.ts +5 -0
- package/lib/types/tools/bash/render.d.ts +46 -0
- package/lib/types/tools/bash/rm-safe-status.d.ts +62 -0
- package/lib/types/tools/bash/rm-safe.d.ts +18 -0
- package/lib/types/tools/bash/sanitize-text.d.ts +34 -0
- package/lib/types/tools/bash/shell-snapshot.d.ts +31 -0
- package/lib/types/tools/bash/shell-tokenize.d.ts +60 -0
- package/lib/types/tools/bash/streaming-output.d.ts +32 -0
- package/lib/types/tools/bash/trash-cli-main.d.ts +1 -0
- package/lib/types/tools/bash/trash-cli.d.ts +77 -0
- package/lib/types/tools/bash/types.d.ts +107 -0
- package/lib/types/tools/bash/which.d.ts +20 -0
- package/lib/types/tools/bash/windows-shell.d.ts +31 -0
- package/lib/types/tools/bash/yield.d.ts +71 -0
- package/lib/types/tools/edit/adapter/index.d.ts +57 -0
- package/lib/types/tools/edit/adapter/tools/auto-generated-guard.d.ts +10 -0
- package/lib/types/tools/edit/adapter/tools/output-meta.d.ts +34 -0
- package/lib/types/tools/edit/adapter/tools/plan-mode-guard.d.ts +21 -0
- package/lib/types/tools/glob/adapter/index.d.ts +52 -0
- package/lib/types/tools/grep/adapter/index.d.ts +53 -0
- package/lib/types/tools/grep/adapter/match-path.d.ts +1 -0
- package/lib/types/tools/hashline/native/diff-preview.d.ts +37 -0
- package/lib/types/tools/hashline/native/index.d.ts +109 -0
- package/lib/types/tools/hashline/native/normalize.d.ts +29 -0
- package/lib/types/tools/hashline/native/policy.d.ts +98 -0
- package/lib/types/tools/hashline/native/writer.d.ts +42 -0
- package/lib/types/tools/omp/browser/launch.d.ts +28 -0
- package/lib/types/tools/omp/browser/readable.d.ts +17 -0
- package/lib/types/tools/omp/config/settings-schema.d.ts +12 -0
- package/lib/types/tools/omp/config/settings.d.ts +59 -0
- package/lib/types/tools/omp/edit/apply-patch/parser.d.ts +34 -0
- package/lib/types/tools/omp/edit/details.d.ts +54 -0
- package/lib/types/tools/omp/edit/diff.d.ts +60 -0
- package/lib/types/tools/omp/edit/dispatch.d.ts +43 -0
- package/lib/types/tools/omp/edit/file-snapshot-store.d.ts +81 -0
- package/lib/types/tools/omp/edit/hashline/execute.d.ts +40 -0
- package/lib/types/tools/omp/edit/hashline/params.d.ts +6 -0
- package/lib/types/tools/omp/edit/modes/apply-patch.d.ts +25 -0
- package/lib/types/tools/omp/edit/modes/patch.d.ts +109 -0
- package/lib/types/tools/omp/edit/modes/replace.d.ts +151 -0
- package/lib/types/tools/omp/edit/normalize.d.ts +31 -0
- package/lib/types/tools/omp/edit/notebook.d.ts +50 -0
- package/lib/types/tools/omp/edit/read-file.d.ts +2 -0
- package/lib/types/tools/omp/edit/snapshot-details.d.ts +33 -0
- package/lib/types/tools/omp/extensibility/skills.d.ts +22 -0
- package/lib/types/tools/omp/internal-urls/index.d.ts +100 -0
- package/lib/types/tools/omp/internal-urls/local-protocol.d.ts +12 -0
- package/lib/types/tools/omp/internal-urls/parse.d.ts +31 -0
- package/lib/types/tools/omp/internal-urls/types.d.ts +189 -0
- package/lib/types/tools/omp/internal-urls/xd-protocol.d.ts +19 -0
- package/lib/types/tools/omp/markit/converters/docx.d.ts +6 -0
- package/lib/types/tools/omp/markit/converters/epub.d.ts +15 -0
- package/lib/types/tools/omp/markit/converters/pdf/index.d.ts +7 -0
- package/lib/types/tools/omp/markit/converters/pptx.d.ts +57 -0
- package/lib/types/tools/omp/markit/converters/xlsx.d.ts +25 -0
- package/lib/types/tools/omp/markit/index.d.ts +2 -0
- package/lib/types/tools/omp/markit/registry.d.ts +16 -0
- package/lib/types/tools/omp/markit/types.d.ts +30 -0
- package/lib/types/tools/omp/sdk.d.ts +103 -0
- package/lib/types/tools/omp/session/agent-storage.d.ts +154 -0
- package/lib/types/tools/omp/session/streaming-output.d.ts +244 -0
- package/lib/types/tools/omp/task/spawn-policy.d.ts +22 -0
- package/lib/types/tools/omp/tools/approval.d.ts +62 -0
- package/lib/types/tools/omp/tools/ast-edit.d.ts +73 -0
- package/lib/types/tools/omp/tools/ast-grep.d.ts +61 -0
- package/lib/types/tools/omp/tools/auto-generated-guard.d.ts +20 -0
- package/lib/types/tools/omp/tools/conflict-detect.d.ts +237 -0
- package/lib/types/tools/omp/tools/fetch.d.ts +103 -0
- package/lib/types/tools/omp/tools/file-recorder.d.ts +13 -0
- package/lib/types/tools/omp/tools/fs-cache-invalidation.d.ts +15 -0
- package/lib/types/tools/omp/tools/glob.d.ts +86 -0
- package/lib/types/tools/omp/tools/grep.d.ts +102 -0
- package/lib/types/tools/omp/tools/grouped-file-output.d.ts +70 -0
- package/lib/types/tools/omp/tools/index.d.ts +23 -0
- package/lib/types/tools/omp/tools/list-limit.d.ts +12 -0
- package/lib/types/tools/omp/tools/match-line-format.d.ts +11 -0
- package/lib/types/tools/omp/tools/output-meta.d.ts +160 -0
- package/lib/types/tools/omp/tools/path-utils.d.ts +326 -0
- package/lib/types/tools/omp/tools/plan-mode-guard.d.ts +33 -0
- package/lib/types/tools/omp/tools/read-archive.d.ts +16 -0
- package/lib/types/tools/omp/tools/read-format.d.ts +104 -0
- package/lib/types/tools/omp/tools/read-path-resolution.d.ts +19 -0
- package/lib/types/tools/omp/tools/read-selector.d.ts +27 -0
- package/lib/types/tools/omp/tools/read-sqlite.d.ts +16 -0
- package/lib/types/tools/omp/tools/read-summary.d.ts +15 -0
- package/lib/types/tools/omp/tools/read.d.ts +70 -0
- package/lib/types/tools/omp/tools/render-utils.d.ts +28 -0
- package/lib/types/tools/omp/tools/report-tool-issue.d.ts +149 -0
- package/lib/types/tools/omp/tools/resolve.d.ts +127 -0
- package/lib/types/tools/omp/tools/sqlite-reader.d.ts +114 -0
- package/lib/types/tools/omp/tools/tool-errors.d.ts +33 -0
- package/lib/types/tools/omp/tools/tool-result.d.ts +33 -0
- package/lib/types/tools/omp/tools/tool-timeouts.d.ts +57 -0
- package/lib/types/tools/omp/tools/write.d.ts +53 -0
- package/lib/types/tools/omp/tools/writethrough.d.ts +24 -0
- package/lib/types/tools/omp/utils/block-context.d.ts +35 -0
- package/lib/types/tools/omp/utils/cpuprofile.d.ts +51 -0
- package/lib/types/tools/omp/utils/edit-mode.d.ts +13 -0
- package/lib/types/tools/omp/utils/file-display-mode.d.ts +27 -0
- package/lib/types/tools/omp/utils/image-loading.d.ts +51 -0
- package/lib/types/tools/omp/utils/image-resize.d.ts +42 -0
- package/lib/types/tools/omp/utils/lang-from-path.d.ts +9 -0
- package/lib/types/tools/omp/utils/markit-cache.d.ts +23 -0
- package/lib/types/tools/omp/utils/markit.d.ts +30 -0
- package/lib/types/tools/omp/utils/profile-tree.d.ts +47 -0
- package/lib/types/tools/omp/utils/sample-profile.d.ts +67 -0
- package/lib/types/tools/omp/utils/sixel.d.ts +21 -0
- package/lib/types/tools/omp/utils/tools-manager.d.ts +11 -0
- package/lib/types/tools/omp/utils/turndown.d.ts +15 -0
- package/lib/types/tools/omp/utils/zip.d.ts +129 -0
- package/lib/types/tools/omp/web/browser-render.d.ts +50 -0
- package/lib/types/tools/omp/web/parallel.d.ts +68 -0
- package/lib/types/tools/omp/web/scrapers/artifacthub.d.ts +6 -0
- package/lib/types/tools/omp/web/scrapers/arxiv.d.ts +5 -0
- package/lib/types/tools/omp/web/scrapers/aur.d.ts +5 -0
- package/lib/types/tools/omp/web/scrapers/biorxiv.d.ts +5 -0
- package/lib/types/tools/omp/web/scrapers/bluesky.d.ts +5 -0
- package/lib/types/tools/omp/web/scrapers/brew.d.ts +5 -0
- package/lib/types/tools/omp/web/scrapers/cheatsh.d.ts +8 -0
- package/lib/types/tools/omp/web/scrapers/chocolatey.d.ts +5 -0
- package/lib/types/tools/omp/web/scrapers/choosealicense.d.ts +2 -0
- package/lib/types/tools/omp/web/scrapers/cisa-kev.d.ts +5 -0
- package/lib/types/tools/omp/web/scrapers/clojars.d.ts +5 -0
- package/lib/types/tools/omp/web/scrapers/coingecko.d.ts +5 -0
- package/lib/types/tools/omp/web/scrapers/crates-io.d.ts +5 -0
- package/lib/types/tools/omp/web/scrapers/crossref.d.ts +2 -0
- package/lib/types/tools/omp/web/scrapers/devto.d.ts +5 -0
- package/lib/types/tools/omp/web/scrapers/discogs.d.ts +8 -0
- package/lib/types/tools/omp/web/scrapers/discourse.d.ts +5 -0
- package/lib/types/tools/omp/web/scrapers/dockerhub.d.ts +5 -0
- package/lib/types/tools/omp/web/scrapers/docs-rs.d.ts +9 -0
- package/lib/types/tools/omp/web/scrapers/fdroid.d.ts +5 -0
- package/lib/types/tools/omp/web/scrapers/firefox-addons.d.ts +2 -0
- package/lib/types/tools/omp/web/scrapers/flathub.d.ts +2 -0
- package/lib/types/tools/omp/web/scrapers/github-gist.d.ts +5 -0
- package/lib/types/tools/omp/web/scrapers/github.d.ts +34 -0
- package/lib/types/tools/omp/web/scrapers/gitlab.d.ts +5 -0
- package/lib/types/tools/omp/web/scrapers/go-pkg.d.ts +5 -0
- package/lib/types/tools/omp/web/scrapers/hackage.d.ts +5 -0
- package/lib/types/tools/omp/web/scrapers/hackernews.d.ts +2 -0
- package/lib/types/tools/omp/web/scrapers/hex.d.ts +5 -0
- package/lib/types/tools/omp/web/scrapers/huggingface.d.ts +2 -0
- package/lib/types/tools/omp/web/scrapers/iacr.d.ts +5 -0
- package/lib/types/tools/omp/web/scrapers/index.d.ts +84 -0
- package/lib/types/tools/omp/web/scrapers/jetbrains-marketplace.d.ts +2 -0
- package/lib/types/tools/omp/web/scrapers/lemmy.d.ts +2 -0
- package/lib/types/tools/omp/web/scrapers/lobsters.d.ts +5 -0
- package/lib/types/tools/omp/web/scrapers/mastodon.d.ts +5 -0
- package/lib/types/tools/omp/web/scrapers/maven.d.ts +6 -0
- package/lib/types/tools/omp/web/scrapers/mdn.d.ts +2 -0
- package/lib/types/tools/omp/web/scrapers/metacpan.d.ts +5 -0
- package/lib/types/tools/omp/web/scrapers/musicbrainz.d.ts +5 -0
- package/lib/types/tools/omp/web/scrapers/npm.d.ts +5 -0
- package/lib/types/tools/omp/web/scrapers/nuget.d.ts +5 -0
- package/lib/types/tools/omp/web/scrapers/nvd.d.ts +5 -0
- package/lib/types/tools/omp/web/scrapers/ollama.d.ts +2 -0
- package/lib/types/tools/omp/web/scrapers/open-vsx.d.ts +5 -0
- package/lib/types/tools/omp/web/scrapers/opencorporates.d.ts +5 -0
- package/lib/types/tools/omp/web/scrapers/openlibrary.d.ts +5 -0
- package/lib/types/tools/omp/web/scrapers/orcid.d.ts +5 -0
- package/lib/types/tools/omp/web/scrapers/osv.d.ts +5 -0
- package/lib/types/tools/omp/web/scrapers/packagist.d.ts +5 -0
- package/lib/types/tools/omp/web/scrapers/pub-dev.d.ts +5 -0
- package/lib/types/tools/omp/web/scrapers/pubmed.d.ts +5 -0
- package/lib/types/tools/omp/web/scrapers/pypi.d.ts +5 -0
- package/lib/types/tools/omp/web/scrapers/rawg.d.ts +2 -0
- package/lib/types/tools/omp/web/scrapers/readthedocs.d.ts +2 -0
- package/lib/types/tools/omp/web/scrapers/reddit.d.ts +5 -0
- package/lib/types/tools/omp/web/scrapers/repology.d.ts +5 -0
- package/lib/types/tools/omp/web/scrapers/rfc.d.ts +5 -0
- package/lib/types/tools/omp/web/scrapers/rubygems.d.ts +5 -0
- package/lib/types/tools/omp/web/scrapers/searchcode.d.ts +2 -0
- package/lib/types/tools/omp/web/scrapers/sec-edgar.d.ts +5 -0
- package/lib/types/tools/omp/web/scrapers/semantic-scholar.d.ts +2 -0
- package/lib/types/tools/omp/web/scrapers/snapcraft.d.ts +2 -0
- package/lib/types/tools/omp/web/scrapers/sourcegraph.d.ts +2 -0
- package/lib/types/tools/omp/web/scrapers/spdx.d.ts +5 -0
- package/lib/types/tools/omp/web/scrapers/spotify.d.ts +8 -0
- package/lib/types/tools/omp/web/scrapers/stackoverflow.d.ts +6 -0
- package/lib/types/tools/omp/web/scrapers/terraform.d.ts +5 -0
- package/lib/types/tools/omp/web/scrapers/tldr.d.ts +7 -0
- package/lib/types/tools/omp/web/scrapers/twitter.d.ts +5 -0
- package/lib/types/tools/omp/web/scrapers/types.d.ts +90 -0
- package/lib/types/tools/omp/web/scrapers/utils.d.ts +26 -0
- package/lib/types/tools/omp/web/scrapers/vimeo.d.ts +5 -0
- package/lib/types/tools/omp/web/scrapers/vscode-marketplace.d.ts +5 -0
- package/lib/types/tools/omp/web/scrapers/w3c.d.ts +2 -0
- package/lib/types/tools/omp/web/scrapers/wikidata.d.ts +5 -0
- package/lib/types/tools/omp/web/scrapers/wikipedia.d.ts +5 -0
- package/lib/types/tools/omp/web/scrapers/youtube.d.ts +5 -0
- package/lib/types/tools/omp/web/search/providers/utils.d.ts +49 -0
- package/lib/types/tools/omp/web/search/types.d.ts +501 -0
- package/lib/types/tools/omp/web/search/utils.d.ts +4 -0
- package/lib/types/tools/omp/workspace-tree.d.ts +42 -0
- package/lib/types/tools/read/adapter/index.d.ts +49 -0
- package/lib/types/tools/read/adapter/internal-urls/artifact-protocol.d.ts +15 -0
- package/lib/types/tools/read/adapter/internal-urls/registry-helpers.d.ts +44 -0
- package/lib/types/tools/read/adapter/registry/agent-registry.d.ts +29 -0
- package/lib/types/tools/shared/auto-generated-guard.dsh.d.ts +16 -0
- package/lib/types/tools/shared/browser-detect.d.ts +54 -0
- package/lib/types/tools/shared/browser-rpc-channel.d.ts +40 -0
- package/lib/types/tools/shared/bun-ffi-shim.d.ts +13 -0
- package/lib/types/tools/shared/bun-named-shim.d.ts +42 -0
- package/lib/types/tools/shared/bun-shim.d.ts +138 -0
- package/lib/types/tools/shared/bun-sqlite-shim.d.ts +49 -0
- package/lib/types/tools/shared/fs-promises-shim.d.ts +15 -0
- package/lib/types/tools/shared/image-bridge.d.ts +98 -0
- package/lib/types/tools/shared/omp-prompt.d.ts +47 -0
- package/lib/types/tools/shared/sandbox-policy.d.ts +38 -0
- package/lib/types/tools/shared/session-state.d.ts +51 -0
- package/lib/types/tools/shared/tool-errors.d.ts +33 -0
- package/lib/types/tools/shared/win-path-fixes.d.ts +16 -0
- package/lib/types/tools/write/adapter/index.d.ts +31 -0
- package/lib/{utils-CCfhUQen.mjs → utils-ECAwvaPQ.mjs} +1 -1
- package/package.json +2 -2
- package/presets/package.json +1 -1
- package/scripts/patch-pi-natives.mjs +108 -108
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { SpecialHandler } from "./types";
|
|
2
|
+
/**
|
|
3
|
+
* Handle cheat.sh / cht.sh URLs for command cheatsheets
|
|
4
|
+
*
|
|
5
|
+
* API: Plain text at https://cheat.sh/{topic}?T (T flag removes ANSI colors)
|
|
6
|
+
* Supports: commands, language/topic queries (e.g., python/list, go/slice)
|
|
7
|
+
*/
|
|
8
|
+
export declare const handleCheatSh: SpecialHandler;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Discogs URL handler for music releases and masters
|
|
3
|
+
*
|
|
4
|
+
* Uses the Discogs API to extract structured metadata about releases.
|
|
5
|
+
* API docs: https://www.discogs.com/developers
|
|
6
|
+
*/
|
|
7
|
+
import type { SpecialHandler } from "./types";
|
|
8
|
+
export declare const handleDiscogs: SpecialHandler;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { SpecialHandler } from "./types";
|
|
2
|
+
/** Hard ceiling for decompressed rustdoc JSON: a 50 MB compressed payload can
|
|
3
|
+
* expand far enough to block the event loop or OOM without a cap. Exceeding it
|
|
4
|
+
* throws (RangeError), which the fetch path converts to a `null` result. */
|
|
5
|
+
export declare const MAX_RUSTDOC_GUNZIP_BYTES: number;
|
|
6
|
+
/** Decompress a docs.rs rustdoc gzip payload with the output-size cap applied.
|
|
7
|
+
* `maxOutputLength` is overridable only for tests exercising the cap contract. */
|
|
8
|
+
export declare function gunzipRustdocJson(compressed: Buffer, maxOutputLength?: number): string;
|
|
9
|
+
export declare const handleDocsRs: SpecialHandler;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import type { SpecialHandler } from "./types";
|
|
2
|
+
interface GitHubUrl {
|
|
3
|
+
type: "blob" | "tree" | "repo" | "commit" | "issue" | "issues" | "pull" | "pulls" | "discussion" | "discussions" | "actions-run" | "actions-job" | "other";
|
|
4
|
+
owner: string;
|
|
5
|
+
repo: string;
|
|
6
|
+
ref?: string;
|
|
7
|
+
path?: string;
|
|
8
|
+
number?: number;
|
|
9
|
+
runId?: number;
|
|
10
|
+
jobId?: number;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Parse GitHub URL into components
|
|
14
|
+
*/
|
|
15
|
+
export declare function parseGitHubUrl(url: string): GitHubUrl | null;
|
|
16
|
+
/**
|
|
17
|
+
* Fetch from GitHub API
|
|
18
|
+
*/
|
|
19
|
+
export declare function fetchGitHubApi(endpoint: string, timeout: number, signal?: AbortSignal): Promise<{
|
|
20
|
+
data: unknown;
|
|
21
|
+
ok: boolean;
|
|
22
|
+
}>;
|
|
23
|
+
/**
|
|
24
|
+
* Strip the per-line ISO-8601 timestamp prefix GitHub prepends to every job log line.
|
|
25
|
+
* Cuts ~28 bytes/line of noise while preserving the message text. Also drops the leading
|
|
26
|
+
* UTF-8 BOM GitHub puts at the start of the log file (otherwise the first line's timestamp
|
|
27
|
+
* survives because `^` no longer sits before a digit).
|
|
28
|
+
*/
|
|
29
|
+
export declare function stripActionsLogTimestamps(logs: string): string;
|
|
30
|
+
/**
|
|
31
|
+
* Handle GitHub URLs specially
|
|
32
|
+
*/
|
|
33
|
+
export declare const handleGitHub: SpecialHandler;
|
|
34
|
+
export {};
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Web Fetch Special Handlers Index
|
|
3
|
+
*
|
|
4
|
+
* Exports all special handlers for site-specific content extraction.
|
|
5
|
+
*/
|
|
6
|
+
import { handleArtifactHub } from "./artifacthub";
|
|
7
|
+
import { handleArxiv } from "./arxiv";
|
|
8
|
+
import { handleAur } from "./aur";
|
|
9
|
+
import { handleBiorxiv } from "./biorxiv";
|
|
10
|
+
import { handleBluesky } from "./bluesky";
|
|
11
|
+
import { handleBrew } from "./brew";
|
|
12
|
+
import { handleCheatSh } from "./cheatsh";
|
|
13
|
+
import { handleChocolatey } from "./chocolatey";
|
|
14
|
+
import { handleChooseALicense } from "./choosealicense";
|
|
15
|
+
import { handleCisaKev } from "./cisa-kev";
|
|
16
|
+
import { handleClojars } from "./clojars";
|
|
17
|
+
import { handleCoinGecko } from "./coingecko";
|
|
18
|
+
import { handleCratesIo } from "./crates-io";
|
|
19
|
+
import { handleCrossref } from "./crossref";
|
|
20
|
+
import { handleDevTo } from "./devto";
|
|
21
|
+
import { handleDiscogs } from "./discogs";
|
|
22
|
+
import { handleDiscourse } from "./discourse";
|
|
23
|
+
import { handleDockerHub } from "./dockerhub";
|
|
24
|
+
import { handleDocsRs } from "./docs-rs";
|
|
25
|
+
import { handleFdroid } from "./fdroid";
|
|
26
|
+
import { handleFirefoxAddons } from "./firefox-addons";
|
|
27
|
+
import { handleFlathub } from "./flathub";
|
|
28
|
+
import { fetchGitHubApi, handleGitHub } from "./github";
|
|
29
|
+
import { handleGitHubGist } from "./github-gist";
|
|
30
|
+
import { handleGitLab } from "./gitlab";
|
|
31
|
+
import { handleGoPkg } from "./go-pkg";
|
|
32
|
+
import { handleHackage } from "./hackage";
|
|
33
|
+
import { handleHackerNews } from "./hackernews";
|
|
34
|
+
import { handleHex } from "./hex";
|
|
35
|
+
import { handleHuggingFace } from "./huggingface";
|
|
36
|
+
import { handleIacr } from "./iacr";
|
|
37
|
+
import { handleJetBrainsMarketplace } from "./jetbrains-marketplace";
|
|
38
|
+
import { handleLemmy } from "./lemmy";
|
|
39
|
+
import { handleLobsters } from "./lobsters";
|
|
40
|
+
import { handleMastodon } from "./mastodon";
|
|
41
|
+
import { handleMaven } from "./maven";
|
|
42
|
+
import { handleMDN } from "./mdn";
|
|
43
|
+
import { handleMetaCPAN } from "./metacpan";
|
|
44
|
+
import { handleMusicBrainz } from "./musicbrainz";
|
|
45
|
+
import { handleNpm } from "./npm";
|
|
46
|
+
import { handleNuGet } from "./nuget";
|
|
47
|
+
import { handleNvd } from "./nvd";
|
|
48
|
+
import { handleOllama } from "./ollama";
|
|
49
|
+
import { handleOpenVsx } from "./open-vsx";
|
|
50
|
+
import { handleOpenCorporates } from "./opencorporates";
|
|
51
|
+
import { handleOpenLibrary } from "./openlibrary";
|
|
52
|
+
import { handleOrcid } from "./orcid";
|
|
53
|
+
import { handleOsv } from "./osv";
|
|
54
|
+
import { handlePackagist } from "./packagist";
|
|
55
|
+
import { handlePubDev } from "./pub-dev";
|
|
56
|
+
import { handlePubMed } from "./pubmed";
|
|
57
|
+
import { handlePyPI } from "./pypi";
|
|
58
|
+
import { handleRawg } from "./rawg";
|
|
59
|
+
import { handleReadTheDocs } from "./readthedocs";
|
|
60
|
+
import { handleReddit } from "./reddit";
|
|
61
|
+
import { handleRepology } from "./repology";
|
|
62
|
+
import { handleRfc } from "./rfc";
|
|
63
|
+
import { handleRubyGems } from "./rubygems";
|
|
64
|
+
import { handleSearchcode } from "./searchcode";
|
|
65
|
+
import { handleSecEdgar } from "./sec-edgar";
|
|
66
|
+
import { handleSemanticScholar } from "./semantic-scholar";
|
|
67
|
+
import { handleSnapcraft } from "./snapcraft";
|
|
68
|
+
import { handleSourcegraph } from "./sourcegraph";
|
|
69
|
+
import { handleSpdx } from "./spdx";
|
|
70
|
+
import { handleSpotify } from "./spotify";
|
|
71
|
+
import { handleStackOverflow } from "./stackoverflow";
|
|
72
|
+
import { handleTerraform } from "./terraform";
|
|
73
|
+
import { handleTldr } from "./tldr";
|
|
74
|
+
import { handleTwitter } from "./twitter";
|
|
75
|
+
import type { SpecialHandler } from "./types";
|
|
76
|
+
import { handleVimeo } from "./vimeo";
|
|
77
|
+
import { handleVscodeMarketplace } from "./vscode-marketplace";
|
|
78
|
+
import { handleW3c } from "./w3c";
|
|
79
|
+
import { handleWikidata } from "./wikidata";
|
|
80
|
+
import { handleWikipedia } from "./wikipedia";
|
|
81
|
+
import { handleYouTube } from "./youtube";
|
|
82
|
+
export type { RenderResult, SpecialHandler } from "./types";
|
|
83
|
+
export { fetchGitHubApi, handleArtifactHub, handleArxiv, handleAur, handleBiorxiv, handleBluesky, handleBrew, handleCheatSh, handleChocolatey, handleChooseALicense, handleCisaKev, handleClojars, handleCoinGecko, handleCratesIo, handleCrossref, handleDevTo, handleDiscogs, handleDiscourse, handleDockerHub, handleDocsRs, handleFdroid, handleFirefoxAddons, handleFlathub, handleGitHub, handleGitHubGist, handleGitLab, handleGoPkg, handleHackage, handleHackerNews, handleHex, handleHuggingFace, handleIacr, handleJetBrainsMarketplace, handleLemmy, handleLobsters, handleMastodon, handleMaven, handleMDN, handleMetaCPAN, handleMusicBrainz, handleNpm, handleNuGet, handleNvd, handleOllama, handleOpenCorporates, handleOpenLibrary, handleOpenVsx, handleOrcid, handleOsv, handlePackagist, handlePubDev, handlePubMed, handlePyPI, handleRawg, handleReadTheDocs, handleReddit, handleRepology, handleRfc, handleRubyGems, handleSearchcode, handleSecEdgar, handleSemanticScholar, handleSnapcraft, handleSourcegraph, handleSpdx, handleSpotify, handleStackOverflow, handleTerraform, handleTldr, handleTwitter, handleVimeo, handleVscodeMarketplace, handleW3c, handleWikidata, handleWikipedia, handleYouTube, };
|
|
84
|
+
export declare const specialHandlers: SpecialHandler[];
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Spotify URL handler for podcasts, tracks, albums, and playlists
|
|
3
|
+
*
|
|
4
|
+
* Uses oEmbed API and Open Graph metadata to extract information
|
|
5
|
+
* from Spotify URLs without requiring authentication.
|
|
6
|
+
*/
|
|
7
|
+
import type { SpecialHandler } from "./types";
|
|
8
|
+
export declare const handleSpotify: SpecialHandler;
|