Skip to main content

glint_core 0.2.0 copy "glint_core: ^0.2.0" to clipboard
glint_core: ^0.2.0 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.2.0 - 2026-11-08 #

Added #

  • ProcessRegistry.livePids: the pids of the helpers this process holds, read from memory with no ps.
  • IdentityRedactor, RedactionCounts, isPublicHost and projectIdentityNames, and redactForSharing now takes appNames, deviceNames, hosts and counts: known app, device and backend host names become <app>, <device> and <host> (case-insensitive, across separators and camelCase, keeping generic model names and well-known public hosts), and URL hosts (userinfo becomes <redacted>) and dotted hostnames ending in a real TLD are replaced too. A name too generic or too short to match loosely is redacted only as an exact whole word and listed in IdentityRedactor.warnings; build one IdentityRedactor per report and call forSharing.
  • ProcessRegistry, killTree, ProcessTable and watchParentDeath: one registry of the long-lived child processes glint starts, with owner, one per purpose and device, pid files under ~/.glint/procs, startup reaping by start time and command, and a tree kill.

0.1.3 - 2026-10-18 #

Added #

  • latestPubVersion, cachedPubVersion and isNewerVersion: a package's latest version on pub.dev, asked at most once a day and cached, for the packages' update notices.

0.1.2 - 2026-10-15 #

Changed #

  • An example (example/glint_core_example.dart), the package's own analysis options and dart format across 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 a getVersion probe that fails fast on a stale DDS), vmServiceWsUri, canonicalVmServiceUri, and instanceText (refetches strings the VM cut at 128 characters, asks other objects for toString(), 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 the issueRepo all packages file into.
  • Usage rollups: summarizeUsage, buildUsagePayload, UsageShipper (watermark, audit log first, then the collector; daily auto-ship and ship-on-exit), the UsageEventSource interface each package's store implements, TurnTracker, usageOutcome, usageArgKeys and estimateTokens.

0.1.0 - 2026-09-26 #

Added #

  • Redaction: redactPath, redactStackHead, redactSecrets and redactForSharing, moved from glint_mcp and glint_network. Secret masking uses the stricter of the two copies, which also catches access_token= and refresh_token= values.
  • AuditLog: the hash-chained telemetry audit log both packages already wrote in the same format.
  • Telemetry basics: installId, osDescriptor, dartVersion, truthyEnv, postToCollector, and TelemetrySwitches for the opt-in variables under a package's prefix.

Fixed #

  • AuditLog.append holds 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). verify treats a line that links to an earlier entry as a fork from that old race, counted in forks, instead of as tampering.
0
likes
160
points
303
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Code shared by the glint packages. Redaction for anything that leaves the machine, the tamper-evident telemetry audit log, and telemetry identity and consent.

Repository (GitHub)
View/report issues
Contributing

License

Apache-2.0 (license)

Dependencies

crypto, path, vm_service

More

Packages that depend on glint_core