@volter-ai-dev/supercode-ui 0.1.3 → 0.1.4

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/components.mjs CHANGED
@@ -192,7 +192,7 @@ function readTerminalHandoff(value) {
192
192
  }
193
193
  function readExportReceipt(value) {
194
194
  const receipt = record(value);
195
- if (!receipt || typeof receipt.targetHarness !== "string" || !["byte_lossless", "value_lossless"].includes(receipt.fidelity) || typeof receipt.path !== "string" || !receipt.path.trim() || !Number.isInteger(receipt.files) || receipt.files < 1 || !Number.isInteger(receipt.residueCount) || receipt.residueCount < 0) return null;
195
+ if (!receipt || typeof receipt.targetHarness !== "string" || !["byte_lossless", "value_lossless", "semantic"].includes(receipt.fidelity) || typeof receipt.path !== "string" || !receipt.path.trim() || !Number.isInteger(receipt.files) || receipt.files < 1 || !Number.isInteger(receipt.residueCount) || receipt.residueCount < 0) return null;
196
196
  return {
197
197
  targetHarness: receipt.targetHarness,
198
198
  fidelity: receipt.fidelity,
package/core.mjs CHANGED
@@ -216,7 +216,7 @@ function readExportReceipt(value) {
216
216
  if (
217
217
  !receipt ||
218
218
  typeof receipt.targetHarness !== 'string' ||
219
- !['byte_lossless', 'value_lossless'].includes(receipt.fidelity) ||
219
+ !['byte_lossless', 'value_lossless', 'semantic'].includes(receipt.fidelity) ||
220
220
  typeof receipt.path !== 'string' ||
221
221
  !receipt.path.trim() ||
222
222
  !Number.isInteger(receipt.files) ||
package/embed.mjs CHANGED
@@ -195,7 +195,7 @@ function readTerminalHandoff(value) {
195
195
  }
196
196
  function readExportReceipt(value) {
197
197
  const receipt = record(value);
198
- if (!receipt || typeof receipt.targetHarness !== "string" || !["byte_lossless", "value_lossless"].includes(receipt.fidelity) || typeof receipt.path !== "string" || !receipt.path.trim() || !Number.isInteger(receipt.files) || receipt.files < 1 || !Number.isInteger(receipt.residueCount) || receipt.residueCount < 0) return null;
198
+ if (!receipt || typeof receipt.targetHarness !== "string" || !["byte_lossless", "value_lossless", "semantic"].includes(receipt.fidelity) || typeof receipt.path !== "string" || !receipt.path.trim() || !Number.isInteger(receipt.files) || receipt.files < 1 || !Number.isInteger(receipt.residueCount) || receipt.residueCount < 0) return null;
199
199
  return {
200
200
  targetHarness: receipt.targetHarness,
201
201
  fidelity: receipt.fidelity,
package/index.d.ts CHANGED
@@ -150,7 +150,7 @@ export interface SupercodeUiState {
150
150
  exportBackTarget: HarnessId | null;
151
151
  exportReceipt: {
152
152
  targetHarness: HarnessId;
153
- fidelity: 'byte_lossless' | 'value_lossless';
153
+ fidelity: 'byte_lossless' | 'value_lossless' | 'semantic';
154
154
  path: string;
155
155
  files: number;
156
156
  residueCount: number;
package/messenger.mjs CHANGED
@@ -192,7 +192,7 @@ function readTerminalHandoff(value) {
192
192
  }
193
193
  function readExportReceipt(value) {
194
194
  const receipt = record(value);
195
- if (!receipt || typeof receipt.targetHarness !== "string" || !["byte_lossless", "value_lossless"].includes(receipt.fidelity) || typeof receipt.path !== "string" || !receipt.path.trim() || !Number.isInteger(receipt.files) || receipt.files < 1 || !Number.isInteger(receipt.residueCount) || receipt.residueCount < 0) return null;
195
+ if (!receipt || typeof receipt.targetHarness !== "string" || !["byte_lossless", "value_lossless", "semantic"].includes(receipt.fidelity) || typeof receipt.path !== "string" || !receipt.path.trim() || !Number.isInteger(receipt.files) || receipt.files < 1 || !Number.isInteger(receipt.residueCount) || receipt.residueCount < 0) return null;
196
196
  return {
197
197
  targetHarness: receipt.targetHarness,
198
198
  fidelity: receipt.fidelity,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@volter-ai-dev/supercode-ui",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "type": "module",
5
5
  "description": "Composable default UI kit for Supercode-powered coding-agent experiences",
6
6
  "exports": {