@tangle-network/agent-profile-materialize 1.1.2 → 1.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.
@@ -1,5 +1,7 @@
1
1
  import type { AgentProfile } from "@tangle-network/agent-interface";
2
2
  import type { HarnessId } from "./harness.js";
3
+ /** Keep controlled Codex launches on declared tools, not account apps or plugins. */
4
+ export declare const CODEX_DISABLED_FEATURE_ARGS: readonly string[];
3
5
  /**
4
6
  * Whether a run keeps the harness's own system prompt, so that a host's
5
7
  * environment context joins the profile's addition instead of replacing the
@@ -1,3 +1,8 @@
1
+ /** Keep controlled Codex launches on declared tools, not account apps or plugins. */
2
+ export const CODEX_DISABLED_FEATURE_ARGS = [
3
+ "apps",
4
+ "plugins",
5
+ ].flatMap((feature) => ["-c", `features.${feature}=false`]);
1
6
  /**
2
7
  * Harnesses whose adapter can carry a host's environment context as an
3
8
  * ADDITION to the harness's own system prompt:
@@ -36,10 +41,8 @@ export function keepsHarnessSystemPrompt(profile, harness) {
36
41
  }
37
42
  /** Join prompt additions in order, skipping empty ones. */
38
43
  export function joinSystemPromptAdditions(...additions) {
39
- const parts = additions
40
- .map((addition) => addition?.trim())
41
- .filter((addition) => Boolean(addition));
42
- return parts.length > 0 ? parts.join("\n\n") : undefined;
44
+ const parts = additions.map((addition) => addition?.trim()).filter(Boolean);
45
+ return parts.join("\n\n") || undefined;
43
46
  }
44
47
  /** Native inline context has a bounded argument; long context belongs in resources.files. */
45
48
  export function codexDeveloperInstructionArgs(value, flags = []) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tangle-network/agent-profile-materialize",
3
- "version": "1.1.2",
3
+ "version": "1.1.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": "^5.10.2"
36
36
  },
37
37
  "tangleRelease": {
38
- "sourceSha": "54a699fc409d76a365076809d2a34cf51ac82600",
39
- "mergedAt": "2026-10-27T07:52:29-06:00"
38
+ "sourceSha": "63d47e506531a1ed0a1102912ca799cd3df4ae98",
39
+ "mergedAt": "2026-10-28T10:01:26-06:00"
40
40
  },
41
41
  "scripts": {
42
42
  "build": "tsc -p tsconfig.json",