first commit
SAP-ERP Portal CI/CD / build (push) Failing after 5m20s

This commit is contained in:
John
2026-09-23 17:31:02 +05:30
commit 69b4e68baf
51657 changed files with 3864077 additions and 0 deletions
+53
View File
@@ -0,0 +1,53 @@
#!/usr/bin/env node
const { spawnSync } = require('child_process');
const commands = {
migrate: {
description:
'Run migrations to update your code using @anthropic-ai/sdk@0.41 to be compatible with @anthropic-ai/sdk@0.50',
fn: () => {
const result = spawnSync(
'npx',
[
'-y',
'https://github.com/stainless-api/migrate-ts/releases/download/0.0.2/stainless-api-migrate-0.0.2-6.tgz',
'--migrationConfig',
require.resolve('./migration-config.json'),
...process.argv.slice(3),
],
{ stdio: 'inherit' },
);
if (result.status !== 0) {
process.exit(result.status);
}
},
},
};
function exitWithHelp() {
console.log(`Usage: anthropic-ai-sdk <subcommand>`);
console.log();
console.log('Subcommands:');
for (const [name, info] of Object.entries(commands)) {
console.log(` ${name} ${info.description}`);
}
console.log();
process.exit(1);
}
if (process.argv.length < 3) {
exitWithHelp();
}
const commandName = process.argv[2];
const command = commands[commandName];
if (!command) {
console.log(`Unknown subcommand ${commandName}.`);
exitWithHelp();
}
command.fn();
+711
View File
@@ -0,0 +1,711 @@
{
"pkg": "@anthropic-ai/sdk",
"githubRepo": "https://github.com/anthropics/anthropic-sdk-typescript",
"clientClass": "Anthropic",
"baseClientClass": "BaseAnthropic",
"methods": [
{
"base": "beta.sessions.resources",
"name": "retrieve",
"params": [
{
"type": "param",
"key": "resource_id",
"location": "path"
},
{
"type": "params",
"maybeOverload": false
},
{
"type": "options"
}
],
"oldParams": [
{
"type": "param",
"key": "session_id",
"location": "path"
},
{
"type": "param",
"key": "resource_id",
"location": "path"
},
{
"type": "params",
"maybeOverload": true
},
{
"type": "options"
}
]
},
{
"base": "beta.sessions.resources",
"name": "update",
"params": [
{
"type": "param",
"key": "resource_id",
"location": "path"
},
{
"type": "params",
"maybeOverload": false
},
{
"type": "options"
}
],
"oldParams": [
{
"type": "param",
"key": "session_id",
"location": "path"
},
{
"type": "param",
"key": "resource_id",
"location": "path"
},
{
"type": "params",
"maybeOverload": false
},
{
"type": "options"
}
]
},
{
"base": "beta.sessions.resources",
"name": "delete",
"params": [
{
"type": "param",
"key": "resource_id",
"location": "path"
},
{
"type": "params",
"maybeOverload": false
},
{
"type": "options"
}
],
"oldParams": [
{
"type": "param",
"key": "session_id",
"location": "path"
},
{
"type": "param",
"key": "resource_id",
"location": "path"
},
{
"type": "params",
"maybeOverload": true
},
{
"type": "options"
}
]
},
{
"base": "beta.sessions.threads",
"name": "retrieve",
"params": [
{
"type": "param",
"key": "thread_id",
"location": "path"
},
{
"type": "params",
"maybeOverload": false
},
{
"type": "options"
}
],
"oldParams": [
{
"type": "param",
"key": "session_id",
"location": "path"
},
{
"type": "param",
"key": "thread_id",
"location": "path"
},
{
"type": "params",
"maybeOverload": true
},
{
"type": "options"
}
]
},
{
"base": "beta.sessions.threads",
"name": "archive",
"params": [
{
"type": "param",
"key": "thread_id",
"location": "path"
},
{
"type": "params",
"maybeOverload": false
},
{
"type": "options"
}
],
"oldParams": [
{
"type": "param",
"key": "session_id",
"location": "path"
},
{
"type": "param",
"key": "thread_id",
"location": "path"
},
{
"type": "params",
"maybeOverload": true
},
{
"type": "options"
}
]
},
{
"base": "beta.sessions.threads.events",
"name": "list",
"params": [
{
"type": "param",
"key": "thread_id",
"location": "path"
},
{
"type": "params",
"maybeOverload": false
},
{
"type": "options"
}
],
"oldParams": [
{
"type": "param",
"key": "session_id",
"location": "path"
},
{
"type": "param",
"key": "thread_id",
"location": "path"
},
{
"type": "params",
"maybeOverload": true
},
{
"type": "options"
}
]
},
{
"base": "beta.sessions.threads.events",
"name": "stream",
"params": [
{
"type": "param",
"key": "thread_id",
"location": "path"
},
{
"type": "params",
"maybeOverload": false
},
{
"type": "options"
}
],
"oldParams": [
{
"type": "param",
"key": "session_id",
"location": "path"
},
{
"type": "param",
"key": "thread_id",
"location": "path"
},
{
"type": "params",
"maybeOverload": true
},
{
"type": "options"
}
]
},
{
"base": "beta.vaults.credentials",
"name": "retrieve",
"params": [
{
"type": "param",
"key": "credential_id",
"location": "path"
},
{
"type": "params",
"maybeOverload": false
},
{
"type": "options"
}
],
"oldParams": [
{
"type": "param",
"key": "vault_id",
"location": "path"
},
{
"type": "param",
"key": "credential_id",
"location": "path"
},
{
"type": "params",
"maybeOverload": true
},
{
"type": "options"
}
]
},
{
"base": "beta.vaults.credentials",
"name": "update",
"params": [
{
"type": "param",
"key": "credential_id",
"location": "path"
},
{
"type": "params",
"maybeOverload": false
},
{
"type": "options"
}
],
"oldParams": [
{
"type": "param",
"key": "vault_id",
"location": "path"
},
{
"type": "param",
"key": "credential_id",
"location": "path"
},
{
"type": "params",
"maybeOverload": false
},
{
"type": "options"
}
]
},
{
"base": "beta.vaults.credentials",
"name": "delete",
"params": [
{
"type": "param",
"key": "credential_id",
"location": "path"
},
{
"type": "params",
"maybeOverload": false
},
{
"type": "options"
}
],
"oldParams": [
{
"type": "param",
"key": "vault_id",
"location": "path"
},
{
"type": "param",
"key": "credential_id",
"location": "path"
},
{
"type": "params",
"maybeOverload": true
},
{
"type": "options"
}
]
},
{
"base": "beta.vaults.credentials",
"name": "archive",
"params": [
{
"type": "param",
"key": "credential_id",
"location": "path"
},
{
"type": "params",
"maybeOverload": false
},
{
"type": "options"
}
],
"oldParams": [
{
"type": "param",
"key": "vault_id",
"location": "path"
},
{
"type": "param",
"key": "credential_id",
"location": "path"
},
{
"type": "params",
"maybeOverload": true
},
{
"type": "options"
}
]
},
{
"base": "beta.vaults.credentials",
"name": "mcpOAuthValidate",
"params": [
{
"type": "param",
"key": "credential_id",
"location": "path"
},
{
"type": "params",
"maybeOverload": false
},
{
"type": "options"
}
],
"oldParams": [
{
"type": "param",
"key": "vault_id",
"location": "path"
},
{
"type": "param",
"key": "credential_id",
"location": "path"
},
{
"type": "params",
"maybeOverload": true
},
{
"type": "options"
}
]
},
{
"base": "beta.memoryStores.memories",
"name": "retrieve",
"params": [
{
"type": "param",
"key": "memory_id",
"location": "path"
},
{
"type": "params",
"maybeOverload": false
},
{
"type": "options"
}
],
"oldParams": [
{
"type": "param",
"key": "memory_store_id",
"location": "path"
},
{
"type": "param",
"key": "memory_id",
"location": "path"
},
{
"type": "params",
"maybeOverload": true
},
{
"type": "options"
}
]
},
{
"base": "beta.memoryStores.memories",
"name": "update",
"params": [
{
"type": "param",
"key": "memory_id",
"location": "path"
},
{
"type": "params",
"maybeOverload": false
},
{
"type": "options"
}
],
"oldParams": [
{
"type": "param",
"key": "memory_store_id",
"location": "path"
},
{
"type": "param",
"key": "memory_id",
"location": "path"
},
{
"type": "params",
"maybeOverload": false
},
{
"type": "options"
}
]
},
{
"base": "beta.memoryStores.memories",
"name": "delete",
"params": [
{
"type": "param",
"key": "memory_id",
"location": "path"
},
{
"type": "params",
"maybeOverload": false
},
{
"type": "options"
}
],
"oldParams": [
{
"type": "param",
"key": "memory_store_id",
"location": "path"
},
{
"type": "param",
"key": "memory_id",
"location": "path"
},
{
"type": "params",
"maybeOverload": true
},
{
"type": "options"
}
]
},
{
"base": "beta.memoryStores.memoryVersions",
"name": "retrieve",
"params": [
{
"type": "param",
"key": "memory_version_id",
"location": "path"
},
{
"type": "params",
"maybeOverload": false
},
{
"type": "options"
}
],
"oldParams": [
{
"type": "param",
"key": "memory_store_id",
"location": "path"
},
{
"type": "param",
"key": "memory_version_id",
"location": "path"
},
{
"type": "params",
"maybeOverload": true
},
{
"type": "options"
}
]
},
{
"base": "beta.memoryStores.memoryVersions",
"name": "redact",
"params": [
{
"type": "param",
"key": "memory_version_id",
"location": "path"
},
{
"type": "params",
"maybeOverload": false
},
{
"type": "options"
}
],
"oldParams": [
{
"type": "param",
"key": "memory_store_id",
"location": "path"
},
{
"type": "param",
"key": "memory_version_id",
"location": "path"
},
{
"type": "params",
"maybeOverload": true
},
{
"type": "options"
}
]
},
{
"base": "beta.skills.versions",
"name": "retrieve",
"params": [
{
"type": "param",
"key": "version",
"location": "path"
},
{
"type": "params",
"maybeOverload": false
},
{
"type": "options"
}
],
"oldParams": [
{
"type": "param",
"key": "skill_id",
"location": "path"
},
{
"type": "param",
"key": "version",
"location": "path"
},
{
"type": "params",
"maybeOverload": true
},
{
"type": "options"
}
]
},
{
"base": "beta.skills.versions",
"name": "delete",
"params": [
{
"type": "param",
"key": "version",
"location": "path"
},
{
"type": "params",
"maybeOverload": false
},
{
"type": "options"
}
],
"oldParams": [
{
"type": "param",
"key": "skill_id",
"location": "path"
},
{
"type": "param",
"key": "version",
"location": "path"
},
{
"type": "params",
"maybeOverload": true
},
{
"type": "options"
}
]
}
]
}