@agentsky/sky 2.13.0 → 2.15.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.
@@ -38,7 +38,7 @@ function currentUniverse() {
38
38
  }
39
39
 
40
40
  // src/version.ts
41
- var CLI_VERSION = "2.13.0";
41
+ var CLI_VERSION = "2.15.0";
42
42
  var USER_AGENT = `sky-cli/${CLI_VERSION} (${process.platform}; node/${process.versions.node})`;
43
43
 
44
44
  export {
@@ -19737,6 +19737,7 @@ var SessionSourceCollector = class {
19737
19737
  summed = { input_tokens: 0, output_tokens: 0, cache_read_tokens: 0, cache_write_tokens: 0, reasoning_tokens: 0 };
19738
19738
  cumulative = null;
19739
19739
  meta = {};
19740
+ summaryTitle = "";
19740
19741
  push(raw) {
19741
19742
  const record2 = obj(raw);
19742
19743
  if (!record2) return;
@@ -19757,6 +19758,15 @@ var SessionSourceCollector = class {
19757
19758
  this.model(str(info?.model) || str(payload.model));
19758
19759
  return;
19759
19760
  }
19761
+ if (type === "custom-title") {
19762
+ const title = str(record2.customTitle).slice(0, 120);
19763
+ if (title) this.meta.title = title;
19764
+ return;
19765
+ }
19766
+ if (type === "summary") {
19767
+ this.summaryTitle = str(record2.summary).slice(0, 120) || this.summaryTitle;
19768
+ return;
19769
+ }
19760
19770
  if (type === "response_item") return this.time(str(record2.timestamp));
19761
19771
  if (type === "user" || type === "assistant") return this.claudeLine(record2, type);
19762
19772
  }
@@ -19765,6 +19775,7 @@ var SessionSourceCollector = class {
19765
19775
  const usage = Object.fromEntries(Object.entries(this.cumulative ?? this.summed).filter(([, value]) => num(value) > 0));
19766
19776
  return {
19767
19777
  ...this.meta,
19778
+ ...!this.meta.title && this.summaryTitle ? { title: this.summaryTitle } : {},
19768
19779
  ...models.length ? { models } : {},
19769
19780
  ...this.efforts.size ? { effort: [...this.efforts].join(", ") } : {},
19770
19781
  ...Object.keys(usage).length ? { usage } : {}
@@ -19997,7 +20008,7 @@ var ACP_AGENTS = {
19997
20008
  "registryId": "kilo",
19998
20009
  "label": "Kilo",
19999
20010
  "description": "The open source coding agent",
20000
- "version": "7.8.12",
20011
+ "version": "7.8.15",
20001
20012
  "website": "https://kilo.ai/"
20002
20013
  },
20003
20014
  "kimchi": {
@@ -21026,9 +21037,9 @@ var CATALOG_MODELS = [
21026
21037
  "tiers": [
21027
21038
  {
21028
21039
  "maxPromptTokens": 1e6,
21029
- "input": 0.15,
21030
- "output": 0.6,
21031
- "cachedInput": 0.015
21040
+ "input": 0.165,
21041
+ "output": 0.66,
21042
+ "cachedInput": 0.0165
21032
21043
  }
21033
21044
  ],
21034
21045
  "maxPrice": {
@@ -3,7 +3,7 @@ import {
3
3
  apiBase,
4
4
  apiToken,
5
5
  currentUniverse
6
- } from "./chunk-Z3FPPGWX.js";
6
+ } from "./chunk-R5FKQQMG.js";
7
7
 
8
8
  // src/api.ts
9
9
  var ApiError = class extends Error {
@@ -132,7 +132,7 @@ async function resolveSessionRef(ref) {
132
132
  return agent.defaultSessionId;
133
133
  }
134
134
  async function* streamEvents(sessionId, signal) {
135
- const { parseSseStream } = await import("./src-3AI7XR44.js");
135
+ const { parseSseStream } = await import("./src-KLP774OA.js");
136
136
  const res = await fetch(
137
137
  `${apiBase()}/sessions/${encodeURIComponent(sessionId)}/stream`,
138
138
  {