@tangle-network/agent-profile-materialize 0.20.2 → 0.20.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.
@@ -10,6 +10,7 @@ function nativeWebToolKind(name) {
10
10
  return undefined;
11
11
  }
12
12
  const CLAUDE_TOOL_NAMES = {
13
+ agent: "Agent",
13
14
  askuserquestion: "AskUserQuestion",
14
15
  bash: "Bash",
15
16
  edit: "Edit",
@@ -12,6 +12,8 @@ export interface PiModelsConfigInput {
12
12
  contextWindow?: number;
13
13
  maxTokens?: number;
14
14
  reasoning?: boolean;
15
+ /** OpenAI-compatible completions may reject the optional store field. */
16
+ supportsStore?: boolean;
15
17
  }
16
18
  export interface PiModelsConfigFile {
17
19
  path: string;
@@ -40,6 +40,9 @@ export function buildPiModelsConfig(input) {
40
40
  id: input.modelId,
41
41
  name: input.modelId,
42
42
  reasoning: input.reasoning ?? false,
43
+ ...(input.supportsStore !== undefined
44
+ ? { compat: { supportsStore: input.supportsStore } }
45
+ : {}),
43
46
  input: ["text", "image"],
44
47
  contextWindow: input.contextWindow ?? DEFAULT_CONTEXT_WINDOW,
45
48
  ...(input.maxTokens !== undefined
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tangle-network/agent-profile-materialize",
3
- "version": "0.20.2",
3
+ "version": "0.20.5",
4
4
  "description": "Materialize an AgentProfile into the native per-harness workspace files (the one shared materializer for cli-bridge, agent-dev-container, and VB).",
5
5
  "type": "module",
6
6
  "repository": {
@@ -25,14 +25,14 @@
25
25
  "dist"
26
26
  ],
27
27
  "devDependencies": {
28
- "@tangle-network/agent-interface": "2.6.1",
29
- "@tangle-network/agent-interface-current": "npm:@tangle-network/agent-interface@2.6.1",
28
+ "@tangle-network/agent-interface": "2.13.0",
29
+ "@tangle-network/agent-interface-current": "npm:@tangle-network/agent-interface@2.13.0",
30
30
  "@types/node": "25.6.0",
31
31
  "typescript": "^6.0.3",
32
32
  "vitest": "^4.1.10"
33
33
  },
34
34
  "peerDependencies": {
35
- "@tangle-network/agent-interface": "^2.6.1"
35
+ "@tangle-network/agent-interface": "^2.13.0"
36
36
  },
37
37
  "scripts": {
38
38
  "build": "tsc -p tsconfig.json",