@tangle-network/agent-profile-materialize 1.1.3 → 1.1.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.
@@ -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 = []) {
@@ -267,7 +267,7 @@ export interface WorkspacePlanReceipt {
267
267
  systemPromptBinding?: WorkspacePlanSystemPromptBinding;
268
268
  unsupported: Unsupported[];
269
269
  /**
270
- * Legacy workspace-root paths for existing workspace-only consumers.
270
+ * Workspace-root paths, for consumers that mount the workspace only.
271
271
  * Agent-root files are available in `writtenFiles` and are never encoded as
272
272
  * an `agent:` path because that spelling is legal in the workspace root.
273
273
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tangle-network/agent-profile-materialize",
3
- "version": "1.1.3",
3
+ "version": "1.1.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": "^5.10.2"
36
36
  },
37
37
  "tangleRelease": {
38
- "sourceSha": "a9f018cf7c89339b1a6a983cf0a12b0944d95cd7",
39
- "mergedAt": "2026-10-28T00:47:34-06:00"
38
+ "sourceSha": "3adca738603b0b972c48f75100cb139a503b6652",
39
+ "mergedAt": "2026-10-28T20:53:28-06:00"
40
40
  },
41
41
  "scripts": {
42
42
  "build": "tsc -p tsconfig.json",