viagen 0.0.51 → 0.0.53

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.
Files changed (2) hide show
  1. package/dist/index.js +9 -9
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -110,7 +110,7 @@ function registerHealthRoutes(server, env, errorRef) {
110
110
  );
111
111
  }
112
112
  });
113
- const currentVersion = true ? "0.0.51" : "0.0.0";
113
+ const currentVersion = true ? "0.0.53" : "0.0.0";
114
114
  debug("health", `version resolved: ${currentVersion}`);
115
115
  let versionCache = null;
116
116
  server.middlewares.use("/via/version", (_req, res) => {
@@ -1026,7 +1026,7 @@ function buildEditorModule() {
1026
1026
  .tree-item {
1027
1027
  display: flex;
1028
1028
  align-items: center;
1029
- padding: 6px 10px;
1029
+ padding: 4px 8px;
1030
1030
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
1031
1031
  font-size: 13px;
1032
1032
  color: #525252;
@@ -1042,16 +1042,16 @@ function buildEditorModule() {
1042
1042
  .tree-item.active { background: #f5f5f5; color: #171717; }
1043
1043
  .tree-icon {
1044
1044
  flex-shrink: 0;
1045
- margin-right: 3px;
1045
+ margin-right: 2px;
1046
1046
  display: inline-flex;
1047
1047
  align-items: center;
1048
1048
  justify-content: center;
1049
- width: 20px;
1050
- height: 20px;
1049
+ width: 16px;
1050
+ height: 16px;
1051
1051
  }
1052
1052
  .tree-icon svg {
1053
- width: 18px;
1054
- height: 18px;
1053
+ width: 14px;
1054
+ height: 14px;
1055
1055
  }
1056
1056
  .tree-label {
1057
1057
  overflow: hidden;
@@ -1352,7 +1352,7 @@ function buildEditorModule() {
1352
1352
 
1353
1353
  var childContainer = document.createElement('div');
1354
1354
  childContainer.className = 'tree-group-children';
1355
- childContainer.style.marginLeft = '28px';
1355
+ childContainer.style.marginLeft = '12px';
1356
1356
  childContainer.style.display = isExpanded ? 'block' : 'none';
1357
1357
  group.appendChild(childContainer);
1358
1358
  container.appendChild(group);
@@ -18456,7 +18456,7 @@ function createViagenTools(config2) {
18456
18456
  inputTokens: external_exports.number().optional().describe("Total input tokens used."),
18457
18457
  outputTokens: external_exports.number().optional().describe("Total output tokens used."),
18458
18458
  costUsd: external_exports.number().optional().describe("Total cost in USD."),
18459
- prReviewStatus: external_exports.enum(["approved", "changes_requested", "commented"]).optional().describe("PR review outcome, if applicable.")
18459
+ prReviewStatus: external_exports.string().optional().describe("PR review outcome \u2014 e.g. 'pass', 'flag', or 'fail'.")
18460
18460
  },
18461
18461
  async (args) => {
18462
18462
  const taskId = args.taskId || process.env["VIAGEN_TASK_ID"];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "viagen",
3
- "version": "0.0.51",
3
+ "version": "0.0.53",
4
4
  "description": "Vite dev server plugin that exposes endpoints for chatting with Claude Code SDK",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",