staklink 0.3.64 → 0.3.65
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/proxy-server.cjs +3 -1
- package/dist/staklink-cli.cjs +1 -1
- package/package.json +1 -1
package/dist/proxy-server.cjs
CHANGED
|
@@ -61229,7 +61229,7 @@ var SSEManager = class {
|
|
|
61229
61229
|
var sseManager = new SSEManager();
|
|
61230
61230
|
|
|
61231
61231
|
// src/proxy/version.ts
|
|
61232
|
-
var VERSION = "0.3.
|
|
61232
|
+
var VERSION = "0.3.65";
|
|
61233
61233
|
|
|
61234
61234
|
// node_modules/uuid/dist/esm/stringify.js
|
|
61235
61235
|
var byteToHex = [];
|
|
@@ -132788,6 +132788,7 @@ _a153 = symbol153;
|
|
|
132788
132788
|
// src/agent/goose-streaming.ts
|
|
132789
132789
|
async function streamGooseToSSE(sessionId, prompt, apiKey, res, options) {
|
|
132790
132790
|
log("Streaming Goose to SSE", { sessionId, prompt, apiKey, resume: options?.resume });
|
|
132791
|
+
createGooseConfig();
|
|
132791
132792
|
const textAccumulators = /* @__PURE__ */ new Map();
|
|
132792
132793
|
try {
|
|
132793
132794
|
const result = streamText2({
|
|
@@ -132800,6 +132801,7 @@ async function streamGooseToSSE(sessionId, prompt, apiKey, res, options) {
|
|
|
132800
132801
|
system: options?.system
|
|
132801
132802
|
});
|
|
132802
132803
|
for await (const part of result.fullStream) {
|
|
132804
|
+
log("Stream part received:", JSON.stringify(part));
|
|
132803
132805
|
sendSSE(res, "message", part);
|
|
132804
132806
|
if (options?.webhookUrl) {
|
|
132805
132807
|
const p = part;
|
package/dist/staklink-cli.cjs
CHANGED
|
@@ -10967,7 +10967,7 @@ var glob = Object.assign(glob_, {
|
|
|
10967
10967
|
glob.glob = glob;
|
|
10968
10968
|
|
|
10969
10969
|
// src/proxy/version.ts
|
|
10970
|
-
var VERSION = "0.3.
|
|
10970
|
+
var VERSION = "0.3.65";
|
|
10971
10971
|
|
|
10972
10972
|
// src/cli.ts
|
|
10973
10973
|
var STAKLINK_PROXY = "staklink-proxy";
|