sap-aicore can now take images in tool results: a `tool_result` on Messages, and a `function_call_output` array on Responses. Images still need an image-capable model, and pass the same URL and detail checks as user attachments. Text-only models still refuse them locally, but magpie's gateway already describes or drops tool images before the plugin sees them. Bumped to 0.3.1. Run at b44bb706 on mote (HOME=$(mktemp -d)): - the package's tests: 335 pass, 0 fail - bun scripts/check.mjs sap-aicore: ok - the whole repo's bun test: 5882 pass, 0 fail Each of the five guards, broken by hand, turned a test red. Bedrock's docs and Azure's v1 spec both accept these shapes. CI is green at 92e19bf9 (the bump only). Not tried: a live SAP AI Core request. Co-authored-by: caikn <caikn@users.noreply.github.com>
46 lines
1004 B
JSON
46 lines
1004 B
JSON
{
|
|
"name": "@magpie-community/opencode-sap-aicore-auth",
|
|
"version": "0.3.1",
|
|
"description": "SAP AI Core deployments in Magpie with credential-file sign-in, account-scoped discovery and native Responses / Messages transport",
|
|
"license": "MIT",
|
|
"type": "module",
|
|
"main": "opencode.mjs",
|
|
"exports": {
|
|
".": "./opencode2.mjs"
|
|
},
|
|
"files": [
|
|
"src/*.js",
|
|
"opencode.mjs",
|
|
"opencode2.mjs",
|
|
"README.md",
|
|
"LICENSE",
|
|
"docs/credentials.md",
|
|
"docs/api-reference.md",
|
|
"docs/troubleshooting.md"
|
|
],
|
|
"engines": {
|
|
"node": ">=22"
|
|
},
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"keywords": [
|
|
"magpie",
|
|
"magpie-plugin",
|
|
"opencode-plugin",
|
|
"sap",
|
|
"sap-aicore"
|
|
],
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/magpie-community/plugins.git",
|
|
"directory": "packages/sap-aicore"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/magpie-community/plugins/issues"
|
|
},
|
|
"scripts": {
|
|
"test": "bun test"
|
|
}
|
|
}
|