minimal-forge-work-pack-sync 0.1.1 → 0.1.2
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/index.js +7 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -7433,7 +7433,8 @@ async function reportFailure(credentials, kind, error) {
|
|
|
7433
7433
|
}),
|
|
7434
7434
|
signal: AbortSignal.timeout(3e3)
|
|
7435
7435
|
});
|
|
7436
|
-
} catch {
|
|
7436
|
+
} catch (error2) {
|
|
7437
|
+
console.error("[Forge] Failed to report failure to Forge server:", error2 instanceof Error ? error2.message : String(error2));
|
|
7437
7438
|
}
|
|
7438
7439
|
}
|
|
7439
7440
|
|
|
@@ -10412,6 +10413,7 @@ var BUILT_IN_OPENROUTER_MODELS = [
|
|
|
10412
10413
|
name: "Assistente de trabalho profundo",
|
|
10413
10414
|
approvedByDefault: true,
|
|
10414
10415
|
requiredInConfig: false,
|
|
10416
|
+
upstreamModel: "anthropic/claude-sonnet-4.6",
|
|
10415
10417
|
metadata: {
|
|
10416
10418
|
family: "anthropic",
|
|
10417
10419
|
release_date: "2026-02-17",
|
|
@@ -10428,6 +10430,7 @@ var BUILT_IN_OPENROUTER_MODELS = [
|
|
|
10428
10430
|
name: "Assistente r\xE1pido",
|
|
10429
10431
|
approvedByDefault: true,
|
|
10430
10432
|
requiredInConfig: false,
|
|
10433
|
+
upstreamModel: "anthropic/claude-haiku-4.5",
|
|
10431
10434
|
metadata: {
|
|
10432
10435
|
family: "anthropic",
|
|
10433
10436
|
release_date: "2025-10-15",
|
|
@@ -10579,7 +10582,7 @@ var DEFAULT_DEBUG_TRACE_LIMITS = {
|
|
|
10579
10582
|
};
|
|
10580
10583
|
|
|
10581
10584
|
// packages/shared/src/contracts/settings.ts
|
|
10582
|
-
var WORK_PACK_SYNC_PLUGIN_VERSION = "0.1.
|
|
10585
|
+
var WORK_PACK_SYNC_PLUGIN_VERSION = "0.1.2";
|
|
10583
10586
|
var WORK_PACK_SYNC_PLUGIN_PACKAGE = `minimal-forge-work-pack-sync@${WORK_PACK_SYNC_PLUGIN_VERSION}`;
|
|
10584
10587
|
var WORK_PACK_SYNC_PLUGIN_FILENAME = `minimal-forge-work-pack-sync-${WORK_PACK_SYNC_PLUGIN_VERSION}.tgz`;
|
|
10585
10588
|
|
|
@@ -11429,7 +11432,7 @@ async function writeTextAtomic(filePath, content) {
|
|
|
11429
11432
|
}
|
|
11430
11433
|
|
|
11431
11434
|
// packages/cli/src/workPackSyncPlugin.ts
|
|
11432
|
-
var PLUGIN_VERSION = "0.1.
|
|
11435
|
+
var PLUGIN_VERSION = "0.1.2";
|
|
11433
11436
|
var STATUS_FILENAME = "work-pack-startup-status.json";
|
|
11434
11437
|
var activeSync = /* @__PURE__ */ new Map();
|
|
11435
11438
|
var ForgeWorkPackSyncServer = async (_input, options) => {
|
|
@@ -11473,6 +11476,7 @@ async function synchronizeAtStartup(forgeBaseUrl) {
|
|
|
11473
11476
|
return { paths, before, after };
|
|
11474
11477
|
} catch (error) {
|
|
11475
11478
|
const message = safeErrorMessage(error);
|
|
11479
|
+
console.error("[Forge work-pack sync] Startup sync failed:", message);
|
|
11476
11480
|
await writeStatus(paths, {
|
|
11477
11481
|
version: 1,
|
|
11478
11482
|
pluginVersion: PLUGIN_VERSION,
|