minimal-forge-work-pack-sync 0.1.17 → 0.1.18

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 +4 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -7614,7 +7614,7 @@ var DEFAULT_DEBUG_TRACE_LIMITS = {
7614
7614
  };
7615
7615
 
7616
7616
  // packages/shared/src/contracts/settings.ts
7617
- var WORK_PACK_SYNC_PLUGIN_VERSION = "0.1.17";
7617
+ var WORK_PACK_SYNC_PLUGIN_VERSION = "0.1.18";
7618
7618
  var WORK_PACK_SYNC_PLUGIN_PACKAGE = `minimal-forge-work-pack-sync@${WORK_PACK_SYNC_PLUGIN_VERSION}`;
7619
7619
  var WORK_PACK_SYNC_PLUGIN_FILENAME = `minimal-forge-work-pack-sync-${WORK_PACK_SYNC_PLUGIN_VERSION}.tgz`;
7620
7620
  var FIRECRAWL_KEYLESS_MCP_NAME = "firecrawl";
@@ -7660,7 +7660,7 @@ function parseWorkPackFileManifest(value) {
7660
7660
  if (!value || typeof value !== "object" || Array.isArray(value)) return void 0;
7661
7661
  const state = value;
7662
7662
  if (state.schemaVersion !== 1 || typeof state.version !== "string" || !state.version || state.version.length > 14 * 1024) return void 0;
7663
- const validPath = (name, filenameOnly = false) => typeof name === "string" && name.length > 0 && name.length <= 4096 && !/[\\\\:\u0000-\u001f\u007f]/.test(name) && name.split("/").every((part) => part && part !== "." && part !== "..") && (!filenameOnly || !name.includes("/"));
7663
+ const validPath = (name, filenameOnly = false) => typeof name === "string" && name.length > 0 && name.length <= 4096 && !/[\\\\\u0000-\u001f\u007f]/.test(name) && !/^[A-Za-z]:/.test(name) && name.split("/").every((part) => part && part !== "." && part !== "..") && (!filenameOnly || !name.includes("/"));
7664
7664
  const digests = (entries, key) => {
7665
7665
  if (!Array.isArray(entries) || entries.length > 5e3) return false;
7666
7666
  const names = /* @__PURE__ */ new Set();
@@ -20538,6 +20538,7 @@ async function inspectWorkPackIntegrity(input) {
20538
20538
  const root = await lstat3(packDir).catch(() => void 0);
20539
20539
  if (!root?.isDirectory() || root.isSymbolicLink()) {
20540
20540
  add(root ? "unsafe" : "unreadable", "pack", ".");
20541
+ result.summary.kind = "unsafe-or-unreadable";
20541
20542
  return result;
20542
20543
  }
20543
20544
  const expected = input.expected ? parseWorkPackFileManifest(input.expected) : await readInstalledState(packDir);
@@ -25040,7 +25041,7 @@ function isRecord(value) {
25040
25041
  }
25041
25042
 
25042
25043
  // packages/cli/src/workPackSyncPlugin.ts
25043
- var PLUGIN_VERSION = "0.1.17";
25044
+ var PLUGIN_VERSION = "0.1.18";
25044
25045
  var STATUS_FILENAME = "work-pack-startup-status.json";
25045
25046
  var activeSync = /* @__PURE__ */ new Map();
25046
25047
  var ForgeWorkPackSyncServer = async (_input, options) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "minimal-forge-work-pack-sync",
3
- "version": "0.1.17",
3
+ "version": "0.1.18",
4
4
  "description": "Minimal Forge Work Pack startup synchronization for OpenCode and OpenWork.",
5
5
  "license": "UNLICENSED",
6
6
  "repository": {