@otto-code/client 0.9.5 → 0.9.6

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.
@@ -1559,6 +1559,32 @@ export declare class DaemonClient {
1559
1559
  getHostingAuthStatus(options: {
1560
1560
  provider: GitHostingProviderId;
1561
1561
  }, requestId?: string): Promise<HostingAuthStatusPayload>;
1562
+ manageForgeConnections(action: import("@otto-code/protocol/forge-connections").ForgeConnectionsAction): Promise<{
1563
+ requestId: string;
1564
+ overview: {
1565
+ connections: {
1566
+ id: string;
1567
+ forge: string;
1568
+ host: string;
1569
+ label: string;
1570
+ account: string;
1571
+ method: string;
1572
+ revision: number;
1573
+ }[];
1574
+ defaults: {
1575
+ forge: string;
1576
+ host: string;
1577
+ connectionId: string;
1578
+ }[];
1579
+ overrides: {
1580
+ forge: string;
1581
+ host: string;
1582
+ connectionId: string;
1583
+ }[];
1584
+ projectId: string | null;
1585
+ } | null;
1586
+ error: string | null;
1587
+ }>;
1562
1588
  getDirectorySuggestions(options: {
1563
1589
  query: string;
1564
1590
  limit?: number;
@@ -3822,6 +3822,12 @@ export class DaemonClient {
3822
3822
  responseType: "hosting.auth_status.response",
3823
3823
  });
3824
3824
  }
3825
+ async manageForgeConnections(action) {
3826
+ return this.sendCorrelatedSessionRequest({
3827
+ message: { type: "forge.connections.manage.request", action },
3828
+ responseType: "forge.connections.manage.response",
3829
+ });
3830
+ }
3825
3831
  async getDirectorySuggestions(options, requestId) {
3826
3832
  return this.sendCorrelatedSessionRequest({
3827
3833
  requestId,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@otto-code/client",
3
- "version": "0.9.5",
3
+ "version": "0.9.6",
4
4
  "description": "Otto client SDK package",
5
5
  "license": "AGPL-3.0-or-later",
6
6
  "files": [
@@ -40,8 +40,8 @@
40
40
  "test": "vitest run"
41
41
  },
42
42
  "dependencies": {
43
- "@otto-code/protocol": "0.9.5",
44
- "@otto-code/relay": "0.9.5",
43
+ "@otto-code/protocol": "0.9.6",
44
+ "@otto-code/relay": "0.9.6",
45
45
  "zod": "^4.4.3"
46
46
  },
47
47
  "devDependencies": {