@agimon-ai/po-git 0.0.0-alpha.206 → 0.0.0-alpha.207

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.
@@ -3108,9 +3108,17 @@ var runWorktree_server_default = (0, _agimon_ai_po_core_extensionFile.defineServ
3108
3108
  const at = (value, context) => typeof value === "function" ? value(context) : value;
3109
3109
  /* v8 ignore next -- generated normalization branch */
3110
3110
  const defined = (values) => values.filter((value) => value !== void 0);
3111
- const via = (identity, value) => value === void 0 ? void 0 : {
3112
- ...identity,
3113
- ...value
3111
+ const via = (identity, value) => {
3112
+ if (value === void 0) return void 0;
3113
+ const declaration = value;
3114
+ return {
3115
+ ...identity,
3116
+ ...declaration,
3117
+ ...declaration.relations === void 0 ? {} : { relations: declaration.relations.map((relation) => ({
3118
+ evidence: "declared",
3119
+ ...relation
3120
+ })) }
3121
+ };
3114
3122
  };
3115
3123
  const serverPlugin = (0, _agimon_ai_po_core_serverPlugin.defineServerPlugin)({
3116
3124
  name: "@agimon-ai/po-git",