@opencode/client 0.0.0-dev-19657 → 0.0.0-dev-19659
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.
package/dist/effect/api/api.d.ts
CHANGED
|
@@ -553,7 +553,7 @@ export type SessionLogOutput = ({
|
|
|
553
553
|
readonly metadata?: {
|
|
554
554
|
readonly [x: string]: unknown;
|
|
555
555
|
} | undefined;
|
|
556
|
-
readonly type: "session.permissions
|
|
556
|
+
readonly type: "session.permissions";
|
|
557
557
|
readonly durable: {
|
|
558
558
|
readonly aggregateID: string;
|
|
559
559
|
readonly seq: Event.Seq;
|
package/dist/effect/client.d.ts
CHANGED
|
@@ -614,7 +614,7 @@ export declare const make: (options?: {
|
|
|
614
614
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
615
615
|
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
616
616
|
};
|
|
617
|
-
readonly type: "session.permissions
|
|
617
|
+
readonly type: "session.permissions";
|
|
618
618
|
readonly created: number;
|
|
619
619
|
readonly location?: {
|
|
620
620
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
@@ -768,7 +768,7 @@ export declare const make: (options?: {
|
|
|
768
768
|
readonly seq: number & import("effect/Brand").Brand<"Event.Seq">;
|
|
769
769
|
readonly version: number & import("effect/Brand").Brand<"Event.Version">;
|
|
770
770
|
};
|
|
771
|
-
readonly type: "session.permissions
|
|
771
|
+
readonly type: "session.permissions";
|
|
772
772
|
readonly created: number;
|
|
773
773
|
readonly location?: {
|
|
774
774
|
readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
|
|
@@ -2698,13 +2698,13 @@ export type AgentInfo = {
|
|
|
2698
2698
|
steps?: number;
|
|
2699
2699
|
permissions: PermissionRuleset;
|
|
2700
2700
|
};
|
|
2701
|
-
export type
|
|
2701
|
+
export type SessionPermissions = {
|
|
2702
2702
|
id: string;
|
|
2703
2703
|
created: number;
|
|
2704
2704
|
metadata?: {
|
|
2705
2705
|
[x: string]: any;
|
|
2706
2706
|
};
|
|
2707
|
-
type: "session.permissions
|
|
2707
|
+
type: "session.permissions";
|
|
2708
2708
|
durable: {
|
|
2709
2709
|
aggregateID: string;
|
|
2710
2710
|
seq: number;
|
|
@@ -3238,7 +3238,7 @@ export type SessionMessagesResponse = {
|
|
|
3238
3238
|
next?: string | null;
|
|
3239
3239
|
};
|
|
3240
3240
|
};
|
|
3241
|
-
export type SessionEventDurable = SessionCreated | SessionAgentSelected | SessionModelSelected | SessionMoved | SessionRenamed |
|
|
3241
|
+
export type SessionEventDurable = SessionCreated | SessionAgentSelected | SessionModelSelected | SessionMoved | SessionRenamed | SessionPermissions | SessionViewed | SessionDeleted | SessionForked | SessionInboxDelivered | SessionInboxEnqueued | SessionInboxCancelled | SessionInboxDeliveryChanged | SessionExecutionStarted | SessionExecutionSucceeded | SessionExecutionFailed | SessionExecutionInterrupted | SessionInstructionsUpdated | SessionSynthetic | SessionSkillActivated | SessionShellStarted | SessionShellEnded | SessionStepStarted | SessionStepStreamed | SessionStepEnded | SessionStepFailed | SessionTextStarted | SessionTextEnded | SessionReasoningStarted | SessionReasoningEnded | SessionToolInputStarted | SessionToolInputEnded | SessionToolCalled | SessionToolSuccess | SessionToolFailed | SessionRetryScheduled | SessionCompactionStarted | SessionCompactionEnded | SessionCompactionFailed | SessionRevertStaged | SessionRevertCleared | SessionRevertCommitted | SessionUsageRecorded | SessionMessageContentUpdated;
|
|
3242
3242
|
export type IntegrationInfo = {
|
|
3243
3243
|
id: string;
|
|
3244
3244
|
name: string;
|
|
@@ -3248,7 +3248,7 @@ export type IntegrationInfo = {
|
|
|
3248
3248
|
methods: Array<IntegrationMethod>;
|
|
3249
3249
|
connections: Array<ConnectionInfo>;
|
|
3250
3250
|
};
|
|
3251
|
-
export type V2Event = ModelsDevRefreshed | CredentialUpdated | CredentialSwitched | IntegrationUpdated | ProviderUpdated | ModelUpdated | AgentUpdated | SessionCreated | SessionAgentSelected | SessionModelSelected | SessionMoved | SessionRenamed |
|
|
3251
|
+
export type V2Event = ModelsDevRefreshed | CredentialUpdated | CredentialSwitched | IntegrationUpdated | ProviderUpdated | ModelUpdated | AgentUpdated | SessionCreated | SessionAgentSelected | SessionModelSelected | SessionMoved | SessionRenamed | SessionPermissions | SessionViewed | SessionUsageUpdated | SessionDeleted | SessionForked | SessionInboxDelivered | SessionInboxEnqueued | SessionInboxCancelled | SessionInboxDeliveryChanged | SessionExecutionStarted | SessionExecutionSucceeded | SessionExecutionFailed | SessionExecutionInterrupted | SessionInstructionsUpdated | SessionSynthetic | SessionSkillActivated | SessionShellStarted | SessionShellEnded | SessionStepStarted | SessionStepStreamed | 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 | PluginUpdated | ProjectUpdated | WorktreeUpdated | WorktreeResolved | CommandUpdated | ConfigUpdated | SkillUpdated | PtyCreated | PtyUpdated | PtyExited | PtyDeleted | PersistentPtyAdded | PersistentPtyRemoved | ShellCreated | ShellExited | ShellDeleted | FormCreated | FormReplied | FormCancelled | WebsearchUpdated | SessionStatusUpdated | SessionIdle | TuiPromptAppend | TuiCommandExecute | TuiToastShow | TuiSessionSelect | InstallationUpdated | InstallationUpdateAvailable | VcsBranchUpdated | McpStatusChanged | McpResourcesChanged | V2EventRpc | V2EventServerConnected;
|
|
3252
3252
|
export type SessionLogItem = SessionEventDurable | EventLogSynced;
|
|
3253
3253
|
export type InvalidRequestError = {
|
|
3254
3254
|
readonly _tag: "InvalidRequestError";
|
package/dist/solid/data.js
CHANGED
|
@@ -552,7 +552,7 @@ export function createData(config) {
|
|
|
552
552
|
});
|
|
553
553
|
return;
|
|
554
554
|
}
|
|
555
|
-
case "session.permissions
|
|
555
|
+
case "session.permissions":
|
|
556
556
|
if (store.session.info[event.data.sessionID])
|
|
557
557
|
setStore("session", "info", event.data.sessionID, "permissions", event.data.permissions);
|
|
558
558
|
return;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/package.json",
|
|
3
3
|
"name": "@opencode/client",
|
|
4
|
-
"version": "0.0.0-dev-
|
|
4
|
+
"version": "0.0.0-dev-19659",
|
|
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/schema": "0.0.0-dev-
|
|
61
|
-
"@opencode/protocol": "0.0.0-dev-
|
|
60
|
+
"@opencode/schema": "0.0.0-dev-19659",
|
|
61
|
+
"@opencode/protocol": "0.0.0-dev-19659"
|
|
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/httpapi-codegen": "0.0.0-dev-
|
|
77
|
+
"@opencode/httpapi-codegen": "0.0.0-dev-19659",
|
|
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",
|