@opencode-ai/client 0.0.0-dev-19196 → 0.0.0-dev-19202

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1787,6 +1787,7 @@ export type ProjectListOutput = ReadonlyArray<Project.Info>;
1787
1787
  export type ProjectListOperation<E = never> = () => Effect.Effect<ProjectListOutput, E>;
1788
1788
  export type ProjectUpdateInput = {
1789
1789
  readonly projectID: Project.ID;
1790
+ readonly canonical?: AbsolutePath | undefined;
1790
1791
  readonly name?: string | undefined;
1791
1792
  readonly icon?: Project.Icon | undefined;
1792
1793
  readonly commands?: Project.Commands | undefined;
@@ -330,7 +330,7 @@ const adaptGroupCredential = (raw) => ({
330
330
  const EndpointProjectList = (raw) => () => preserveEffect()(raw["project.list"]({}).pipe(Effect.mapError(mapClientError)));
331
331
  const EndpointProjectUpdate = (raw) => (input) => preserveEffect()(raw["project.update"]({
332
332
  params: { projectID: input["projectID"] },
333
- payload: { name: input["name"], icon: input["icon"], commands: input["commands"] },
333
+ payload: { canonical: input["canonical"], name: input["name"], icon: input["icon"], commands: input["commands"] },
334
334
  }).pipe(Effect.mapError(mapClientError)));
335
335
  const EndpointProjectCurrent = (raw) => (input) => preserveEffect()(raw["project.current"]({ query: { location: input?.["location"] } }).pipe(Effect.mapError(mapClientError)));
336
336
  const adaptGroupProject = (raw) => ({
@@ -796,7 +796,12 @@ export function make(options) {
796
796
  update: (input, requestOptions) => request({
797
797
  method: "PATCH",
798
798
  path: `/api/project/${encodeURIComponent(input.projectID)}`,
799
- body: { name: input["name"], icon: input["icon"], commands: input["commands"] },
799
+ body: {
800
+ canonical: input["canonical"],
801
+ name: input["name"],
802
+ icon: input["icon"],
803
+ commands: input["commands"],
804
+ },
800
805
  successStatus: 200,
801
806
  declaredStatuses: [400, 401, 404],
802
807
  empty: false,
@@ -6536,7 +6536,20 @@ export type ProjectUpdateInput = {
6536
6536
  readonly projectID: {
6537
6537
  readonly projectID: string;
6538
6538
  }["projectID"];
6539
+ readonly canonical?: {
6540
+ readonly canonical?: string;
6541
+ readonly name?: string;
6542
+ readonly icon?: {
6543
+ readonly url?: string;
6544
+ readonly override?: string;
6545
+ readonly color?: string;
6546
+ };
6547
+ readonly commands?: {
6548
+ readonly start?: string;
6549
+ };
6550
+ }["canonical"];
6539
6551
  readonly name?: {
6552
+ readonly canonical?: string;
6540
6553
  readonly name?: string;
6541
6554
  readonly icon?: {
6542
6555
  readonly url?: string;
@@ -6548,6 +6561,7 @@ export type ProjectUpdateInput = {
6548
6561
  };
6549
6562
  }["name"];
6550
6563
  readonly icon?: {
6564
+ readonly canonical?: string;
6551
6565
  readonly name?: string;
6552
6566
  readonly icon?: {
6553
6567
  readonly url?: string;
@@ -6559,6 +6573,7 @@ export type ProjectUpdateInput = {
6559
6573
  };
6560
6574
  }["icon"];
6561
6575
  readonly commands?: {
6576
+ readonly canonical?: string;
6562
6577
  readonly name?: string;
6563
6578
  readonly icon?: {
6564
6579
  readonly url?: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "@opencode-ai/client",
4
- "version": "0.0.0-dev-19196",
4
+ "version": "0.0.0-dev-19202",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "repository": {
@@ -57,8 +57,8 @@
57
57
  "typecheck": "tsgo --noEmit"
58
58
  },
59
59
  "dependencies": {
60
- "@opencode-ai/schema": "0.0.0-dev-19196",
61
- "@opencode-ai/protocol": "0.0.0-dev-19196"
60
+ "@opencode-ai/schema": "0.0.0-dev-19202",
61
+ "@opencode-ai/protocol": "0.0.0-dev-19202"
62
62
  },
63
63
  "peerDependencies": {
64
64
  "effect": "4.0.0-rc.112",
@@ -74,7 +74,7 @@
74
74
  },
75
75
  "devDependencies": {
76
76
  "@effect/platform-node": "4.0.0-rc.112",
77
- "@opencode-ai/httpapi-codegen": "0.0.0-dev-19196",
77
+ "@opencode-ai/httpapi-codegen": "0.0.0-dev-19202",
78
78
  "@tsconfig/bun": "1.0.9",
79
79
  "@types/bun": "1.4.0",
80
80
  "@typescript/native-preview": "7.0.0-dev.20251207.1",