Skip to content

feat: Declare types in AGENTS.md for better structure and clarity#396

Merged
jirispilka merged 1 commit intomasterfrom
feat/update-agents-md-types
Jan 21, 2026
Merged

feat: Declare types in AGENTS.md for better structure and clarity#396
jirispilka merged 1 commit intomasterfrom
feat/update-agents-md-types

Conversation

@jirispilka
Copy link
Copy Markdown
Collaborator

No description provided.

@jirispilka jirispilka requested a review from MQ37 January 20, 2026 13:17
@github-actions github-actions Bot added the t-ai Issues owned by the AI team. label Jan 20, 2026
MQ37 added a commit that referenced this pull request Jan 20, 2026
Previously, task mode execution (executeToolAndUpdateTask) rejected all
internal tools, only allowing actor tools. This was inconsistent with
tools like call-actor that declare taskSupport: 'optional'.

Changes:
- Remove hard rejection of internal tools in task mode
- Add execution path for internal tools in task mode
- Pass userRentedActorIds to task execution context
- Add integration test for call-actor in task mode

This fixes the architectural issue identified in PR #396 review where
centralized skyfire validation worked but internal tools couldn't reach
that code path due to early rejection.
MQ37 added a commit that referenced this pull request Jan 20, 2026
* Initial plan

* Centralize skyfire validation in MCP server dispatcher

Co-authored-by: MQ37 <29043708+MQ37@users.noreply.github.com>

* fix: enable task mode support for internal tools with taskSupport

Previously, task mode execution (executeToolAndUpdateTask) rejected all
internal tools, only allowing actor tools. This was inconsistent with
tools like call-actor that declare taskSupport: 'optional'.

Changes:
- Remove hard rejection of internal tools in task mode
- Add execution path for internal tools in task mode
- Pass userRentedActorIds to task execution context
- Add integration test for call-actor in task mode

This fixes the architectural issue identified in PR #396 review where
centralized skyfire validation worked but internal tools couldn't reach
that code path due to early rejection.

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: MQ37 <29043708+MQ37@users.noreply.github.com>
Co-authored-by: MQ37 <themq37@gmail.com>
MQ37 added a commit that referenced this pull request Jan 20, 2026
* fix: skyfire parameter injection and missing tool registration

Fixed critical bug where 8 out of 11 skyfire-enabled tools were missing
the required `skyfire-pay-id` parameter in their input schemas. Refactored
Skyfire integration to eliminate ~180 lines of duplicated code.

Critical fixes:
- Schema injection now uses SKYFIRE_ENABLED_TOOLS Set instead of hardcoded list
- Added missing abortActorRun tool to runs category

Changes:
- Created src/utils/skyfire.ts with reusable helper functions
- Refactored 13 code locations to use helpers
- Added skyfire mode detection via ?payment=skyfire query parameter
- Added integration test for schema injection
- Updated test helpers and documentation

Tools affected: call-actor, get-actor-output, get-actor-run, get-actor-log,
abort-actor-run, get-dataset, get-dataset-items, get-dataset-schema,
get-key-value-store, get-key-value-store-keys, get-key-value-store-record

Files: 13 files changed, 286 insertions(+), 92 deletions(-)

* Centralize skyfire pay ID validation in tool dispatcher (#395)

* Initial plan

* Centralize skyfire validation in MCP server dispatcher

Co-authored-by: MQ37 <29043708+MQ37@users.noreply.github.com>

* fix: enable task mode support for internal tools with taskSupport

Previously, task mode execution (executeToolAndUpdateTask) rejected all
internal tools, only allowing actor tools. This was inconsistent with
tools like call-actor that declare taskSupport: 'optional'.

Changes:
- Remove hard rejection of internal tools in task mode
- Add execution path for internal tools in task mode
- Pass userRentedActorIds to task execution context
- Add integration test for call-actor in task mode

This fixes the architectural issue identified in PR #396 review where
centralized skyfire validation worked but internal tools couldn't reach
that code path due to early rejection.

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: MQ37 <29043708+MQ37@users.noreply.github.com>
Co-authored-by: MQ37 <themq37@gmail.com>

* refactor: move createApifyClientWithSkyfireSupport to apify-clients.ts

* fix compiler and lint issues after merge

---------

Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
Co-authored-by: MQ37 <29043708+MQ37@users.noreply.github.com>
@jirispilka jirispilka merged commit 0207f3e into master Jan 21, 2026
2 checks passed
@jirispilka jirispilka deleted the feat/update-agents-md-types branch January 21, 2026 10:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

t-ai Issues owned by the AI team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants