Skip to content

fix: oas location and file upload - #9

Merged
mattzcarey merged 4 commits into
mainfrom
fix/oas-location
Mar 4, 2025
Merged

mattzcarey merged 4 commits into
mainfrom
fix/oas-location

Conversation

@mattzcarey

@mattzcarey mattzcarey commented Mar 4, 2025 •

Copy link
Copy Markdown
Contributor

also strip out source values

@mattzcarey
mattzcarey merged commit e514a0f into main Mar 4, 2025
willleeney added a commit that referenced this pull request Oct 28, 2026
… its matching PR (#231)

Both SDKs' conformance runs grade the pair together, and the new contract needs both on it.
The Python pin moves to its merge commit once #231 lands.
willleeney added a commit that referenced this pull request Oct 29, 2026
… (ENG-3175) (#389)

* feat: one search tool and one execute tool spanning the account scope (ENG-3175)

search_execute mode now lists StackOne's stackone_search_actions /
stackone_execute_action / stackone_list_accounts once for the whole account scope,
naming every account as a repeated x-account-id query parameter, instead of a pair per
account. search() and execute() make one call each: hits name their accounts in
available_accounts rather than one hit per account, and the server, not the SDK,
refuses an action whose connector is linked on several accounts. The per-connector
merge, connector routing and failed-account retry are gone.

Changes for 3.0.0 callers: toolMode 'search_execute' serves the trio, not a pair per account;
search() hits carry available_accounts instead of account_id; an ambiguous execute()
throws StackOneAPIError from the server rather than ToolSetConfigError.

Follows unified-cloud-api#9417. A search_execute listing names its accounts as one
comma-separated x-account-id query value, and a scope of more than 50 accounts throws
ToolSetConfigError (too-many-accounts) before any request.

For one account the server serves <provider>_<accountId>_search_actions and
_execute_action rather than the trio. The SDK presents them as stackone_search_actions
and stackone_execute_action: the served names read as those names in descriptions,
schemas and result strings; a stackone_account_id or provider naming the account or its
connector is dropped, any other throws ToolArgumentsError (account-outside-scope,
provider-outside-scope); search hits gain provider and available_accounts. search(),
execute(), submitFeedback() and fetchTools() look the same for one or many accounts.

Changes for 3.0.0 callers: x-account-id is sent as one comma-separated value; search_execute
scopes are capped at 50 accounts; SearchHitAccount.name is optional.

Rebased onto main after #392 and #391; written in their lint style (oxlint 1.88).

Release-As: 3.1.0

* ci(ENG-3175): pin sdk-conformance at #9's merge and the Python SDK at its matching PR (#231)

Both SDKs' conformance runs grade the pair together, and the new contract needs both on it.
The Python pin moves to its merge commit once #231 lands.

* ci(ENG-3175): take the conformance job's pnpm from sdk-conformance's packageManager

sdk-conformance moved to pnpm 11.17.0 (#12), and pnpm/action-setup refuses a version key that
disagrees with package_json_file. Each SDK checkout still runs its own pnpm 10.26.0: pnpm
switches to a project's packageManager version.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant