@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.
- package/dist/{chunk-Z3FPPGWX.js → chunk-R5FKQQMG.js} +1 -1
- package/dist/{chunk-2IKEJ74C.js → chunk-RHRREQMF.js} +15 -4
- package/dist/{chunk-XJ5JLLXM.js → chunk-Y3NTKJLA.js} +2 -2
- package/dist/index.js +559 -188
- package/dist/products.js +1 -1
- package/dist/{src-3AI7XR44.js → src-KLP774OA.js} +1 -1
- package/dist/{trace-DS35CFKV.js → trace-PMUETYJS.js} +2 -2
- package/dist/{trace-library-B3NZ4OQM.js → trace-library-FIMBRED6.js} +3 -3
- package/package.json +1 -1
|
@@ -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.
|
|
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.
|
|
21030
|
-
"output": 0.
|
|
21031
|
-
"cachedInput": 0.
|
|
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-
|
|
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-
|
|
135
|
+
const { parseSseStream } = await import("./src-KLP774OA.js");
|
|
136
136
|
const res = await fetch(
|
|
137
137
|
`${apiBase()}/sessions/${encodeURIComponent(sessionId)}/stream`,
|
|
138
138
|
{
|