@tiinex/core 0.5.0 → 0.6.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tiinex/core",
3
- "version": "0.5.0",
3
+ "version": "0.6.0",
4
4
  "description": "Shared host-neutral Tiinex implementation core for artifacts, schemas, validation, lineage, grounding, Handoffs, provenance and deterministic workflows.",
5
5
  "type": "module",
6
6
  "sideEffects": true,
@@ -167,12 +167,12 @@
167
167
  "type": "git",
168
168
  "url": "git+https://github.com/Tiinex/core.git"
169
169
  },
170
- "gitHead": "52af987f64464878ba9c497921e21b70215c6971",
170
+ "gitHead": "0020f40134cd3d1978c929343cb77d3051852d22",
171
171
  "tiinexRelease": {
172
172
  "policy": "tiinex.master-npm-release.v1",
173
- "sourceCommit": "52af987f64464878ba9c497921e21b70215c6971",
174
- "sourceTree": "1a8f10b3166397e65f47d43472abb70367374d4c",
173
+ "sourceCommit": "0020f40134cd3d1978c929343cb77d3051852d22",
174
+ "sourceTree": "8818bf936b8128159a3cf1a0913b7405a4bd669c",
175
175
  "repository": "Tiinex/core",
176
- "previousVersion": "0.4.0"
176
+ "previousVersion": "0.5.0"
177
177
  }
178
178
  }
@@ -142,7 +142,7 @@ export async function prepareHandoffManufactureCliCommand(parsed = {}, runtime =
142
142
 
143
143
  export async function materializeHandoffManufactureCliOutput(result = {}, flags = {}) {
144
144
  const workspaceMode = String(result.carrierProjection?.mode || '') === 'workspace';
145
- let humanOutput = workspaceMode ? projectWorkspaceCarrierHumanOutput(result) : projectHandoffHumanOutput({
145
+ let humanOutput = workspaceMode ? projectWorkspaceCarrierHumanOutput(result, flags) : projectHandoffHumanOutput({
146
146
  projection: result.carrierProjection || {},
147
147
  route: flags.route || '',
148
148
  collisionInstance: flags['collision-instance'] || 1
@@ -191,11 +191,12 @@ async function prepareWorkspaceCarrierCliCommand(flags = {}, workspaceRoot = '.'
191
191
  return { input, options: { verifyRoundtrip, packageInput: { builtAt: flags['built-at'] || undefined } } };
192
192
  }
193
193
 
194
- function projectWorkspaceCarrierHumanOutput(result = {}) {
194
+ function projectWorkspaceCarrierHumanOutput(result = {}, flags = {}) {
195
195
  const projection = result.carrierProjection || {};
196
196
  const ready = result.status === 'ready' && projection.status === 'ready' && projection.mode === 'workspace' && (projection.routes || []).length === 0;
197
197
  const dimension = String(projection.lineage?.dimension || '001');
198
- const filename = `tiinex-${dimension}.handoff-package.zip`;
198
+ const projectedFilename = String(flags['projected-filename'] || '').trim();
199
+ const filename = projectedFilename || `tiinex-${dimension}.handoff-package.zip`;
199
200
  return Object.freeze({
200
201
  schema: 'tiinex.portable.handoff-human-output.v1',
201
202
  status: ready ? 'ready' : 'blocked',