Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
401 changes: 203 additions & 198 deletions package-lock.json

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,15 +47,15 @@
"zod": "^3.25.0 || ^4.0.0"
},
"devDependencies": {
"@hey-api/openapi-ts": "^0.90.3",
"@types/node": "^25.0.7",
"@typescript-eslint/eslint-plugin": "^8.53.0",
"@typescript-eslint/parser": "^8.53.0",
"@hey-api/openapi-ts": "^0.90.8",
"@types/node": "^25.0.10",
"@typescript-eslint/eslint-plugin": "^8.53.1",
"@typescript-eslint/parser": "^8.53.1",
"concurrently": "^9.2.1",
"eslint": "^9.39.2",
"eslint-config-prettier": "^10.1.8",
"http-server": "^14.1.1",
"prettier": "^3.7.4",
"prettier": "^3.8.1",
"tsx": "^4.21.0",
"typedoc": "^0.28.16",
"typedoc-github-theme": "^0.3.1",
Expand Down
4 changes: 3 additions & 1 deletion release-please-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
"packages": {
".": {
"changelog-path": "CHANGELOG.md",
"release-type": "node"
"release-type": "node",
"bump-minor-pre-major": true,
"bump-patch-for-minor-pre-major": true
}
},
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json"
Expand Down
310 changes: 248 additions & 62 deletions schema/schema.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions scripts/generate.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import * as fs from "fs/promises";
import { dirname } from "path";
import * as prettier from "prettier";

const CURRENT_SCHEMA_RELEASE = "v0.10.6";
const CURRENT_SCHEMA_RELEASE = "v0.10.7";

await main();

Expand Down Expand Up @@ -33,7 +33,7 @@ async function main() {
},
output: {
path: "./src/schema",
format: "prettier",
postProcess: ["prettier"],
},
plugins: ["@hey-api/transformers", "@hey-api/typescript", "zod"],
});
Expand Down
9 changes: 7 additions & 2 deletions src/schema/types.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,8 @@ export type AvailableCommand = {
};

/**
* unstructured
*
* All text that was typed after the command name is provided as input.
*/
export type AvailableCommandInput = UnstructuredCommandInput;
Expand Down Expand Up @@ -2090,15 +2092,18 @@ export type SessionConfigOption = SessionConfigSelect & {
* This is intended to help Clients distinguish broadly common selectors (e.g. model selector vs
* session mode selector vs thought/reasoning level) for UX purposes (keyboard shortcuts, icons,
* placement). It MUST NOT be required for correctness. Clients MUST handle missing or unknown
* categories gracefully (treat as `Other`).
* categories gracefully.
*
* Category names beginning with `_` are free for custom use, like other ACP extension methods.
* Category names that do not begin with `_` are reserved for the ACP spec.
*
* @experimental
*/
export type SessionConfigOptionCategory =
| "mode"
| "model"
| "thought_level"
| "other";
| string;

/**
* **UNSTABLE**
Expand Down
9 changes: 7 additions & 2 deletions src/schema/zod.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -616,15 +616,18 @@ export const zSessionConfigId = z.string();
* This is intended to help Clients distinguish broadly common selectors (e.g. model selector vs
* session mode selector vs thought/reasoning level) for UX purposes (keyboard shortcuts, icons,
* placement). It MUST NOT be required for correctness. Clients MUST handle missing or unknown
* categories gracefully (treat as `Other`).
* categories gracefully.
*
* Category names beginning with `_` are free for custom use, like other ACP extension methods.
* Category names that do not begin with `_` are reserved for the ACP spec.
*
* @experimental
*/
export const zSessionConfigOptionCategory = z.union([
z.literal("mode"),
z.literal("model"),
z.literal("thought_level"),
z.literal("other"),
z.string(),
]);

/**
Expand Down Expand Up @@ -1583,6 +1586,8 @@ export const zUnstructuredCommandInput = z.object({
});

/**
* unstructured
*
* All text that was typed after the command name is provided as input.
*/
export const zAvailableCommandInput = zUnstructuredCommandInput;
Expand Down