internal/

directory
v1.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 22, 2026 License: MIT

Directories

Path Synopsis
Package browsercookies 定义浏览器 cookie provider 的共享类型与接口。
Package browsercookies 定义浏览器 cookie provider 的共享类型与接口。
chromium
Package chromium 实现 Chrome 与 Edge(共享 Chromium cookie 格式)provider。
Package chromium 实现 Chrome 与 Edge(共享 Chromium cookie 格式)provider。
firefox
Package firefox 实现 Firefox provider。
Package firefox 实现 Firefox provider。
safari
Package safari 实现 Safari provider。
Package safari 实现 Safari provider。
secret
Package secret 提供平台秘密后端。
Package secret 提供平台秘密后端。
sqliteio
Package sqliteio 通过系统 sqlite3 命令行工具只读查询本地 SQLite 文件。
Package sqliteio 通过系统 sqlite3 命令行工具只读查询本地 SQLite 文件。
system
Package system 提供浏览器 cookie 的系统/browser integration 入口。
Package system 提供浏览器 cookie 的系统/browser integration 入口。
cli
Package cli 是 CLI 组合根:它把命令树、执行生命周期与生产依赖装配 组装成一个可运行的 pixiv 命令(以及 MCP stdio/HTTP runtime)。
Package cli 是 CLI 组合根:它把命令树、执行生命周期与生产依赖装配 组装成一个可运行的 pixiv 命令(以及 MCP stdio/HTTP runtime)。
commands
Package commands 提供所有 CLI command owner 共用的无状态生命周期声明。
Package commands 提供所有 CLI command owner 共用的无状态生命周期声明。
commands/config
Package config 注册 config 命令。
Package config 注册 config 命令。
commands/fanbox
Package fanbox 注册 FANBOX 命令组及其产品内 owner。
Package fanbox 注册 FANBOX 命令组及其产品内 owner。
commands/fanbox/auth
Package auth owns local FANBOX authentication commands and secret prompts.
Package auth owns local FANBOX authentication commands and secret prompts.
commands/fanbox/download
Package download owns FANBOX post asset download commands.
Package download owns FANBOX post asset download commands.
commands/fanbox/internal/listing
Package listing owns the FANBOX shared paged-read execution and its bounded output commit semantics.
Package listing owns the FANBOX shared paged-read execution and its bounded output commit semantics.
commands/fanbox/post
Package post owns FANBOX content listing and post presentation commands.
Package post owns FANBOX content listing and post presentation commands.
commands/pixiv
Package deps defines the narrow common wiring used by Pixiv data commands.
Package deps defines the narrow common wiring used by Pixiv data commands.
commands/pixiv/auth
Package auth 注册 Pixiv auth 命令;具体 OAuth/login helper 也归本目录所有。
Package auth 注册 Pixiv auth 命令;具体 OAuth/login helper 也归本目录所有。
commands/pixiv/bookmark
Package bookmark owns Pixiv bookmark reads and mutations.
Package bookmark owns Pixiv bookmark reads and mutations.
commands/pixiv/comment
Package comment owns the Pixiv comment listing command and its presenters.
Package comment owns the Pixiv comment listing command and its presenters.
commands/pixiv/detail
Package detail owns the Pixiv entity detail command and terminal presenter.
Package detail owns the Pixiv entity detail command and terminal presenter.
commands/pixiv/download
Package download owns the Pixiv download command and its terminal presenter.
Package download owns the Pixiv download command and its terminal presenter.
commands/pixiv/follow
Package follow owns Pixiv follow mutations.
Package follow owns Pixiv follow mutations.
commands/pixiv/internal/listing
Package listing owns Pixiv's shared paged-read execution and its bounded output commit semantics.
Package listing owns Pixiv's shared paged-read execution and its bounded output commit semantics.
commands/pixiv/mcp
Package mcp 注册 Pixiv MCP 命令。
Package mcp 注册 Pixiv MCP 命令。
commands/pixiv/mypixiv
Package mypixiv owns the authenticated `pixiv mypixiv` command group.
Package mypixiv owns the authenticated `pixiv mypixiv` command group.
commands/pixiv/ranking
Package ranking owns the Pixiv artwork and novel ranking command.
Package ranking owns the Pixiv artwork and novel ranking command.
commands/pixiv/recommended
Package recommended owns personalized Pixiv recommendation output.
Package recommended owns personalized Pixiv recommendation output.
commands/pixiv/search
Package search owns the Pixiv artwork, novel and user search command routes.
Package search owns the Pixiv artwork, novel and user search command routes.
commands/pixiv/series
Package series owns the Pixiv artwork and novel series listing command.
Package series owns the Pixiv artwork and novel series listing command.
commands/pixiv/timeline
Package timeline owns the authenticated `pixiv timeline` command group.
Package timeline owns the authenticated `pixiv timeline` command group.
commands/pixiv/user
Package user owns the Pixiv user command group.
Package user owns the Pixiv user command group.
commands/update
Package update 注册 update 命令;更新实现仍归 internal/update。
Package update 注册 update 命令;更新实现仍归 internal/update。
diagnostics
Package diagnostics renders safe typed events for the CLI-owned stderr presenter.
Package diagnostics renders safe typed events for the CLI-owned stderr presenter.
invocation
Package invocation 保存一次 CLI 调用的标准流。
Package invocation 保存一次 CLI 调用的标准流。
pipeline
Package pipeline owns the CLI's explicit stdin input codecs and their resolved per-command state.
Package pipeline owns the CLI's explicit stdin input codecs and their resolved per-command state.
config
paths
Package paths 定义本机私有状态的路径命名空间与最小权限要求。
Package paths 定义本机私有状态的路径命名空间与最小权限要求。
Package mcpserver 拥有统一 MCP Streamable HTTP transport 与 runtime lifecycle。
Package mcpserver 拥有统一 MCP Streamable HTTP transport 与 runtime lifecycle。
auth
Package auth 拥有 MCP owner 与 OAuth 的私有状态,不接触产品账号凭据。
Package auth 拥有 MCP owner 与 OAuth 的私有状态,不接触产品账号凭据。
fanbox
Package fanbox 聚合 FANBOX MCP tool 注册。
Package fanbox 聚合 FANBOX MCP tool 注册。
fanbox/internal/runtime
Package runtime 持有 FANBOX MCP 各 tool 共享的窄运行时:App 状态、工具注册 wrapper、client 打开与统一 result 摘要。
Package runtime 持有 FANBOX MCP 各 tool 共享的窄运行时:App 状态、工具注册 wrapper、client 打开与统一 result 摘要。
fanbox/tools/creator
Package creator 实现 fanbox_creator tool。
Package creator 实现 fanbox_creator tool。
fanbox/tools/creatorposts
Package creatorposts 实现 fanbox_creator_posts tool。
Package creatorposts 实现 fanbox_creator_posts tool。
fanbox/tools/creators
Package creators 实现 fanbox_creators tool。
Package creators 实现 fanbox_creators tool。
fanbox/tools/creatortags
Package creatortags 实现 fanbox_creator_tags tool。
Package creatortags 实现 fanbox_creator_tags tool。
fanbox/tools/currentuser
Package currentuser 实现 fanbox_current_user tool。
Package currentuser 实现 fanbox_current_user tool。
fanbox/tools/feed
Package feed 实现 fanbox_feed tool。
Package feed 实现 fanbox_feed tool。
fanbox/tools/openresource
Package openresource 实现 fanbox_open_resource tool。
Package openresource 实现 fanbox_open_resource tool。
fanbox/tools/post
Package post 实现 fanbox_post tool。
Package post 实现 fanbox_post tool。
fanbox/tools/resolveurl
Package resolveurl 实现 fanbox_resolve_url tool。
Package resolveurl 实现 fanbox_resolve_url tool。
pixiv
Package pixiv 聚合 Pixiv MCP tool 注册。
Package pixiv 聚合 Pixiv MCP tool 注册。
pixiv/accounts
Package accounts owns MCP account selection, without holding product credentials.
Package accounts owns MCP account selection, without holding product credentials.
pixiv/gallery
Package gallery owns the optional Pixiv MCP Apps view, never product credentials.
Package gallery owns the optional Pixiv MCP Apps view, never product credentials.
pixiv/internal/filters
Package filters 持有 Pixiv MCP 实体 list tool 的本地筛选契约与实现。
Package filters 持有 Pixiv MCP 实体 list tool 的本地筛选契约与实现。
pixiv/internal/outputs
Package outputs 持有 Pixiv MCP 多个 tool 共享的输出类型、schema 与 result helper。
Package outputs 持有 Pixiv MCP 多个 tool 共享的输出类型、schema 与 result helper。
pixiv/internal/records
Package records 持有 Pixiv MCP 各 tool 共享的 record 构造、输出 schema 与 本地筛选。
Package records 持有 Pixiv MCP 各 tool 共享的 record 构造、输出 schema 与 本地筛选。
pixiv/internal/runtime
Package runtime 持有 Pixiv MCP 各 tool 共享的窄运行时:App 状态、SDK ports、 工具注册 wrapper、paged read/write 与 record filter。
Package runtime 持有 Pixiv MCP 各 tool 共享的窄运行时:App 状态、SDK ports、 工具注册 wrapper、paged read/write 与 record filter。
pixiv/internal/schemas
Package schemas 集中定义 Pixiv MCP 输入 schema 的小型构造器。
Package schemas 集中定义 Pixiv MCP 输入 schema 的小型构造器。
pixiv/mediaproxy
Package mediaproxy delivers only capability-authorized Pixiv images, never arbitrary URLs.
Package mediaproxy delivers only capability-authorized Pixiv images, never arbitrary URLs.
pixiv/tools/account_list
Package account_list exposes the owner's local Pixiv account status.
Package account_list exposes the owner's local Pixiv account status.
pixiv/tools/account_login_start
Package account_login_start starts the server-owned Pixiv helper login flow.
Package account_login_start starts the server-owned Pixiv helper login flow.
pixiv/tools/account_status
Package account_status exposes the owner's local Pixiv account status.
Package account_status exposes the owner's local Pixiv account status.
pixiv/tools/account_use
Package account_use exposes the owner's local Pixiv account selection.
Package account_use exposes the owner's local Pixiv account selection.
pixiv/tools/artwork_media
Package artwork_media delivers artwork bytes rather than server-local files.
Package artwork_media delivers artwork bytes rather than server-local files.
pixiv/tools/blocked_users
Package blocked_users 实现 pixiv_blocked_users tool。
Package blocked_users 实现 pixiv_blocked_users tool。
pixiv/tools/bookmark_add
Package bookmark_add 实现 pixiv_bookmark_add tool。
Package bookmark_add 实现 pixiv_bookmark_add tool。
pixiv/tools/bookmark_detail
Package bookmark_detail 实现 pixiv_bookmark_detail tool。
Package bookmark_detail 实现 pixiv_bookmark_detail tool。
pixiv/tools/bookmark_list_all
Package bookmark_list_all 实现 additive bookmark_list_all tool。
Package bookmark_list_all 实现 additive bookmark_list_all tool。
pixiv/tools/bookmark_remove
Package bookmark_remove 实现 pixiv_bookmark_remove tool。
Package bookmark_remove 实现 pixiv_bookmark_remove tool。
pixiv/tools/bookmark_tags
Package bookmark_tags 实现 pixiv_bookmark_tags tool。
Package bookmark_tags 实现 pixiv_bookmark_tags tool。
pixiv/tools/bookmark_tags_all
Package bookmark_tags_all 实现 additive bookmark_tags_all tool。
Package bookmark_tags_all 实现 additive bookmark_tags_all tool。
pixiv/tools/comment_create
Package comment_create 实现 pixiv_comment_create tool。
Package comment_create 实现 pixiv_comment_create tool。
pixiv/tools/comment_delete
Package comment_delete 实现 pixiv_comment_delete tool。
Package comment_delete 实现 pixiv_comment_delete tool。
pixiv/tools/comment_reply
Package comment_reply 实现 pixiv_comment_reply tool。
Package comment_reply 实现 pixiv_comment_reply tool。
pixiv/tools/comment_stamp
Package comment_stamp 实现 pixiv_comment_stamp tool。
Package comment_stamp 实现 pixiv_comment_stamp tool。
pixiv/tools/comments
Package comments 实现 pixiv_comments tool。
Package comments 实现 pixiv_comments tool。
pixiv/tools/download
Package download 实现 download 与 download_random_from_recommendation tool。
Package download 实现 download 与 download_random_from_recommendation tool。
pixiv/tools/follow_user
Package follow_user 实现 pixiv_follow_user tool。
Package follow_user 实现 pixiv_follow_user tool。
pixiv/tools/gallery_animation
Package gallery_animation owns short control requests for Gallery animations.
Package gallery_animation owns short control requests for Gallery animations.
pixiv/tools/illust_detail
Package illust_detail 实现 pixiv_illust_detail tool。
Package illust_detail 实现 pixiv_illust_detail tool。
pixiv/tools/illust_ranking
Package illust_ranking 实现 pixiv_illust_ranking tool。
Package illust_ranking 实现 pixiv_illust_ranking tool。
pixiv/tools/illust_recommended
Package illust_recommended 实现 pixiv_illust_recommended tool。
Package illust_recommended 实现 pixiv_illust_recommended tool。
pixiv/tools/illust_related
Package illust_related 实现 pixiv_illust_related tool。
Package illust_related 实现 pixiv_illust_related tool。
pixiv/tools/illust_series
Package illust_series 实现 pixiv_illust_series tool。
Package illust_series 实现 pixiv_illust_series tool。
pixiv/tools/mypixiv
Package mypixiv 实现 pixiv_mypixiv tool。
Package mypixiv 实现 pixiv_mypixiv tool。
pixiv/tools/novel_bookmark_detail
Package novel_bookmark_detail 实现 pixiv_novel_bookmark_detail tool。
Package novel_bookmark_detail 实现 pixiv_novel_bookmark_detail tool。
pixiv/tools/novel_content
Package novel_content 实现 pixiv_novel_content tool。
Package novel_content 实现 pixiv_novel_content tool。
pixiv/tools/novel_detail
Package novel_detail 实现 pixiv_novel_detail tool。
Package novel_detail 实现 pixiv_novel_detail tool。
pixiv/tools/novel_series
Package novel_series 实现 pixiv_novel_series tool。
Package novel_series 实现 pixiv_novel_series tool。
pixiv/tools/recommended
Package recommended 实现 pixiv_recommended tool。
Package recommended 实现 pixiv_recommended tool。
pixiv/tools/reverse_search
Package reverse_search 实现 pixiv_reverse_search MCP tool。
Package reverse_search 实现 pixiv_reverse_search MCP tool。
pixiv/tools/search_illust
Package search_illust 实现 pixiv_search_illust tool。
Package search_illust 实现 pixiv_search_illust tool。
pixiv/tools/search_novel
Package search_novel 实现 pixiv_search_novel tool。
Package search_novel 实现 pixiv_search_novel tool。
pixiv/tools/search_user
Package search_user 实现 pixiv_search_user tool。
Package search_user 实现 pixiv_search_user tool。
pixiv/tools/show_gallery
Package show_gallery owns explicit visual presentation, not search.
Package show_gallery owns explicit visual presentation, not search.
pixiv/tools/timeline_following
Package timeline_following 实现 pixiv_timeline_following tool。
Package timeline_following 实现 pixiv_timeline_following tool。
pixiv/tools/timeline_latest
Package timeline_latest 实现 pixiv_timeline_latest tool。
Package timeline_latest 实现 pixiv_timeline_latest tool。
pixiv/tools/trending_tags_illust
Package trending_tags_illust 实现 pixiv_trending_tags_illust tool。
Package trending_tags_illust 实现 pixiv_trending_tags_illust tool。
pixiv/tools/unfollow_user
Package unfollow_user 实现 pixiv_unfollow_user tool。
Package unfollow_user 实现 pixiv_unfollow_user tool。
pixiv/tools/user_artworks
Package user_artworks 实现 pixiv_user_artworks tool。
Package user_artworks 实现 pixiv_user_artworks tool。
pixiv/tools/user_bookmarks
Package user_bookmarks 实现 pixiv_user_bookmarks tool。
Package user_bookmarks 实现 pixiv_user_bookmarks tool。
pixiv/tools/user_detail
Package user_detail 实现 pixiv_user_detail tool。
Package user_detail 实现 pixiv_user_detail tool。
pixiv/tools/user_novels
Package user_novels 实现 pixiv_user_novels tool。
Package user_novels 实现 pixiv_user_novels tool。
pixiv/tools/user_relations
Package user_relations 实现 pixiv_user_relations tool。
Package user_relations 实现 pixiv_user_relations tool。
media
downloader/filename
Package filename 提供下载路径使用的安全文件名构造逻辑。
Package filename 提供下载路径使用的安全文件名构造逻辑。
downloader/parallel
Package parallel 提供仅依赖 context 与 Go runtime 的有序批处理并发基础设施。
Package parallel 提供仅依赖 context 与 Go runtime 的有序批处理并发基础设施。
ugoira
Package ugoira 提供与 Pixiv 协议无关的 Ugoira ZIP 动图编码能力。
Package ugoira 提供与 Pixiv 协议无关的 Ugoira ZIP 动图编码能力。
ugoira/jpeg
Package jpeg decodes ugoira JPEG frames using the legacy IDCT.
Package jpeg decodes ugoira JPEG frames using the legacy IDCT.
Package releaseversion 统一拥有仓库级 release version identity。
Package releaseversion 统一拥有仓库级 release version identity。
services
fanbox
Package fanbox 提供 FANBOX 的业务 Facade。
Package fanbox 提供 FANBOX 的业务 Facade。
fanbox/account
Package fanbox 拥有 FANBOX 账号 domain 与 CLI/MCP 共用的账号/session 服务。
Package fanbox 拥有 FANBOX 账号 domain 与 CLI/MCP 共用的账号/session 服务。
fanbox/endpoint/creator
Package creator owns normalized FANBOX creator entities.
Package creator owns normalized FANBOX creator entities.
fanbox/endpoint/creator/creators
Package creators owns FANBOX creator profile and creator-list endpoints.
Package creators owns FANBOX creator profile and creator-list endpoints.
fanbox/endpoint/creator/tags
Package tags owns the FANBOX creator featured-tags endpoint.
Package tags owns the FANBOX creator featured-tags endpoint.
fanbox/endpoint/post
Package post owns normalized FANBOX post entities and media values.
Package post owns normalized FANBOX post entities and media values.
fanbox/endpoint/post/home
Package home owns the FANBOX authenticated home feed endpoint.
Package home owns the FANBOX authenticated home feed endpoint.
fanbox/endpoint/post/info
Package info owns the FANBOX post.info endpoint.
Package info owns the FANBOX post.info endpoint.
fanbox/endpoint/post/posts
Package posts owns creator post-list endpoint families.
Package posts owns creator post-list endpoint families.
fanbox/endpoint/post/supporting
Package supporting owns the FANBOX supporting-creators feed endpoint.
Package supporting owns the FANBOX supporting-creators feed endpoint.
fanbox/endpoint/post/wire
Package wire contains FANBOX post response decoding shared by the post endpoint families.
Package wire contains FANBOX post response decoding shared by the post endpoint families.
fanbox/resource
Package resource owns FANBOX media URL policy and the narrow resource transport adapter.
Package resource owns FANBOX media URL policy and the narrow resource transport adapter.
pixiv
Package pixiv 编排 Pixiv 账号、账号池与 public SDK client 生命周期。
Package pixiv 编排 Pixiv 账号、账号池与 public SDK client 生命周期。
pixiv/account
Package pixiv 编排 Pixiv 账号选择、refresh token 轮换持久化与公开 SDK 调用。
Package pixiv 编排 Pixiv 账号选择、refresh token 轮换持久化与公开 SDK 调用。
pixiv/account/loginrelay
Package loginrelay owns the shared remote-login protocol, independent of CLI and OS helpers.
Package loginrelay owns the shared remote-login protocol, independent of CLI and OS helpers.
pixiv/account/loginrelay/loginpage
Package loginpage 渲染 CLI 与远程登录 relay 共用的纯页面。
Package loginpage 渲染 CLI 与远程登录 relay 共用的纯页面。
pixiv/endpoint/continuation
Package continuation 解析 App API 响应中的 endpoint continuation。
Package continuation 解析 App API 响应中的 endpoint continuation。
pixiv/oauth
Package oauth 管理 Pixiv 身份状态与 OAuth token 交换,不承载内容 API。
Package oauth 管理 Pixiv 身份状态与 OAuth token 交换,不承载内容 API。
pixiv/pool
Package pool 实现 Pixiv 账号池的选择、冻结与安全重放策略。
Package pool 实现 Pixiv 账号池的选择、冻结与安全重放策略。
pixiv/protocol
Package protocol 集中维护 Pixiv 上游协议的静态约定。
Package protocol 集中维护 Pixiv 上游协议的静态约定。
pixiv/resource
Package resource 负责 Pixiv 资源响应的传输与复制。
Package resource 负责 Pixiv 资源响应的传输与复制。
reversesearch
Package reversesearch 提供反向搜图的领域契约、载荷生命周期与 provider 编排。
Package reversesearch 提供反向搜图的领域契约、载荷生命周期与 provider 编排。
reversesearch/ascii2d
Package ascii2d 实现 ascii2d 的浏览器会话、图片上传与 HTML 结果协议。
Package ascii2d 实现 ascii2d 的浏览器会话、图片上传与 HTML 结果协议。
reversesearch/assembly
Package assembly owns production construction of the reverse-search Facade.
Package assembly owns production construction of the reverse-search Facade.
reversesearch/saucenao
Package saucenao 实现 SauceNAO multipart JSON API 协议适配器。
Package saucenao 实现 SauceNAO multipart JSON API 协议适配器。
shared
buildinfo
Package buildinfo exposes metadata embedded by the Go linker at build time.
Package buildinfo exposes metadata embedded by the Go linker at build time.
diagnostics
Package diagnostics contains the opt-in, protocol-neutral event contract shared by MCP and transport adapters.
Package diagnostics contains the opt-in, protocol-neutral event contract shared by MCP and transport adapters.
lifecycle
Package lifecycle 提供与产品、账号和传输协议无关的资源生命周期。
Package lifecycle 提供与产品、账号和传输协议无关的资源生命周期。
pagination
Package pagination 提供与产品、账号和输出无关的逻辑分页算法。
Package pagination 提供与产品、账号和输出无关的逻辑分页算法。
record
Package record owns the stable Pixiv record projection shared by CLI and MCP.
Package record owns the stable Pixiv record projection shared by CLI and MCP.
resolver
Package resolver owns the command-scoped semantic resolution of Pixiv targets.
Package resolver owns the command-scoped semantic resolution of Pixiv targets.
searchfilter
Package searchfilter 定义 CLI/MCP 共用的搜索筛选 continuation 语义。
Package searchfilter 定义 CLI/MCP 共用的搜索筛选 continuation 语义。
traversal
Package traversal 提供可由调用方重放的通用逻辑分页遍历。
Package traversal 提供可由调用方重放的通用逻辑分页遍历。
storage
database
Package database 管理 Pixiv / FANBOX 鉴权状态的单一 SQLite 数据库。
Package database 管理 Pixiv / FANBOX 鉴权状态的单一 SQLite 数据库。
file/atomic
Package atomicfile 提供协议无关的原子落盘原语。
Package atomicfile 提供协议无关的原子落盘原语。
Package update orchestrates explicit and automatic updates.
Package update orchestrates explicit and automatic updates.
installer
Package installer installs a verified release binary and owns the trust root, install-source detection, cache file permissions, and pending-update cleanup.
Package installer installs a verified release binary and owns the trust root, install-source detection, cache file permissions, and pending-update cleanup.
process
Package process runs update commands as child processes.
Package process runs update commands as child processes.
release
Package release queries GitHub Releases and applies the SemVer channel policy.
Package release queries GitHub Releases and applies the SemVer channel policy.
source
Package source resolves and selects the built-in GitHub Releases transport paths.
Package source resolves and selects the built-in GitHub Releases transport paths.
utils
date
Package date 提供不携带产品协议语义的日期计算 helper。
Package date 提供不携带产品协议语义的日期计算 helper。
uri

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL