@goodtiming/baton-sdk 0.2.0 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -55,7 +55,7 @@ __export(index_exports, {
55
55
  module.exports = __toCommonJS(index_exports);
56
56
 
57
57
  // src/version.ts
58
- var SDK_VERSION = "ts-0.2.0";
58
+ var SDK_VERSION = "ts-0.3.0";
59
59
 
60
60
  // src/events.ts
61
61
  var import_zod = require("zod");
@@ -513,11 +513,6 @@ function extraMeta(extra) {
513
513
  // src/integrations/mcp/runtimeAdapter.ts
514
514
  function detectAgentRuntime(meta) {
515
515
  if (!meta) return null;
516
- const batonMeta = meta["baton"];
517
- if (batonMeta && typeof batonMeta === "object") {
518
- const runtime = batonMeta["agent_runtime"];
519
- if (typeof runtime === "string" && runtime) return runtime;
520
- }
521
516
  for (const key of Object.keys(meta)) {
522
517
  if (key.startsWith("claudecode/")) return "claude-code";
523
518
  }