@opencode-ai/client 0.0.0-next-17353 → 0.0.0-next-17364

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.
@@ -1811,6 +1811,41 @@ export declare const make: (options?: {
1811
1811
  readonly metadata?: {
1812
1812
  readonly [x: string]: unknown;
1813
1813
  } | undefined;
1814
+ } | {
1815
+ readonly id: string & import("effect/Brand").Brand<"Event.ID">;
1816
+ readonly data: {
1817
+ readonly projectID: string & import("effect/Brand").Brand<"Project.ID">;
1818
+ };
1819
+ readonly type: "project.directories.updated";
1820
+ readonly created: import("effect/DateTime").Utc;
1821
+ readonly location?: {
1822
+ readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
1823
+ readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
1824
+ } | undefined;
1825
+ readonly metadata?: {
1826
+ readonly [x: string]: unknown;
1827
+ } | undefined;
1828
+ } | {
1829
+ readonly id: string & import("effect/Brand").Brand<"Event.ID">;
1830
+ readonly data: {
1831
+ readonly projectID: string & import("effect/Brand").Brand<"Project.ID">;
1832
+ readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
1833
+ readonly previous: string & import("effect/Brand").Brand<"Project.ID">;
1834
+ };
1835
+ readonly durable: {
1836
+ readonly aggregateID: string;
1837
+ readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
1838
+ readonly version: number & import("effect/Brand").Brand<"Event.Version">;
1839
+ };
1840
+ readonly type: "project.directory.resolved";
1841
+ readonly created: import("effect/DateTime").Utc;
1842
+ readonly location?: {
1843
+ readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
1844
+ readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
1845
+ } | undefined;
1846
+ readonly metadata?: {
1847
+ readonly [x: string]: unknown;
1848
+ } | undefined;
1814
1849
  } | {
1815
1850
  readonly id: string & import("effect/Brand").Brand<"Event.ID">;
1816
1851
  readonly data: {
@@ -1905,20 +1940,6 @@ export declare const make: (options?: {
1905
1940
  readonly metadata?: {
1906
1941
  readonly [x: string]: unknown;
1907
1942
  } | undefined;
1908
- } | {
1909
- readonly id: string & import("effect/Brand").Brand<"Event.ID">;
1910
- readonly data: {
1911
- readonly projectID: string & import("effect/Brand").Brand<"Project.ID">;
1912
- };
1913
- readonly type: "project.directories.updated";
1914
- readonly created: import("effect/DateTime").Utc;
1915
- readonly location?: {
1916
- readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
1917
- readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
1918
- } | undefined;
1919
- readonly metadata?: {
1920
- readonly [x: string]: unknown;
1921
- } | undefined;
1922
1943
  } | {
1923
1944
  readonly id: string & import("effect/Brand").Brand<"Event.ID">;
1924
1945
  readonly data: {
@@ -1326,6 +1326,25 @@ export type ProjectDirectoriesUpdated = {
1326
1326
  projectID: string;
1327
1327
  };
1328
1328
  };
1329
+ export type ProjectDirectoryResolved = {
1330
+ id: string;
1331
+ created: number;
1332
+ metadata?: {
1333
+ [x: string]: any;
1334
+ };
1335
+ type: "project.directory.resolved";
1336
+ durable: {
1337
+ aggregateID: string;
1338
+ seq: number;
1339
+ version: 1;
1340
+ };
1341
+ location?: LocationRef;
1342
+ data: {
1343
+ projectID: string;
1344
+ directory: string;
1345
+ previous: string;
1346
+ };
1347
+ };
1329
1348
  export type CommandUpdated = {
1330
1349
  id: string;
1331
1350
  created: number;
@@ -2837,7 +2856,7 @@ export type IntegrationInfo = {
2837
2856
  methods: Array<IntegrationMethod>;
2838
2857
  connections: Array<ConnectionInfo>;
2839
2858
  };
2840
- export type V2Event = ModelsDevRefreshed | IntegrationUpdated | IntegrationConnectionUpdated | CatalogUpdated | AgentUpdated | SessionCreated | SessionAgentSelected | SessionModelSelected | SessionMoved | SessionRenamed | SessionUsageUpdated | SessionDeleted | SessionForked | SessionInboxDelivered | SessionInboxEnqueued | SessionInboxCancelled | SessionInboxDeliveryChanged | SessionExecutionStarted | SessionExecutionSucceeded | SessionExecutionFailed | SessionExecutionInterrupted | SessionInstructionsUpdated | SessionSynthetic | SessionSkillActivated | SessionShellStarted | SessionShellEnded | SessionStepStarted | SessionStepEnded | SessionStepFailed | SessionTextStarted | SessionTextDelta | SessionTextEnded | SessionReasoningStarted | SessionReasoningDelta | SessionReasoningEnded | SessionToolInputStarted | SessionToolInputDelta | SessionToolInputEnded | SessionToolCalled | SessionToolProgress | SessionToolSuccess | SessionToolFailed | SessionRetryScheduled | SessionCompactionStarted | SessionCompactionDelta | SessionCompactionEnded | SessionCompactionFailed | SessionRevertStaged | SessionRevertCleared | SessionRevertCommitted | FilesystemChanged | ReferenceUpdated | PermissionAsked | PermissionReplied | PluginAdded | PluginUpdated | ProjectDirectoriesUpdated | CommandUpdated | ConfigUpdated | SkillUpdated | PtyCreated | PtyUpdated | PtyExited | PtyDeleted | ShellCreated | ShellExited | ShellDeleted | QuestionAsked | QuestionReplied | QuestionRejected | FormCreated | FormReplied | FormCancelled | WebsearchUpdated | SessionStatus2 | SessionIdle | TuiPromptAppend | TuiCommandExecute | TuiToastShow | TuiSessionSelect | InstallationUpdated | InstallationUpdateAvailable | VcsBranchUpdated | McpStatusChanged | McpResourcesChanged | V2EventServerConnected;
2859
+ export type V2Event = ModelsDevRefreshed | IntegrationUpdated | IntegrationConnectionUpdated | CatalogUpdated | AgentUpdated | SessionCreated | SessionAgentSelected | SessionModelSelected | SessionMoved | SessionRenamed | SessionUsageUpdated | SessionDeleted | SessionForked | SessionInboxDelivered | SessionInboxEnqueued | SessionInboxCancelled | SessionInboxDeliveryChanged | SessionExecutionStarted | SessionExecutionSucceeded | SessionExecutionFailed | SessionExecutionInterrupted | SessionInstructionsUpdated | SessionSynthetic | SessionSkillActivated | SessionShellStarted | SessionShellEnded | SessionStepStarted | SessionStepEnded | SessionStepFailed | SessionTextStarted | SessionTextDelta | SessionTextEnded | SessionReasoningStarted | SessionReasoningDelta | SessionReasoningEnded | SessionToolInputStarted | SessionToolInputDelta | SessionToolInputEnded | SessionToolCalled | SessionToolProgress | SessionToolSuccess | SessionToolFailed | SessionRetryScheduled | SessionCompactionStarted | SessionCompactionDelta | SessionCompactionEnded | SessionCompactionFailed | SessionRevertStaged | SessionRevertCleared | SessionRevertCommitted | FilesystemChanged | ReferenceUpdated | PermissionAsked | PermissionReplied | PluginAdded | PluginUpdated | ProjectDirectoriesUpdated | ProjectDirectoryResolved | CommandUpdated | ConfigUpdated | SkillUpdated | PtyCreated | PtyUpdated | PtyExited | PtyDeleted | ShellCreated | ShellExited | ShellDeleted | QuestionAsked | QuestionReplied | QuestionRejected | FormCreated | FormReplied | FormCancelled | WebsearchUpdated | SessionStatus2 | SessionIdle | TuiPromptAppend | TuiCommandExecute | TuiToastShow | TuiSessionSelect | InstallationUpdated | InstallationUpdateAvailable | VcsBranchUpdated | McpStatusChanged | McpResourcesChanged | V2EventServerConnected;
2841
2860
  export type UnauthorizedError = {
2842
2861
  readonly _tag: "UnauthorizedError";
2843
2862
  readonly message: 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-next-17353",
4
+ "version": "0.0.0-next-17364",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "repository": {
@@ -53,8 +53,8 @@
53
53
  "typecheck": "tsgo --noEmit"
54
54
  },
55
55
  "dependencies": {
56
- "@opencode-ai/schema": "0.0.0-next-17353",
57
- "@opencode-ai/protocol": "0.0.0-next-17353"
56
+ "@opencode-ai/schema": "0.0.0-next-17364",
57
+ "@opencode-ai/protocol": "0.0.0-next-17364"
58
58
  },
59
59
  "peerDependencies": {
60
60
  "effect": "4.0.0-beta.101"
@@ -66,7 +66,7 @@
66
66
  },
67
67
  "devDependencies": {
68
68
  "@effect/platform-node": "4.0.0-beta.101",
69
- "@opencode-ai/httpapi-codegen": "0.0.0-next-17353",
69
+ "@opencode-ai/httpapi-codegen": "0.0.0-next-17364",
70
70
  "@tsconfig/bun": "1.0.9",
71
71
  "@types/bun": "1.3.13",
72
72
  "@typescript/native-preview": "7.0.0-dev.20251207.1",