staklink 0.5.9 → 0.5.10

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.
@@ -61009,7 +61009,7 @@ var SSEManager = class {
61009
61009
  var sseManager = new SSEManager();
61010
61010
 
61011
61011
  // src/proxy/version.ts
61012
- var VERSION = "0.5.9";
61012
+ var VERSION = "0.5.10";
61013
61013
 
61014
61014
  // node_modules/uuid/dist/esm/stringify.js
61015
61015
  var byteToHex = [];
@@ -147201,6 +147201,37 @@ async function handleAgentPush(req, res) {
147201
147201
  return;
147202
147202
  }
147203
147203
  const apiKey = code.apiKey || process.env.ANTHROPIC_API_KEY || "";
147204
+ if (code.session) {
147205
+ createSession(
147206
+ code.session,
147207
+ void 0,
147208
+ // webhookUrl
147209
+ code.apiKey,
147210
+ // raw body key — parity with createAsyncAgentHandler
147211
+ void 0,
147212
+ // searchApiKey
147213
+ code.model,
147214
+ "goose",
147215
+ // handleAgentPush always uses chooseAgent("goose")
147216
+ void 0,
147217
+ // system — push prompt is built per-repo, so omit
147218
+ void 0,
147219
+ // temperature
147220
+ void 0,
147221
+ // jsonMode
147222
+ void 0,
147223
+ // summaryApiKey
147224
+ void 0,
147225
+ // mcpServers
147226
+ void 0,
147227
+ // baseUrl
147228
+ void 0,
147229
+ // headers
147230
+ void 0,
147231
+ // repoName — push can touch multiple repos; omit
147232
+ code._metadata
147233
+ );
147234
+ }
147204
147235
  (async () => {
147205
147236
  const results = { commits: [], prs: {}, branches: {} };
147206
147237
  for (const r of repos) {
@@ -11022,7 +11022,7 @@ var glob = Object.assign(glob_, {
11022
11022
  glob.glob = glob;
11023
11023
 
11024
11024
  // src/proxy/version.ts
11025
- var VERSION = "0.5.9";
11025
+ var VERSION = "0.5.10";
11026
11026
 
11027
11027
  // src/deps.ts
11028
11028
  var import_child_process = require("child_process");
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "staklink",
3
3
  "displayName": "staklink",
4
4
  "description": "staklink process manager",
5
- "version": "0.5.9",
5
+ "version": "0.5.10",
6
6
  "type": "module",
7
7
  "publisher": "stakwork",
8
8
  "engines": {