Commit Graph

14 Commits

Author SHA1 Message Date
4bmis e68b756ae7 [packages/js-sdk]release: v0.3.0 2026-02-04 16:58:53 +08:00
4bmis bb4ae30281 [packages/*]feat: migrate to new text-based API
- Replace old JSON API with new text-based API using area_id format
- Add get_action_by_area_id tool to MCP server
- Update search_actions with new parameters (domain, url, page, page_size)
- Remove --json option from CLI commands (output is now plain text)
- Disable sources command temporarily in CLI
- Update README documentation for CLI and MCP

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-04 15:29:38 +08:00
Adcent 42a416ac88 [packages]chore: bump versions for pnpm publish fix
- @actionbookdev/sdk: 0.2.1 → 0.2.2
- @actionbookdev/mcp: 0.1.2 → 0.1.3
- @actionbookdev/cli: 0.1.1 → 0.1.2

Fix: use pnpm publish to properly resolve workspace:* protocol

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-14 19:55:20 +08:00
Adcent c28f78cc5f [packages]chore: bump versions for Apache 2.0 license release
- @actionbookdev/sdk: 0.2.0 → 0.2.1
- @actionbookdev/mcp: 0.1.1 → 0.1.2
- @actionbookdev/cli: 0.1.0 → 0.1.1

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-13 19:11:34 +08:00
Adcent 2638fb8cbd [root]chore: update license to Apache 2.0
- Replace modified Apache 2.0 license with standard Apache 2.0
- Add license field to packages/js-sdk/package.json
- Add license field to packages/mcp/package.json
- Update license field in packages/cli/package.json from MIT to Apache-2.0

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-13 19:10:03 +08:00
junliang.feng 348dfc778d [packages/js-sdk]chore: bump version to 0.2.0
- Add fuzzy matching support for getActionById
- Update tool description to document partial URL inputs
- Update tests for URL-based action ID format

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-13 14:43:23 +08:00
junliang.feng b0dc4e9cef [packages/js-sdk]test: update tests for URL-based action ID format
- Update getActionById tests to use URL strings instead of numeric IDs
- Add fuzzy matching test cases (domain-only, domain+path)
- Fix expected URL format from path-based to query parameter
- Update schema validation tests for string type

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-13 14:28:11 +08:00
junliang.feng f76794d74a [packages/js-sdk]docs: update getActionById description for fuzzy matching
- Document fuzzy matching support in tool description
- Update examples to show domain-only and domain+path formats
- Help LLMs understand they can use partial URLs

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-13 14:24:45 +08:00
junliang.feng 77363f4056 [apps/api-service,packages/js-sdk]feat: change get_action_by_id to query parameter format
- Change API from GET /api/actions/:id to GET /api/actions?id=<url>
- Fix URL hash mismatch by querying documents.url directly
- Add version filter to match search behavior
- Update SDK and tests for new endpoint format

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-13 11:22:32 +08:00
junliang.feng 82306cc261 [packages/js-sdk]feat: update action_id type from number to string
- Update ChunkSearchResult and ChunkActionDetail action_id to string
- Change getActionByIdSchema id from z.number() to z.string()
- Update ApiClient.getActionById to accept string and encode URL
- Update GetActionByIdMethod interface for string-based ID
- Update tool descriptions to reflect URL-based action_id format

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-13 00:37:54 +08:00
Adcent 4574816542 [packages/js-sdk,packages/mcp]chore: bump versions to 0.1.1
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-12 19:47:07 +08:00
Adcent de4784f059 wip 2026-01-12 19:27:38 +08:00
4bmis dc8799627c [packages]release: v0.1.0 2026-01-06 14:57:15 +08:00
Adcent 253da93507 [packages/js-sdk]feat: add JavaScript SDK with types and tools
- Add @actionbookdev/sdk package
- Define ActionMeta and ActionContent types
- Implement API client for action queries
- Add tool definitions for AI agent integration
2025-12-28 15:12:09 +08:00