@amalgm/chat 0.2.9-main.34746990150 → 0.2.9-main.34936323070

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/PURPOSE.md CHANGED
@@ -172,6 +172,8 @@ automations, and third-party apps must all use the same public SDK.
172
172
  43. Attachment bytes belong to the accepted ACP prompt. A native adapter that
173
173
  needs a filesystem path receives a host materialization of those bytes;
174
174
  that derived file is never the durable source of truth.
175
+ Every attachment reaches the model as native content or an explicit readable
176
+ reference; provider routing metadata cannot replace prompt content.
175
177
  44. A managed provider home belongs to one installation and one auth authority.
176
178
  Child environments contain standard process and network settings plus
177
179
  explicitly prepared credentials; they never inherit host service secrets.
@@ -152,7 +152,7 @@ the final native boundary:
152
152
  | Adapter | Native projection |
153
153
  | --- | --- |
154
154
  | ACP / Cursor | ACP content blocks unchanged after capability validation |
155
- | Codex | text, URL/base64 image or audio, local image/audio, or file mention |
155
+ | Codex | text, URL/base64 image or audio, local image/audio, or readable file references in text |
156
156
  | Claude Code | structured text, image, plain-text document, or PDF blocks |
157
157
  | OpenCode | text and URL/data-URL file parts |
158
158
  | Pi | text plus its RPC image channel |
@@ -77,7 +77,9 @@ export function codexPromptInput(prompt) {
77
77
  if (!file) return [{ type: 'text', text: linkedText(part) }];
78
78
  if (mime.startsWith('image/')) return [{ type: 'localImage', path: file }];
79
79
  if (mime.startsWith('audio/')) return [{ type: 'localAudio', path: file }];
80
- return [{ type: 'mention', name: resourceName(part), path: file }];
80
+ // Codex mentions select provider integrations; they do not put an
81
+ // arbitrary file reference into the model's user message.
82
+ return [{ type: 'text', text: linkedText(part) }];
81
83
  }
82
84
  if (part.type === 'resource') {
83
85
  const mime = mimeOf(part);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@amalgm/chat",
3
- "version": "0.2.9-main.34746990150",
3
+ "version": "0.2.9-main.34936323070",
4
4
  "description": "A provider-agnostic agent chat SDK with ACP content, prepared execution, normalized streams, and usage.",
5
5
  "type": "module",
6
6
  "license": "UNLICENSED",
@@ -118,11 +118,11 @@
118
118
  "allowScripts": {
119
119
  "better-sqlite3@12.11.1": true
120
120
  },
121
- "gitHead": "d2d09289c5a18d926cf7c4d2f083d32760003d2d",
121
+ "gitHead": "9e7a8d0bd059cabed19227d23079334bf089224a",
122
122
  "amalgmSource": {
123
123
  "repository": "amalgm-inc/amalgm-chat",
124
124
  "branch": "main",
125
- "commit": "d2d09289c5a18d926cf7c4d2f083d32760003d2d",
126
- "occurrence": "34746990150"
125
+ "commit": "9e7a8d0bd059cabed19227d23079334bf089224a",
126
+ "occurrence": "34936323070"
127
127
  }
128
128
  }