internal/

directory
v1.0.85 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2026 License: MIT

Directories

Path Synopsis
Package affordance is the lazily-loaded store of usage guidance for service-API methods.
Package affordance is the lazily-loaded store of usage guidance for service-API methods.
Package apicatalog is the single navigation Module over the API metadata.
Package apicatalog is the single navigation Module over the API metadata.
Package appmeta exposes read-only views of a Feishu app's published version, subscribed event types, and scopes.
Package appmeta exposes read-only views of a Feishu app's published version, subscribed event types, and scopes.
Package charcheck provides character-level security checks shared across path validation (localfileio) and input validation (validate) packages.
Package charcheck provides character-level security checks shared across path validation (localfileio) and input validation (validate) packages.
Package cmdmeta is the single source of truth for command metadata that the policy engine, the hook selector, and help rendering consume.
Package cmdmeta is the single source of truth for command metadata that the policy engine, the hook selector, and help rendering consume.
Package cmdpolicy is the user-layer command policy engine.
Package cmdpolicy is the user-layer command policy engine.
yaml
Package yaml parses one or more Rules from yaml bytes.
Package yaml parses one or more Rules from yaml bytes.
Package deprecation carries a process-level notice that the command currently being executed is a backward-compatibility alias, kept alive for users whose skill predates a refactor.
Package deprecation carries a process-level notice that the command currently being executed is a backward-compatibility alias, kept alive for users whose skill predates a refactor.
Package download provides validated full and ranged streams.
Package download provides validated full and ranged streams.
Package event is the compatibility facade over the event kernel packages: the value model (model), the declaration/compilation layer (catalog), the processing contracts (processing), and the dedup filter kept here.
Package event is the compatibility facade over the event kernel packages: the value model (model), the declaration/compilation layer (catalog), the processing contracts (processing), and the dedup filter kept here.
adapter/lark/websocket
Package websocket adapts the platform WebSocket connection into a pluggable event source (separate package to keep business registrations free of SDK transitive deps).
Package websocket adapts the platform WebSocket connection into a pluggable event source (separate package to keep business registrations free of SDK transitive deps).
adapter/localbus/busctl
Package busctl is the wire-level control client for the event bus daemon.
Package busctl is the wire-level control client for the event bus daemon.
adapter/localbus/busdiscover
Package busdiscover enumerates live bus daemons via per-AppID PID files protected by a process-lifetime advisory lock.
Package busdiscover enumerates live bus daemons via per-AppID PID files protected by a process-lifetime advisory lock.
adapter/localbus/protocol
Package protocol defines the newline-delimited JSON wire format used over IPC.
Package protocol defines the newline-delimited JSON wire format used over IPC.
adapter/localbus/transport
Package transport: Unix sockets on POSIX, named pipes on Windows.
Package transport: Unix sockets on POSIX, named pipes on Windows.
application/consume
Package consume is the consume use case: it turns a request plus a compiled catalog entry into one immutable decision, renders that decision for dry-run, and executes the very same decision for a real run.
Package consume is the consume use case: it turns a request plus a compiled catalog entry into one immutable decision, renders that decision for dry-run, and executes the very same decision for a real run.
bus
Package bus implements the per-AppID event-bus daemon; lifecycle is driven by consumer presence (idle timeout) and explicit shutdown.
Package bus implements the per-AppID event-bus daemon; lifecycle is driven by consumer presence (idle timeout) and explicit shutdown.
catalog
Package catalog owns the EventKey declaration types and compiles them into a validated, immutable snapshot.
Package catalog owns the EventKey declaration types and compiles them into a validated, immutable snapshot.
consume
Package consume drives the consume-side half of the events pipeline.
Package consume drives the consume-side half of the events pipeline.
model
Package model holds the pure value types of the event kernel.
Package model holds the pure value types of the event kernel.
processing
Package processing defines how a domain processor's outcome is interpreted by the consume pipeline: emit exactly what the key's schema declares, or drop with a stated reason — never leak an undeclared shape to stdout.
Package processing defines how a domain processor's outcome is interpreted by the consume pipeline: emit exactly what the key's schema declares, or drop with a stated reason — never leak an undeclared shape to stdout.
schemas
Package schemas derives JSON Schema fragments from Go types via reflection.
Package schemas derives JSON Schema fragments from Go types via reflection.
testutil
Package testutil holds test-only helpers shared across event subsystem tests.
Package testutil holds test-only helpers shared across event subsystem tests.
Package flagalias owns parse-time aliases for Cobra/pflag commands.
Package flagalias owns parse-time aliases for Cobra/pflag commands.
Package hook is the internal Hook dispatch implementation.
Package hook is the internal Hook dispatch implementation.
Package keychain provides cross-platform secure storage for secrets.
Package keychain provides cross-platform secure storage for secrets.
Package meta is the typed model of the API metadata registry and the single place that parses it.
Package meta is the typed model of the API metadata registry and the single place that parses it.
Package platformhost is the bootstrap-time orchestrator that turns the global plugin registry (extension/platform.RegisteredPlugins) into:
Package platformhost is the bootstrap-time orchestrator that turns the global plugin registry (extension/platform.RegisteredPlugins) into:
qualitygate
Package ratelimit parses server-provided retry pacing without coupling retry loops to one gateway's header names.
Package ratelimit parses server-provided retry pacing without coupling retry loops to one gateway's header names.
Package recovery carries semantic recovery targets from error producers to the build-local error presenter.
Package recovery carries semantic recovery targets from error producers to the build-local error presenter.
registrytest
Package registrytest seeds the registry with a tracked metadata fixture so command-tree tests pass on a clean checkout — no `make fetch_meta`, no network, no user cache.
Package registrytest seeds the registry with a tracked metadata fixture so command-tree tests pass on a clean checkout — no `make fetch_meta`, no network, no user cache.
Package deviceinfo collects the platform hardware product model and the platform values used by device-related risk-control headers.
Package deviceinfo collects the platform hardware product model and the platform values used by device-related risk-control headers.
security
Package selfupdate handles installation detection, npm-based updates, skills updates, and platform-specific binary replacement for the CLI self-update flow.
Package selfupdate handles installation detection, npm-based updates, skills updates, and platform-specific binary replacement for the CLI self-update flow.
Package skillcontent reads embedded skill content from an injected fs.FS rooted at the skill list (entries like "lark-calendar/SKILL.md").
Package skillcontent reads embedded skill content from an injected fs.FS rooted at the skill list (entries like "lark-calendar/SKILL.md").
Package skillpolicy composes the CLI's effective embedded skill tree from a base skill FS and at most one plugin-supplied SkillsOverlay.
Package skillpolicy composes the CLI's effective embedded skill tree from a base skill FS and at most one plugin-supplied SkillsOverlay.
Package skillref models structured references into the binary-embedded skill tree.
Package skillref models structured references into the binary-embedded skill tree.
Package skillscheck verifies that the locally installed lark-cli skills are in sync with the running binary version, by comparing the current binary version against skills-state.json.
Package skillscheck verifies that the locally installed lark-cli skills are in sync with the running binary version, by comparing the current binary version against skills-state.json.
Package suggest provides the shared "did you mean" primitives: a rune-aware Levenshtein edit distance and a prefix-weighted Closest ranker.
Package suggest provides the shared "did you mean" primitives: a rune-aware Levenshtein edit distance and a prefix-weighted Closest ranker.
Package surface describes the build-local command surface presented by one Cobra tree.
Package surface describes the build-local command surface presented by one Cobra tree.
testutil
gitcmd
Package gitcmd provides Git process helpers for tests that use temporary repositories.
Package gitcmd provides Git process helpers for tests that use temporary repositories.
Package transport owns how the CLI assembles its outbound HTTP transport: the shared base RoundTripper (Shared/Fallback and the HTTP client constructors), the LARK_CLI_NO_PROXY direct-egress clone, and the ~/.lark-cli/proxy_config.json proxy-plugin mode.
Package transport owns how the CLI assembles its outbound HTTP transport: the shared base RoundTripper (Shared/Fallback and the HTTP client constructors), the LARK_CLI_NO_PROXY direct-egress clone, and the ~/.lark-cli/proxy_config.json proxy-plugin mode.
vfs

Jump to

Keyboard shortcuts

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