@tiinex/core 0.23.0 → 0.24.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.
|
|
3
|
+
"version": "0.24.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,
|
|
@@ -173,12 +173,12 @@
|
|
|
173
173
|
"type": "git",
|
|
174
174
|
"url": "git+https://github.com/Tiinex/core.git"
|
|
175
175
|
},
|
|
176
|
-
"gitHead": "
|
|
176
|
+
"gitHead": "c9a902017994156ce1c45f9ea78612875a072a1b",
|
|
177
177
|
"tiinexRelease": {
|
|
178
178
|
"policy": "tiinex.master-npm-release.v1",
|
|
179
|
-
"sourceCommit": "
|
|
180
|
-
"sourceTree": "
|
|
179
|
+
"sourceCommit": "c9a902017994156ce1c45f9ea78612875a072a1b",
|
|
180
|
+
"sourceTree": "55c92c3bb3f604746613e64bd9adbe14f3fad3a1",
|
|
181
181
|
"repository": "Tiinex/core",
|
|
182
|
-
"previousVersion": "0.
|
|
182
|
+
"previousVersion": "0.23.0"
|
|
183
183
|
}
|
|
184
184
|
}
|
|
@@ -147,16 +147,19 @@ export function allocateRootArtifactPath({ targetId = '', targetLabel = '', titl
|
|
|
147
147
|
if (explicitPath) return { path: uniqueTransitionPath(explicitPath, occupied), policy: pathPolicyForExplicit(explicitPath) };
|
|
148
148
|
const labelSlug = slugify(title || targetLabel || labelFromSchemaId(targetId) || 'artifact');
|
|
149
149
|
const targetSlug = slugify(targetLabel || labelFromSchemaId(targetId) || 'artifact');
|
|
150
|
-
const
|
|
150
|
+
const rootPrefix = nextDirectoryRootLineagePrefix('.topics', occupied);
|
|
151
|
+
const basePath = `.topics/${rootPrefix}-${labelSlug}.trace.md`;
|
|
151
152
|
return {
|
|
152
153
|
path: uniqueTransitionPath(basePath, occupied),
|
|
153
154
|
policy: {
|
|
154
155
|
schema: 'tiinex.transition.path-policy.v1',
|
|
155
156
|
kind: 'standalone-root',
|
|
156
157
|
parentDirectory: '.topics',
|
|
158
|
+
rootLineagePrefix: rootPrefix,
|
|
157
159
|
labelSlug,
|
|
158
160
|
targetSlug,
|
|
159
|
-
extension: '.trace.md'
|
|
161
|
+
extension: '.trace.md',
|
|
162
|
+
allocationAuthority: 'directory-local-lineage-namespace'
|
|
160
163
|
}
|
|
161
164
|
};
|
|
162
165
|
}
|