glint_core 0.1.2
glint_core: ^0.1.2 copied to clipboard
Code shared by the glint packages. Redaction for anything that leaves the machine, the tamper-evident telemetry audit log, and telemetry identity and consent.
Changelog #
All notable changes to glint_core are documented here. The format follows Keep a Changelog; versions follow semver, where before 1.0 a minor bump may break things.
[Unreleased] #
0.1.2 - 2026-10-15 #
Changed #
- An example (
example/glint_core_example.dart), the package's own analysis options anddart formatacross the package, so it scores fully on pub.dev.
0.1.1 - 2026-09-27 #
Added #
editDistance, the Levenshtein distance both packages' suggestions use.- Dart VM connection:
connectVmService(connect timeout, then agetVersionprobe that fails fast on a stale DDS),vmServiceWsUri,canonicalVmServiceUri, andinstanceText(refetches strings the VM cut at 128 characters, asks other objects fortoString(), and says how much was cut when it can't). - Agent-filed issues:
fileWithGh(keeps only labels the repo has, retries once without labels),issueLabels,composeIssueDeepLink,capDeepLinkBody,saveFullIssueBody,existingLabels,selectApplicableLabels,isMissingLabelError, and theissueRepoall packages file into. - Usage rollups:
summarizeUsage,buildUsagePayload,UsageShipper(watermark, audit log first, then the collector; daily auto-ship and ship-on-exit), theUsageEventSourceinterface each package's store implements,TurnTracker,usageOutcome,usageArgKeysandestimateTokens.
0.1.0 - 2026-09-26 #
Added #
- Redaction:
redactPath,redactStackHead,redactSecretsandredactForSharing, moved from glint_mcp and glint_network. Secret masking uses the stricter of the two copies, which also catchesaccess_token=andrefresh_token=values. AuditLog: the hash-chained telemetry audit log both packages already wrote in the same format.- Telemetry basics:
installId,osDescriptor,dartVersion,truthyEnv,postToCollector, andTelemetrySwitchesfor the opt-in variables under a package's prefix.
Fixed #
AuditLog.appendholds an exclusive file lock and writes at the file's current end, so servers appending at the same moment no longer fork the chain or overwrite each other's lines (four concurrent writers used to lose up to 7 of 100 entries).verifytreats a line that links to an earlier entry as a fork from that old race, counted inforks, instead of as tampering.