Repository navigation
Releases
1.1.1
Changed
- The
crumbs_taildescription names the Magic log producer. It described the log buffer as filled bypackage:loggingalone, so an agent on a Magic app could overlook the tool forLog.*calls; it now namesMagicLogWatcher, themagic_devtools1.1.0 floor and theMagicCrumbsIntegration.install()step (a call made before it is not recorded). The README,llms.txt, the skill and thedoc/pages list the watcher as well. (lib/src/crumbs_dowel_provider.dart)
1.1.0
Added
crumbs:exceptionsreads the exception buffer from the CLI.crumbs_exceptionswas the one read tool with no command, so an agent runningdowel listcould not see it. The command takes--limit(default 50) and prints a<time> <exceptionType>: <message>line per record, oldest first, with the message continuation and stack trace lines indented two spaces beneath it, so a caller keys records on unindented lines. Closes #68. (lib/src/commands/crumbs_exceptions_command.dart,lib/src/crumbs_dowel_provider.dart)
1.0.1
Changed
- The pub.dev topic
mcp-serverismcp. Only crumbs and tapir used the first; the second is shared by many MCP packages, so the listing is easier to find. (pubspec.yaml)
Fixed
- The skill says what
linkedBy: windowmeans. Awindowrecord has no open interaction and a nullinteractionId, so it is joined byatUs; the skill's join rule said the id appears whenever a capturing site links records. (skills/crumbs/SKILL.md) - The
crumbs_requeststool description names the field a record really emits. It promised anerrorfield; an HTTP record serialises anisErrorflag and noerrorkey, so the description now saysisError, and a test pins it. Thecrumbs_eventsoutput table lists theinteractionIdandlinkedByfields the records carry. (lib/src/crumbs_dowel_provider.dart,doc/mcp/tool-reference.md) - The tables in the docs are left-aligned.
file-sink,redaction,cursor-and-filters, the MCPtool-referenceand the watcher pages used the unaligned|---|separator; they use|:---|like the rest. (doc/) - The tables in the README,
ARCHITECTURE.mdand the skill are left-aligned. They used the unaligned|---|separator; they use|:---|like the rest of the docs. (README.md,ARCHITECTURE.md,skills/crumbs/)
1.0.0
Added
crumbs_tailandcrumbs_eventsdeclare the filters their extensions already read. TheinputSchemaofcrumbs_tailgainsloggerandsince, and that ofcrumbs_eventsgainstypeandsince, so an MCP client offers the cursor and the filters instead of onlylimit(andlevel). Nothing changes in the extensions. (lib/src/crumbs_dowel_provider.dart)CrumbsRedaction.redactQueryRecord,redactGateRecordandredactDumpRecord. The per-record entry points behind the new masking of queries, gate checks and dumps (see Fixed), besideredactHttpRecordand its siblings; each returns null, the record dropped, when theredactorthrows.HttpRequestRecord.copyWithtakes aurl. (lib/src/crumbs_redaction.dart,lib/src/records/http_request_record.dart)
Changed
- BREAKING: crumbs requires
dowel ^1.0.0. The^0.0.21range cannot resolve next to dowel 1.0.0 or the Magic packages that depend on it. (pubspec.yaml) - BREAKING:
CrumbsWatcherandCrumbsHttpAdapterareabstract interface class, andCrumbsHttpAdapter.pendingCounthas no default body. A watcher or adapter from another packageimplementsthem, asmagic_devtoolsdoes, and inherits nothing a later release could change under it;extendsno longer compiles, so switch toimplements. The defaultpendingCountwas only reachable throughextends; an adapter that tracks no in-flight requests writesint get pendingCount => 0;. (lib/src/watchers/watcher.dart,lib/src/adapters/http_adapter.dart) - BREAKING:
ExceptionWatcher,LogWatcher,DumpWatcherandFramePerfWatcherarefinal class. A watcher of your own implementsCrumbsWatcher; subclassing a shipped watcher would bind it to hook and chain-preserve internals a later release changes. Extending or implementing one no longer compiles. (lib/src/watchers/) - BREAKING: every record class is
final class. They are values crumbs builds and copies field by field (redaction rebuilds them), so a subclass would lose its own fields at insert; extending or implementing one no longer compiles. (lib/src/records/) - BREAKING:
ext.crumbs.requestsanswers underrequests, notrecords. Every other read answers under its kind (messages,exceptions,eventsand the rest); the HTTP read was the one generic key. Thecrumbs_requeststool and thecrumbs:requestscommand keep their names; a script that reads the raw answer readsrequests. (lib/src/extensions/register_crumbs_extensions.dart,lib/src/commands/crumbs_requests_command.dart) - BREAKING: the model and cache names lose the Magic brand.
CrumbsStore.recordMagicModelisrecordModel,recordMagicCacheisrecordCache,MagicModelRecordisModelRecordandMagicCacheRecordisCacheRecord, inlib/src/records/model_record.dartandcache_record.dart. The store is framework-agnostic and any model or cache layer can feed these buffers. The old names are gone, with no alias; rename the calls (magic_devtoolsmoves with this release). (lib/src/crumbs_store.dart,lib/src/records/,lib/crumbs.dart) - More request parameter names are masked by default.
api_key,apikey,signature,sig,x-amz-signature,x-amz-credentialandx-amz-security-tokenjoin the hidden request parameters, the names an API key and a signed or presigned URL carry a credential under. The list covers request bodies as well as the URL query (see Fixed), so a body field under one of these names is masked too. (lib/src/internal/redaction_lists.dart) - The hidden response parameters start from every hidden request parameter. The response list lacked
password,api_key,apikey,signatureand thex-amz-*names, so a response such as a created API key or a profile with apasswordfield reached the buffer and the agent in clear; it now holds every request name plusplain_text_token,recovery_codes,qr_urlandqr_svg. (lib/src/internal/redaction_lists.dart) crumbs:installguards the install withif (!kReleaseMode), notif (kDebugMode). The block it writes, and theMagicCrumbsIntegration.install()block, now carry crumbs in debug and profile builds, so the frame-performance data a profile build measures is available, and the three dev tools of the ecosystem wrap theirinstall()in the same guard. The import isshow kReleaseMode, skipped whenfoundation.dartis already imported in full. A release build still tree-shakes crumbs. An app already wired withif (kDebugMode)keeps working andcrumbs:installleaves its block as it is; switch it to!kReleaseModeto get frame-performance data in profile builds.DumpWatcherkeeps its ownkDebugModecheck and still captures nothing in a profile build unlessallowInReleaseis set. (lib/src/commands/crumbs_install_command.dart)- The
post_installmessage ofinstall.yamlnamesif (!kReleaseMode). It described the wiring with the oldkDebugModeguard, whilecrumbs:installwrites!kReleaseMode. (install.yaml) - The
crumbs_requestsandcrumbs_cleardescriptions are current.crumbs_requestsnames an app's own interceptor callingCrumbsStore.recordHttpinstead of the removedDioHttpAdapter, andcrumbs_clearlists the model buffer without the Magic brand. (lib/src/crumbs_dowel_provider.dart)
Removed
- BREAKING:
DioHttpAdapter. Itsinstall()hooked nothing and itsrecordRequestcould not passrequestId,startUs,endUsoratUs; an app's own interceptor callsCrumbsStore.recordHttp(HttpRequestRecord(...))instead, as the example app does. Drop theregisterHttpAdapter(DioHttpAdapter())line. (lib/src/adapters/dio_http_adapter.dart) - BREAKING:
CrumbsStore.setFramePerfCapacity. It duplicatedsetCapacity(cap, kind: CrumbsKind.framePerf), which is the one way to set the frame buffer's own capacity now. (lib/src/crumbs_store.dart)
Fixed
- A credential in the request URL's query was buffered as captured. Only headers and bodies were masked, so
?access_token=...on an OAuth callback or theX-Amz-Signatureof a presigned URL reached the buffer and every agent that read it. The value of every query parameter named in the hidden request parameters is now masked, case-insensitively; the scheme, host, path, fragment and the other parameters stay byte for byte, and a URLUri.tryParserefuses is kept as is. (lib/src/crumbs_redaction.dart) - Dumps, queries and gate checks bypassed redaction. They were buffered as given even with a
redactorregistered. Thebindingsof a query and theargumentsof a gate check are now masked by key like a body, and the dump message, the query SQL and every string inside bindings and arguments run through theredactorwhen one is set; a record theredactorthrows on is dropped.SECURITY.mdsays which layer masks what. (lib/src/crumbs_store.dart,lib/src/crumbs_redaction.dart,SECURITY.md) - One
DateTimein a query's bindings brokecrumbs_queries.toJsonpassedbindingsandargumentsthrough raw, sojsonEncodethrew in the handler on every read until 500 newer records evicted the bad one. Both are made JSON-safe at insert, as event payloads are: a valuejsonEncodecannot write is stored as itstoString(). (lib/src/crumbs_redaction.dart) - A
NaNor an infinity in a binding, an argument or an event payload broke its read.jsonEncoderefuses non-finite doubles, so the queries, gates or events handler threw on every read until newer records evicted the bad one. A non-finite double is stored as its text (NaN,Infinity), through the same path as any valuejsonEncodecannot write. (lib/src/crumbs_redaction.dart) - A value whose
toStringthrows threw out ofrecordQuery,recordGateandrecordEvent. Making a binding, argument or payload JSON-safe callstoStringinside the host's own call, so a broken one threw into the app. It is stored as<unprintable Type>instead. (lib/src/crumbs_redaction.dart) - The
redactorskipped a gate check's user id. A user id is often an email; it now runs through theredactorwith the arguments. A gate's ability and a query's connection name stay as given, and the docs list exactly what theredactorsees. (lib/src/crumbs_redaction.dart) crumbs:installcould leave a profile build half wired. On a Magic app wired with the oldif (kDebugMode)block, a re-run addedMagicCrumbsIntegration.install()behindif (!kReleaseMode), so a profile build filled the Magic buffers with no extension to read them. The Magic block now takes the guard of the existing crumbs block. (lib/src/commands/crumbs_install_command.dart)- The
crumbs_events,crumbs_gatesandcrumbs_cachesdescriptions assumed a Magic host. They now say a host records into the store, and thatmagic_devtoolsrecords Magic's events, gate checks and cache calls. (lib/src/crumbs_dowel_provider.dart) CRUMBS_DISABLEleftregisterWatcherandregisterHttpAdapterworking. The flag skipped only the extensions, so the watchers still replacedFlutterError.onErroranddebugPrintto fill buffers nobody could read. Both now return without installing or tracking anything when the flag is set. (lib/src/crumbs_plugin.dart)crumbs:installadded a redundantkDebugModeimport. Alib/main.dartthat already importedpackage:flutter/foundation.dartin full gainedimport 'package:flutter/foundation.dart' show kDebugMode;, which the analyzer flags asunnecessary_import; the installer now skips it. (lib/src/commands/crumbs_install_command.dart)- An error whose
toStringthrows never reached Sentry.ExceptionWatcherrecorded before chaining, so a throw while recording skipped the previousFlutterError.onErrororPlatformDispatcher.onErrorhandler. The previous handler now runs whatever recording does, and the recording failure propagates after it. (`lib/src...
0.0.13
Changed
- Breaking, nothing is migrated automatically. In a consumer project: (1) swap the dependencies with
flutter pub remove fluttersdk_telescope fluttersdk_artisan && flutter pub add crumbs doweland rename the imports (package:fluttersdk_telescope/telescope.dartispackage:crumbs/crumbs.dart) and theTelescope*identifiers; (2) follow the dowel 0.0.21 migration (move.artisan/to.dowel/, delete.dowel/plugins.jsonand.dowel/installed/fluttersdk_telescope.json), deletebin/dispatcher.dart,bin/fsa,lib/app/_plugins.g.dartandlib/app/commands/_index.g.dart(the installers keep a file that exists, and the old ones importfluttersdk_artisan, so./bin/dowelwould not build), replacepackage:fluttersdk_artisan/artisan.dartwithpackage:dowel/dowel.dartandArtisan*withDowel*in your own commands, rundart run crumbs crumbs:installagain, thendart run dowel commands:refreshto register your commands in the new index; (3) renametelescope_*tocrumbs_*in any saved MCP allow list, prompt or script (a Claude Code allow-list entrymcp__fluttersdk__telescope_*becomesmcp__dowel__crumbs_*, since the server key is nowdowel),telescope:*tocrumbs:*in CLI calls andTELESCOPE_DISABLEtoCRUMBS_DISABLEin a build that must not register the extensions; (4) delete the stalefluttersdkserver entry from.mcp.json(dowel leaves entries an earlier release wrote) and reconnect the MCP client; (5) in a Magic app, until amagic_devtoolsrelease built on crumbs ships,MagicTelescopeIntegrationfeedsfluttersdk_telescope, not crumbs, so the HTTP, event, gate, query and cache buffers of crumbs stay empty; then upgrademagic_devtoolsand rerundart run crumbs crumbs:install(see the installer entry below). - Renamed from
fluttersdk_telescopetocrumbs. The package, the repository (anilcancakir/crumbs), the barrels (package:crumbs/crumbs.dartandpackage:crumbs/cli.dart), everyTelescope*class (nowCrumbs*, andTelescopeArtisanProviderisCrumbsDowelProvider), the executable (dart run crumbs) and the file names carry the new name. Also renamed: theext.telescope.*VM Service extensions (nowext.crumbs.*), the MCP tools (telescope_*iscrumbs_*), the CLI commands (telescope:*iscrumbs:*), the environment variable (TELESCOPE_DISABLEisCRUMBS_DISABLE), the MCP registry name (io.github.anilcancakir/crumbs), the skill (fluttersdk-telescopeiscrumbs) and the docs URLs (https://anilcancakir.com/crumbs). - The floor is Dart 3.13 and Flutter 3.47. Flutter 3.50 deprecates
package:flutter/material.dartin favour ofmaterial_ui, which needs that floor; the example app now builds onmaterial_ui, the package itself imports neither, and the repository is formatted with the tall style that floor enables. A consumer on an older SDK stays on the lastfluttersdk_telescoperelease. - Built on
dowel.fluttersdk_artisan ^0.0.20is nowdowel ^0.0.21. The.mcp.jsonserver key written bymcp:installisdowel. - The Magic step of
crumbs:installneeds amagic_devtoolsbuilt on crumbs. When the consumer's pubspec namesmagic_devtoolsand the resolved release shipspackage:magic_devtools/crumbs.dart, the installer wiresMagicCrumbsIntegrationfrom it. Themagic_devtoolsreleases that still shipMagicTelescopeIntegrationhave no such library, so with one of them the installer skips the Magic lines and warns; upgrademagic_devtoolsto a release built on crumbs and rerundart run crumbs crumbs:install(see Fixed).
Fixed
crumbs:installwires Magic only when the installedmagic_devtoolsshipscrumbs.dart. The pubspec entry alone decided it, so amagic_devtoolsrelease that predates crumbs got an import of a library it does not have and alib/main.dartthat did not compile. The installer now resolves the package through the nearest.dart_tool/package_config.jsonat or above the project (a pub workspace member uses the one at the workspace root; an unreadable or invalid one counts as unresolved) and, withoutlib/crumbs.dart, skips the Magic lines and warns to upgrade and rerun. (lib/src/commands/crumbs_install_command.dart)crumbs:installresolves amagic_devtoolspath dependency outside the project. The walk to.dart_tool/package_config.jsonkept a trailing separator, so a relativerootUrithat climbs out of the project (../../magic_devtoolsforpath: ../magic_devtools) resolved one level too deep; a release that shipslib/crumbs.dartread as missing and the installer skipped the Magic lines with the upgrade warning. The walk now stays on directory URIs. (lib/src/commands/crumbs_install_command.dart)crumbs:installleaves alib/main.dartthat already callsCrumbsPlugin.install()alone. Only the exact injected block counted as wired, so a file wired by hand (comments between the calls, as in the example app, or another shape) got a second block, and the chained watchers recorded every exception anddebugPrinttwice. AnyCrumbsPlugin.install(call now skips the crumbs block and its imports; the Magic lines are still added when they are missing. (lib/src/commands/crumbs_install_command.dart)- The
crumbs_dumpsandcrumbs_exceptionstool descriptions say what the watchers capture.DumpWatcheroverridesdebugPrintonly, so a plainprint()is not captured (the description said it was);ExceptionWatcherhooksPlatformDispatcher.onErroras well asFlutterError.onError. The--limithelp ofcrumbs:queriesandcrumbs:cachessays the newest N come back oldest first, which is the order they print in. (lib/src/crumbs_dowel_provider.dart,lib/src/commands/) - The
DioHttpAdapterdocs and thecrumbs_requeststool description describe the adapter that ships. The class doc showed aDioHttpAdapter(dio).asDioInterceptor()that does not exist and the tool description named a crumbs Dio interceptor that does not ship; both now say the app's own interceptor callsDioHttpAdapter.recordRequest. (lib/src/adapters/dio_http_adapter.dart,lib/src/crumbs_dowel_provider.dart)
Removed
- The
FluttersdkTelescopeArtisanProvideralias inpackage:crumbs/cli.dart. The class dowel'splugins:refreshgenerates for this package,CrumbsDowelProvider, is the provider itself, so the alias is gone.
0.0.12
Changed
- The artisan floor names this batch's release.
fluttersdk_artisanmoves^0.0.19to^0.0.20. The old range already admitted 0.0.20, so a freshpub getresolves nothing differently; what changes is that the floor names the release this package is verified against. artisan 0.0.20 is not breaking, and a consumer inherits one behaviour from it: atelescope:*command run while the app is still booting, beforeext.telescope.*is registered, now prints one retry line and exits 75 instead of an RPC stack and exit 3. The requirements tables indoc/getting-started/and the stack lines inCLAUDE.mdand.github/copilot-instructions.mdquote the new floor. (pubspec.yaml,doc/getting-started/,CLAUDE.md,.github/copilot-instructions.md)
0.0.11
Added
TelescopeRedaction.redactor, a host-set text redactor applied to every log, event, exception and HTTP record at insert.recordLog,recordEvent,recordExceptionandrecordHttp(after its key masking) run it over every String field, every String and map key inside an event payload's nested Maps and Lists, and the stack text, before the record enters its queue or its stream; a record the redactor throws on is dropped, neither buffered nor emitted. Each of the four records gains aredactedgetter (true when a redactor ran), serialized intoJson. Only the store's redaction pass sets it: the constructors take noredactedargument andHttpRequestRecord.copyWithreturns an unredacted copy, so no caller can build a record a persisting consumer would take for masked. A record buffered while no redactor was registered stays false, so a consumer that persists records can write only the redacted ones. A subtree nested past 64 levels is masked whole.redactLogRecord,redactExceptionRecordandredactEventRecordjoinredactHttpRecordas the per-record entry points, each returning null for a dropped record, andresetForTesting()unregisters the redactor. (lib/src/telescope_redaction.dart,lib/src/telescope_store.dart,lib/src/records/)- Per-kind buffer capacity.
TelescopeStore.setCapacity(int, {TelescopeKind? kind})caps one of the ten buffers (TelescopeKind); the call without a kind keeps today's shared behaviour, and a kind cap wins over the shared one.setFramePerfCapacitynow calls theframePerfkind. (lib/src/telescope_store.dart) LogRecordEntry.atUs, a monotonic timestamp. The sameFlutterTimeline.nowclockEventRecord.atUsuses, stamped at construction (LogRecordEntry.fromLogRecordincluded) and serialized intoJson. (lib/src/records/log_record_entry.dart)TelescopeFileSink, a rotating JSONL timeline on disk that writes only redacted records.TelescopeFileSink.start(directory:, maxFileBytes: 1048576, maxFiles: 8)creates the host-given directory and writes every log, event and exception record fromonLogRecord,onEventRecordandonExceptionRecordas one line,{"kind": "log"|"event"|"exception", ...toJson()}, totimeline-<launch stamp>-<n>.jsonl, batched at 64 lines or 500 ms. It starts a new file before a line would passmaxFileBytesand deletes the oldest timeline files in the directory, earlier launches included, beyondmaxFiles. Fail closed: a record withredactedfalse is never written, only counted indroppedUnredacted. A batch write no caller awaits that fails stops the sink instead of raising an uncaught error, counted inwriteFailures, and a sink that cannot create its directory or first file neither listens nor becomes current.files()lists{name, bytes}of every timeline file in the directory, earlier launches included, newest first;read(name, offset:, maxBytes:)returns whole lines as{lines, next}, decodes an offset inside a multi-byte character without throwing, and refuses (returns null) any name that is not exactly one of those listed files, so a path, a..segment or a link reaches nothing. A sink started again within the same second (the stamp has second precision) appends to the file of the sink it replaced, counting its bytes towardmaxFileBytes, rather than truncating it.flush()writes the batch,stop()flushes and closes, andTelescopeFileSink.currentis the running sink. The package looks no directory up. (lib/src/telescope_file_sink.dart)- A cursor and filters on
ext.telescope.eventsandext.telescope.console. Both acceptsince(microseconds, exclusive, compared withatUs); events alsotype(prefix ofeventType), console alsologger(exact name). The filters run beforelimit: withsince,limitkeeps the OLDEST N after it, extended to the end of the run of records sharing the last one'satUs(the page may exceedlimitby those ties), so paging bycursorskips nothing; withoutsinceit keeps the newest N of what matched. Both answer acursor: the largestatUsreturned, else the givensince, else null, so passing it back assinceyields only newer records. Asincethat is not an integer is refused withinvalidParamsrather than read as "from the start". (lib/src/extensions/register_telescope_extensions.dart) ext.telescope.filesandext.telescope.file. Read the runningTelescopeFileSink.current:filesanswers{files: [{name, bytes}]}newest first,filetakesname,offsetandmaxBytesand answers{lines, next}. Both answer{error}when no sink runs, andfileanswers one fixed{error}message for every refusal; the name only reaches the sink's own allowlist. (lib/src/extensions/register_telescope_extensions.dart)--since,--type/--logger,--jsonand--followontelescope:eventsandtelescope:tail.--jsonprints one JSON object per line, the payload as JSON;--followre-reads every second from the returned cursor until interrupted. (lib/src/commands/)followCursor, the one--followloop.followCursor(read:, since:, interval:, delay:, shouldStop:)callsreadwith the cursor the previous round returned and waitsintervalbetween rounds; a null cursor keeps the last one. Pure Dart, exported frompackage:fluttersdk_telescope/cli.dart, and now behind bothtelescope:eventsandtelescope:tail. (lib/src/cursor_follow.dart,lib/cli.dart)telescope:files [--name=<file>] [--offset=<n>]. Lists the timeline files, or prints the lines of one; prints the extension's error message, not a stack, when no sink runs. (lib/src/commands/telescope_files_command.dart,lib/src/telescope_artisan_provider.dart)
Changed
- Event payloads are JSON-safe at record time.
recordEventstores a valuejsonEncodecannot write (aDateTime, aDuration, any object) as itstoString(), and a non-String map key likewise, so one bad payload can no longer fail the wholeext.telescope.eventsresponse. A payload that is already safe keeps its identity. (lib/src/telescope_redaction.dart) toJsonof the log, event, exception and HTTP records always carriesredacted. (lib/src/records/)- BREAKING:
TelescopeRedaction.redactHttpRecordreturnsHttpRequestRecord?. It wasHttpRequestRecord; it now returns null, the record dropped, when the registered redactor throws, so a caller outside the store adds a null check. (lib/src/telescope_redaction.dart)
Fixed
- An unknown
minLevelmatched every log line.recentLogs(minLevel: 'bogus')now returns an empty list instead of the whole buffer. (lib/src/telescope_store.dart) - A negative
limitthrew. EveryrecentX(limit:)returns an empty list for a zero or negative limit instead of aRangeError. (lib/src/telescope_store.dart) - A payload
jsonEncodecannot write failed the wholeext.telescope.eventsresponse. The payload is now made JSON-safe when the event is recorded (see Changed). (lib/src/telescope_redaction.dart)
0.0.10
Changed
- The artisan floor names this batch's release.
fluttersdk_artisanmoves^0.0.17to^0.0.19. The old range already admitted 0.0.19, so a freshpub getresolves nothing differently; what changes is that the floor names the release this package is verified against. Neither artisan 0.0.18 nor 0.0.19 is breaking: 0.0.18 adds installer operations telescope does not use, and 0.0.19 widens artisan'sxmlconstraint to admit 7.x, which a consumer now inherits. (pubspec.yaml,doc/getting-started/,CLAUDE.md,.github/copilot-instructions.md) - The example app moves
cupertino_iconsto^2.0.0. It touches only the unpublishedexample/app, not the package. (#41,example/pubspec.yaml,example/pubspec.lock)
0.0.9
Added
-
A monotonic clock, an interaction link, and exclusive self time land on every telescope record.
HttpRequestRecord,QueryRecord,EventRecord,MagicModelRecord,MagicCacheRecordandFramePerfRecordall gainatUs(anint? atUsconstructor param stored asatUs ?? FlutterTimeline.now, comparable across record types regardless of wall-clock skew),interactionId(String?) andlinkedBy(String?, one ofzone/frame/window), all three serialized intoJson.HttpRequestRecordadditionally carriesrequestId,startUsandendUsfor exact request/response pairing.FramePerfRecordgainsvsyncStartUsfromFrameTiming.timestampInMicroseconds(FramePhase.vsyncStart); its doc comment marks clock parity withatUsas needing live validation, since the engine documents that timestamp only as microseconds "from some epoch" and a widget test can only inject syntheticFrameTimingvalues, never a real engine-reported one. Every block in aFramePerfRecord.blocksmap gainsselfMicros:FramePerfWatcher's drain now computes each block's exclusive duration fromAggregatedTimings.timedBlocksstart/end nesting (a stack walk over blocks sorted by start, tie-broken by the longer block first) and subtracts directly nested children from the existing inclusivemicros.telescope:framesandtelescope:requestsprint the new fields,linkedByon its own when there is nointeractionId(thewindowcase). Every new constructor parameter is optional or defaulted, so a constructor call that does not passblocksby an explicit record type keeps compiling (magic_devtools/lib/src/telescope_integration.dartdoes); theblockstype is the one exception, below. The skill'srecords.md,mcp-tools.mdandcli-commands.mddocument every new key. (lib/src/records/*.dart,lib/src/watchers/frame_perf_watcher.dart,lib/src/commands/telescope_{frames,requests}_command.dart,skills/fluttersdk-telescope/references/) -
TelescopeRedaction, the credential lists behind the HTTP buffer, andHttpRequestRecord.copyWith.hideRequestHeaders,hideRequestParametersandhideResponseParametersadd names to the defaults (Laravel Telescope merges the same way, it never replaces),hiddenRequestHeaders/hiddenRequestParameters/hiddenResponseParametersread the lowercased lists,redactParameters(data, keys)returns a copy of a Map/List structure with every value under a matching key, at any depth, replaced bymask('********'), never mutating its input, andredactBody(body, keys)does the same for a JSON string, or pair by pair for a form-encoded one. An adapter calls one of them before it stringifies or truncates a body, since neither aMap.toString()nor a cut JSON string parses, and the store cannot mask what it cannot parse.copyWithreplacesrequestHeaders,requestBodyandresponseBodyand keeps every other field,atUsincluded. (lib/src/telescope_redaction.dart,lib/src/internal/redaction_lists.dart,lib/src/records/http_request_record.dart)
Changed
-
BREAKING:
FramePerfRecord.blocksisMap<String, ({int micros, int selfMicros, int count})>. It wasMap<String, ({int micros, int count})>, and Dart record types with different fields are not assignable to each other, so code that builds aFramePerfRecordfrom a map of the old record type, or declares a variable of the old type fromrecord.blocks, stops compiling. AddselfMicrosto the record literal (the inclusivemicrosis a safe value when the nesting is unknown) or let the type be inferred. The JSON shape only gains a key, so a reader ofext.telescope.framesoutput is unaffected. (lib/src/records/frame_perf_record.dart) -
The artisan floor names this batch's release.
fluttersdk_artisanmoves^0.0.16to^0.0.17. The old range already admitted 0.0.17, so a freshpub getresolves nothing differently; what changes is that the floor names the release this package is verified against. artisan 0.0.17 changesstop,restartand a failedstart --cdp-portto reap the app's whole process group, and telescope calls none of those APIs. (pubspec.yaml)
Security
- The HTTP buffer no longer stores credentials verbatim. It is served to AI agents over
ext.telescope.requestsand MCP, and a Magic app's bearer header, a login body'spasswordand a login answer's Sanctumtokenall landed in it as sent.TelescopeStore.recordHttpnow masks, before buffering and before emitting ononHttpRecord: the value of every request header namedauthorization,proxy-authorization,cookie,set-cookieorx-api-key, and, in a body that parses as a JSON object or array or reads as form-encoded (grant_type=password&password=..., where only the matching pair's value changes, and a bracketed key such asuser[password]orcodes[]matches on its last part, as a nested JSON key does), the value underpassword,password_confirmation,current_password,new_password,token,access_token,refresh_token,secret,client_secret,authorization_code,id_token,two_factor_tokenorrecovery_code(request) andtoken,access_token,refresh_token,plain_text_token,secret,client_secret,id_token,two_factor_token,recovery_codes,qr_urlorqr_svg(response), at any depth.qr_urlandqr_svgare on the list because both carry the TOTP secret thatsecretmasks. Names match case-insensitively. An empty value (null,false,'',[],{}) stays visible, a subtree deeper than 64 levels is masked whole so a pathological body cannot overflow the stack, any other body (plain text, a truncated snippet) is kept as given, and a JSON body with nothing to hide keeps its exact bytes. (lib/src/telescope_store.dart,lib/src/telescope_redaction.dart)
0.0.8
Added
telescope:events,telescope:gatesandtelescope:dumps, the CLI mirrors of the three MCP-only buffers. A consumer that drives the app from a shell instead of wiring the MCP server (whose 58 tool schemas cost an agent context on every turn) had no way to read event, gate ordebugPrintrecords at all. Each command reads itsext.telescope.*extension, takes--limit(default 50), prints one line per record and warns on an empty buffer, the same shape astelescope:queries.exceptionsstays MCP-only;dusk:exceptionsreads that buffer from a shell. (lib/src/commands/telescope_{events,gates,dumps}_command.dart)