@tangle-network/agent-profile-materialize 0.27.3 → 0.27.5
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/dist/harness-prompt.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ import type { HarnessId } from "./harness.js";
|
|
|
9
9
|
* `prompt.appendSystemPrompt`) without `prompt.systemPrompt` asked for the
|
|
10
10
|
* harness prompt to stay in force: that is what `appendSystemPrompt` means.
|
|
11
11
|
* A host that replaced it with its own template would delete exactly what the
|
|
12
|
-
* profile kept.
|
|
12
|
+
* profile kept. Every Discovery research director ran under the
|
|
13
13
|
* sandbox's app-builder template this way: claude-code through
|
|
14
14
|
* `--system-prompt`, opencode through a generated primary agent.
|
|
15
15
|
*/
|
package/dist/harness-prompt.js
CHANGED
|
@@ -21,7 +21,7 @@ const HARNESSES_WITH_ADDITIVE_HOST_PROMPT = new Set(["claude-code", "pi", "openc
|
|
|
21
21
|
* `prompt.appendSystemPrompt`) without `prompt.systemPrompt` asked for the
|
|
22
22
|
* harness prompt to stay in force: that is what `appendSystemPrompt` means.
|
|
23
23
|
* A host that replaced it with its own template would delete exactly what the
|
|
24
|
-
* profile kept.
|
|
24
|
+
* profile kept. Every Discovery research director ran under the
|
|
25
25
|
* sandbox's app-builder template this way: claude-code through
|
|
26
26
|
* `--system-prompt`, opencode through a generated primary agent.
|
|
27
27
|
*/
|
|
@@ -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.5",
|
|
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": "f732ccb687dad0ffb42d5902b9e76fedf2da4a88",
|
|
39
|
+
"mergedAt": "2026-10-24T19:38:34-06:00"
|
|
40
40
|
},
|
|
41
41
|
"scripts": {
|
|
42
42
|
"build": "tsc -p tsconfig.json",
|