The official TypeScript SDK for the Aignostics Platform, providing type-safe access to the Aignostics API. Also includes a CLI tool for command-line operations.
For general information about the Aignostics Platform check this documentation page
- @aignostics/sdk - Core TypeScript SDK with auto-generated API clients
- @aignostics/cli - Command-line interface for platform operations
- 🚀 Type-safe API client - Generated from OpenAPI specifications
- 🔧 CLI tool - Command-line interface for platform operations
- 🧪 Comprehensive testing - 85%+ code coverage with unit and integration tests
- 🛡️ Code quality - ESLint, Prettier, and SonarQube integration
npm install @aignostics/sdk
npm install -g @aignostics/cli
For detailed usage instructions, see the individual package documentation:
- SDK Usage: packages/sdk/README.md
- CLI Usage: packages/cli/README.md
import { PlatformSDK } from '@aignostics/sdk';
const sdk = new PlatformSDK({
baseURL: 'https://api.aignostics.com',
tokenProvider: () => 'your-access-token-here',
});
// List applications
const applications = await sdk.listApplications();
// List application runs
const runs = await sdk.listApplicationRuns();
# Install and use the CLI
npm install -g @aignostics/cli
aignostics info
- HTTP Mocking Patterns - Testing patterns for HTTP requests
- Testing Conventions - Testing standards and best practices
- Token Storage - CLI authentication implementation
- Dependency Injection - DI patterns and practices
- Node.js 18+
- Docker (for OpenAPI code generation)
# Clone the repository
git clone https://github.com/aignostics/typescript-sdk.git
cd typescript-sdk
# Install dependencies
npm install
# Build all packages
npm run build
# Build all packages
nx run-many -t build
# Test all packages
nx run-many -t test
# Work with individual packages
nx build sdk # Build only SDK
nx test cli # Test only CLI
nx codegen sdk # Generate OpenAPI client
npm run build
- Build all packagesnpm run test
- Run all testsnpm run lint
- Lint all packagesnpm run codegen
- Generate OpenAPI client for SDKnpm run clean
- Clean all build outputs
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'feat: add amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
This project uses Conventional Commits. Please format your commits accordingly:
feat:
- New featuresfix:
- Bug fixesdocs:
- Documentation changesstyle:
- Code style changesrefactor:
- Code refactoringtest:
- Test changeschore:
- Build/tooling changes
This project is licensed under the MIT License - see the LICENSE file for details.
For support, please open an issue on GitHub or contact the development team.
Made with ❤️ by the Aignostics team