mirror of
https://github.com/strands-agents/harness-sdk.git
synced 2026-10-02 02:44:48 +08:00
* feat: setup TypeScript SDK project with hello world implementation - Initialize package.json with @strands-agents/sdk configuration - Configure TypeScript for Node.js 20+ and browser compatibility - Set up Vitest testing framework with 100% coverage requirement - Add ESLint with TypeScript best practices and TSDoc validation - Configure Prettier formatting (no semicolons, line length 120) - Implement hello world function with comprehensive TSDoc documentation - Create complete test suite with 16 passing tests and 100% coverage - Create AGENTS.md with development environment documentation - Update CONTRIBUTING.md with testing instructions and TDD guidelines - Configure ES modules with single entry point architecture - Enforce strict typing with no 'any' types allowed All core acceptance criteria from issue #5 have been implemented and validated. CI/CD workflows will be added in a follow-up commit. * docs: move completed task to completed directory and add workflow guidance - Moved task-01-setup-project-structure-and-core-type-system.md to .project/tasks/completed/ - Added Development Workflow section to project-overview.md with task completion process - Addresses review feedback for proper task management organization * refactor: address PR feedback and improve development experience - Remove tests_integ/setup.test.ts (low value, redundant) - Remove package-lock.json and add to .gitignore (SDK best practice) - Restructure test files to use nested describe pattern for better organization - Update coverage threshold from 100% to 80% (more pragmatic) - Remove TDD enforcement section from CONTRIBUTING.md (flexibility) - Remove redundant Development Workflow section - Add Husky pre-commit hooks for automated quality checks - Consolidate quality check documentation in Contributing section - Update AGENTS.md to reflect new coverage requirements - Document pre-commit hooks in setup instructions All tests passing (13/13), 100% coverage maintained, all quality checks passing. * docs: add test organization pattern and remove backup file - Add comprehensive test organization pattern guidance to AGENTS.md - Document nested describe pattern for class and function tests - Include key principles for test organization - Remove .project/project-overview.md.bak backup file Addresses feedback from PR review comments * chore: remove package-lock.json from git tracking - Remove package-lock.json from version control (SDK best practice) - File already added to .gitignore in previous commit - Addresses PR feedback about file still being tracked in repository * feat: implement path aliases, reorganize tests and documentation Path Aliases: - Add TypeScript path aliases (@/) for cleaner imports - Configure tsconfig.json with baseUrl and paths - Update vitest.config.ts to resolve path aliases - Update test imports to use @/ instead of relative paths Test Reorganization: - Move unit tests from tests/ to src/__tests__/ (co-located with source) - Integration tests remain in tests_integ/ - Update all test file imports to use path aliases - Update ESLint, Prettier, and TypeScript configs for new structure Documentation Reorganization: - AGENTS.md: Agent-specific development guidance (coding patterns, testing patterns, workflow) - README.md: Complete project overview with roadmap, usage examples, getting started - CONTRIBUTING.md: Simplified human contribution guidelines, references AGENTS.md - Clear separation of concerns between AGENTS.md (agents), README.md (users), CONTRIBUTING.md (human contributors) All quality checks passing: 13/13 tests, 100% coverage, linting, formatting, type checking. Addresses PR feedback from zastrowm and Unshure. * docs: streamline README and add workflow files for review - Remove TypeScript-First, Advanced Capabilities, and Dual Environment features from README - Update Quick Start wording to 'will look something like this' - Remove 'Current Status' note to keep README cleaner - Remove reference to AGENTS.md and Example Usage section - Create workflow files in .github_temp for review: - pr-and-push.yml: Triggers test-lint on PR and push events - test-lint.yml: Runs tests, linting, formatting, type checking across Node 20/22 and multiple OS - integration-test.yml: Runs integration tests with AWS credentials and authorization Addresses feedback from PR review comments * Move workflow files * Add permissions to workflows * remove writing results to pr * Fix windows workflow test and fix audit issues * Address pr feedback --------- Co-authored-by: Strands Agent <217235299+strands-agent@users.noreply.github.com>
1 line
18 B
Plaintext
1 line
18 B
Plaintext
* text=auto eol=lf |