Feat/sdk and vision tracking#15
Merged
Merged
Conversation
…en savings - Add vision-token-tracker module to accumulate StarkVisionClient token usage across all call sites (stark-locate, vision-execute) and print per-step cost - Extract Gemini implicit cached token counts from provider metadata and display them in agent loop / flow run summaries (~75% cost reduction notice) - Cache system prompt in LLM provider so it is built once per run, enabling Gemini implicit prompt caching across steps - Fix resolveNaturalStep to return ResolvedStep (step + usage) instead of bare FlowStep - Update Gemini model pricing table with additional preview models - Bump version to 0.1.6; drop package-lock.json and switch CI to npm install --no-package-lock Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Co-authored-by: Srinivasan Sekar <srinivasan.sekar1990@gmail.com>
- Introduce `src/sdk/` public SDK (GoalRunner, FlowRunner, StepRunner, McpSession, ConfigBuilder) - Expose SDK as package main entry point with proper exports map - Add `loadConfig` overrides support for programmatic config injection - Add SDK unit tests (`tests/sdk/`) and e2e test suite (`tests/e2e/`) - Separate e2e tests from unit tests via dedicated `test:e2e` script - Add QA documentation (personas, regression baseline, step libraries, observed assertions) - Update landing/usage.html Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Co-authored-by: Srinivasan Sekar <srinivasan.sekar1990@gmail.com>
Install step uses --no-package-lock so there is no lock file to use as a cache key. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Co-authored-by: Srinivasan Sekar <srinivasan.sekar1990@gmail.com>
- Replace --exclude glob (unreliable) with explicit dir args in test script - Remove describe.only from e2e suite that caused Vitest to fail even when the file was skipped Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Co-authored-by: Srinivasan Sekar <srinivasan.sekar1990@gmail.com>
Tests were hitting real device session code (startSpinner, capability building) because McpSession.connect() calls createPlatformSession which was not mocked. Add the mock to both appclaw.test.ts and mcp-session.test.ts so tests stay pure unit tests. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Co-authored-by: Srinivasan Sekar <srinivasan.sekar1990@gmail.com>
|
🎉 This PR is included in version 1.0.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.