@tangle-network/agent-profile-materialize 0.27.3 → 0.27.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.
|
@@ -1,8 +1,4 @@
|
|
|
1
1
|
export type ExistingFilePolicy = "allow-identical" | "reject";
|
|
2
|
-
export type WorkspaceOwnership = {
|
|
3
|
-
uid: number;
|
|
4
|
-
gid: number;
|
|
5
|
-
} | undefined;
|
|
6
2
|
export type ApplyFile = NormalizedPlanFile & {
|
|
7
3
|
rootDir: string;
|
|
8
4
|
absPath: string;
|
|
@@ -11,16 +7,16 @@ export type ApplyFile = NormalizedPlanFile & {
|
|
|
11
7
|
export interface PublishContext {
|
|
12
8
|
rootFor: (root: NormalizedPlanFile["root"]) => string;
|
|
13
9
|
existingFiles: ExistingFilePolicy;
|
|
14
|
-
ownership:
|
|
10
|
+
ownership: ApplyWorkspacePlanOptions["ownership"];
|
|
15
11
|
publicPlanDigest: string;
|
|
16
12
|
plannedContent: Map<string, string>;
|
|
17
13
|
}
|
|
18
14
|
export declare const fileIdentity: (file: NormalizedPlanFile) => string;
|
|
19
|
-
export declare function holdsCurrentOwnership(absPath: string, ownership:
|
|
15
|
+
export declare function holdsCurrentOwnership(absPath: string, ownership: ApplyWorkspacePlanOptions["ownership"]): boolean;
|
|
20
16
|
export declare function planWrites(filesToApply: ApplyFile[], context: PublishContext): ApplyFile[];
|
|
21
17
|
export declare function publishWrites(writes: ApplyFile[], prepared: PreparedWorkspaceFile[], context: PublishContext): void;
|
|
22
18
|
export declare function rollbackPublished(prepared: PreparedWorkspaceFile[], error: unknown): never;
|
|
23
19
|
export declare function removeTemporaries(prepared: PreparedWorkspaceFile[], receipt: WorkspacePlanReceipt): void;
|
|
24
20
|
import type { NormalizedPlanFile } from "./plan-normalize.js";
|
|
25
|
-
import type { WorkspacePlanReceipt } from "./plan-types.js";
|
|
21
|
+
import type { ApplyWorkspacePlanOptions, WorkspacePlanReceipt } from "./plan-types.js";
|
|
26
22
|
import { type PreparedWorkspaceFile } from "./workspace-apply-files.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tangle-network/agent-profile-materialize",
|
|
3
|
-
"version": "0.27.
|
|
3
|
+
"version": "0.27.4",
|
|
4
4
|
"description": "Materialize an AgentProfile into the native per-harness workspace files (the one shared materializer for cli-bridge, agent-container, and VB).",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": {
|
|
@@ -35,8 +35,8 @@
|
|
|
35
35
|
"@tangle-network/agent-interface": "^3.0.0 || ^4.0.0 || ^5.0.0"
|
|
36
36
|
},
|
|
37
37
|
"tangleRelease": {
|
|
38
|
-
"sourceSha": "
|
|
39
|
-
"mergedAt": "2026-10-
|
|
38
|
+
"sourceSha": "b0330268898dee79efe9379baaf7e47130d12b16",
|
|
39
|
+
"mergedAt": "2026-10-24T17:08:38-06:00"
|
|
40
40
|
},
|
|
41
41
|
"scripts": {
|
|
42
42
|
"build": "tsc -p tsconfig.json",
|