chore: generate
This commit is contained in:
parent
604a5f781f
commit
cb587b677b
3 changed files with 457 additions and 457 deletions
|
|
@ -225,9 +225,9 @@ describe("FileSystem", () => {
|
||||||
it.live("rejects aliases when project references are disabled", () =>
|
it.live("rejects aliases when project references are disabled", () =>
|
||||||
withTmp((directory) =>
|
withTmp((directory) =>
|
||||||
Effect.gen(function* () {
|
Effect.gen(function* () {
|
||||||
expect(
|
expect(Exit.isFailure(yield* (yield* FileSystem.Service).list({ reference: "docs" }).pipe(Effect.exit))).toBe(
|
||||||
Exit.isFailure(yield* (yield* FileSystem.Service).list({ reference: "docs" }).pipe(Effect.exit)),
|
true,
|
||||||
).toBe(true)
|
)
|
||||||
}).pipe(provide(directory)),
|
}).pipe(provide(directory)),
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -46,15 +46,16 @@ export type Event =
|
||||||
| EventSessionError
|
| EventSessionError
|
||||||
| EventInstallationUpdated
|
| EventInstallationUpdated
|
||||||
| EventInstallationUpdateAvailable
|
| EventInstallationUpdateAvailable
|
||||||
| EventFileEdited
|
|
||||||
| EventLspUpdated
|
|
||||||
| EventPermissionAsked
|
|
||||||
| EventPermissionReplied
|
|
||||||
| EventPermissionV2Asked
|
| EventPermissionV2Asked
|
||||||
| EventPermissionV2Replied
|
| EventPermissionV2Replied
|
||||||
|
| EventFileEdited
|
||||||
| EventAccountAdded
|
| EventAccountAdded
|
||||||
| EventAccountRemoved
|
| EventAccountRemoved
|
||||||
| EventAccountSwitched
|
| EventAccountSwitched
|
||||||
|
| EventFileWatcherUpdated
|
||||||
|
| EventLspUpdated
|
||||||
|
| EventPermissionAsked
|
||||||
|
| EventPermissionReplied
|
||||||
| EventTuiPromptAppend2
|
| EventTuiPromptAppend2
|
||||||
| EventTuiCommandExecute2
|
| EventTuiCommandExecute2
|
||||||
| EventTuiToastShow2
|
| EventTuiToastShow2
|
||||||
|
|
@ -62,7 +63,6 @@ export type Event =
|
||||||
| EventMcpToolsChanged
|
| EventMcpToolsChanged
|
||||||
| EventMcpBrowserOpenFailed
|
| EventMcpBrowserOpenFailed
|
||||||
| EventCommandExecuted
|
| EventCommandExecuted
|
||||||
| EventFileWatcherUpdated
|
|
||||||
| EventProjectUpdated
|
| EventProjectUpdated
|
||||||
| EventPtyCreated
|
| EventPtyCreated
|
||||||
| EventPtyUpdated
|
| EventPtyUpdated
|
||||||
|
|
@ -1128,6 +1128,30 @@ export type GlobalEvent = {
|
||||||
version: string
|
version: string
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
| {
|
||||||
|
id: string
|
||||||
|
type: "permission.v2.asked"
|
||||||
|
properties: {
|
||||||
|
id: string
|
||||||
|
sessionID: string
|
||||||
|
action: string
|
||||||
|
resources: Array<string>
|
||||||
|
save?: Array<string>
|
||||||
|
metadata?: {
|
||||||
|
[key: string]: unknown
|
||||||
|
}
|
||||||
|
source?: PermissionV2Source
|
||||||
|
}
|
||||||
|
}
|
||||||
|
| {
|
||||||
|
id: string
|
||||||
|
type: "permission.v2.replied"
|
||||||
|
properties: {
|
||||||
|
sessionID: string
|
||||||
|
requestID: string
|
||||||
|
reply: PermissionV2Reply
|
||||||
|
}
|
||||||
|
}
|
||||||
| {
|
| {
|
||||||
id: string
|
id: string
|
||||||
type: "file.edited"
|
type: "file.edited"
|
||||||
|
|
@ -1135,6 +1159,37 @@ export type GlobalEvent = {
|
||||||
file: string
|
file: string
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
| {
|
||||||
|
id: string
|
||||||
|
type: "account.added"
|
||||||
|
properties: {
|
||||||
|
account: AuthInfo
|
||||||
|
}
|
||||||
|
}
|
||||||
|
| {
|
||||||
|
id: string
|
||||||
|
type: "account.removed"
|
||||||
|
properties: {
|
||||||
|
account: AuthInfo
|
||||||
|
}
|
||||||
|
}
|
||||||
|
| {
|
||||||
|
id: string
|
||||||
|
type: "account.switched"
|
||||||
|
properties: {
|
||||||
|
serviceID: string
|
||||||
|
from?: string
|
||||||
|
to?: string
|
||||||
|
}
|
||||||
|
}
|
||||||
|
| {
|
||||||
|
id: string
|
||||||
|
type: "file.watcher.updated"
|
||||||
|
properties: {
|
||||||
|
file: string
|
||||||
|
event: "add" | "change" | "unlink"
|
||||||
|
}
|
||||||
|
}
|
||||||
| {
|
| {
|
||||||
id: string
|
id: string
|
||||||
type: "lsp.updated"
|
type: "lsp.updated"
|
||||||
|
|
@ -1169,53 +1224,6 @@ export type GlobalEvent = {
|
||||||
reply: "once" | "always" | "reject"
|
reply: "once" | "always" | "reject"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
| {
|
|
||||||
id: string
|
|
||||||
type: "permission.v2.asked"
|
|
||||||
properties: {
|
|
||||||
id: string
|
|
||||||
sessionID: string
|
|
||||||
action: string
|
|
||||||
resources: Array<string>
|
|
||||||
save?: Array<string>
|
|
||||||
metadata?: {
|
|
||||||
[key: string]: unknown
|
|
||||||
}
|
|
||||||
source?: PermissionV2Source
|
|
||||||
}
|
|
||||||
}
|
|
||||||
| {
|
|
||||||
id: string
|
|
||||||
type: "permission.v2.replied"
|
|
||||||
properties: {
|
|
||||||
sessionID: string
|
|
||||||
requestID: string
|
|
||||||
reply: PermissionV2Reply
|
|
||||||
}
|
|
||||||
}
|
|
||||||
| {
|
|
||||||
id: string
|
|
||||||
type: "account.added"
|
|
||||||
properties: {
|
|
||||||
account: AuthInfo
|
|
||||||
}
|
|
||||||
}
|
|
||||||
| {
|
|
||||||
id: string
|
|
||||||
type: "account.removed"
|
|
||||||
properties: {
|
|
||||||
account: AuthInfo
|
|
||||||
}
|
|
||||||
}
|
|
||||||
| {
|
|
||||||
id: string
|
|
||||||
type: "account.switched"
|
|
||||||
properties: {
|
|
||||||
serviceID: string
|
|
||||||
from?: string
|
|
||||||
to?: string
|
|
||||||
}
|
|
||||||
}
|
|
||||||
| {
|
| {
|
||||||
id: string
|
id: string
|
||||||
type: "tui.prompt.append"
|
type: "tui.prompt.append"
|
||||||
|
|
@ -1292,14 +1300,6 @@ export type GlobalEvent = {
|
||||||
messageID: string
|
messageID: string
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
| {
|
|
||||||
id: string
|
|
||||||
type: "file.watcher.updated"
|
|
||||||
properties: {
|
|
||||||
file: string
|
|
||||||
event: "add" | "change" | "unlink"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
| {
|
| {
|
||||||
id: string
|
id: string
|
||||||
type: "project.updated"
|
type: "project.updated"
|
||||||
|
|
@ -4272,6 +4272,32 @@ export type EventInstallationUpdateAvailable = {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export type EventPermissionV2Asked = {
|
||||||
|
id: string
|
||||||
|
type: "permission.v2.asked"
|
||||||
|
properties: {
|
||||||
|
id: string
|
||||||
|
sessionID: string
|
||||||
|
action: string
|
||||||
|
resources: Array<string>
|
||||||
|
save?: Array<string>
|
||||||
|
metadata?: {
|
||||||
|
[key: string]: unknown
|
||||||
|
}
|
||||||
|
source?: PermissionV2Source
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
export type EventPermissionV2Replied = {
|
||||||
|
id: string
|
||||||
|
type: "permission.v2.replied"
|
||||||
|
properties: {
|
||||||
|
sessionID: string
|
||||||
|
requestID: string
|
||||||
|
reply: PermissionV2Reply
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
export type EventFileEdited = {
|
export type EventFileEdited = {
|
||||||
id: string
|
id: string
|
||||||
type: "file.edited"
|
type: "file.edited"
|
||||||
|
|
@ -4280,6 +4306,41 @@ export type EventFileEdited = {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export type EventAccountAdded = {
|
||||||
|
id: string
|
||||||
|
type: "account.added"
|
||||||
|
properties: {
|
||||||
|
account: AuthInfo
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
export type EventAccountRemoved = {
|
||||||
|
id: string
|
||||||
|
type: "account.removed"
|
||||||
|
properties: {
|
||||||
|
account: AuthInfo
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
export type EventAccountSwitched = {
|
||||||
|
id: string
|
||||||
|
type: "account.switched"
|
||||||
|
properties: {
|
||||||
|
serviceID: string
|
||||||
|
from?: string
|
||||||
|
to?: string
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
export type EventFileWatcherUpdated = {
|
||||||
|
id: string
|
||||||
|
type: "file.watcher.updated"
|
||||||
|
properties: {
|
||||||
|
file: string
|
||||||
|
event: "add" | "change" | "unlink"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
export type EventLspUpdated = {
|
export type EventLspUpdated = {
|
||||||
id: string
|
id: string
|
||||||
type: "lsp.updated"
|
type: "lsp.updated"
|
||||||
|
|
@ -4317,58 +4378,6 @@ export type EventPermissionReplied = {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
export type EventPermissionV2Asked = {
|
|
||||||
id: string
|
|
||||||
type: "permission.v2.asked"
|
|
||||||
properties: {
|
|
||||||
id: string
|
|
||||||
sessionID: string
|
|
||||||
action: string
|
|
||||||
resources: Array<string>
|
|
||||||
save?: Array<string>
|
|
||||||
metadata?: {
|
|
||||||
[key: string]: unknown
|
|
||||||
}
|
|
||||||
source?: PermissionV2Source
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
export type EventPermissionV2Replied = {
|
|
||||||
id: string
|
|
||||||
type: "permission.v2.replied"
|
|
||||||
properties: {
|
|
||||||
sessionID: string
|
|
||||||
requestID: string
|
|
||||||
reply: PermissionV2Reply
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
export type EventAccountAdded = {
|
|
||||||
id: string
|
|
||||||
type: "account.added"
|
|
||||||
properties: {
|
|
||||||
account: AuthInfo
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
export type EventAccountRemoved = {
|
|
||||||
id: string
|
|
||||||
type: "account.removed"
|
|
||||||
properties: {
|
|
||||||
account: AuthInfo
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
export type EventAccountSwitched = {
|
|
||||||
id: string
|
|
||||||
type: "account.switched"
|
|
||||||
properties: {
|
|
||||||
serviceID: string
|
|
||||||
from?: string
|
|
||||||
to?: string
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
export type EventMcpToolsChanged = {
|
export type EventMcpToolsChanged = {
|
||||||
id: string
|
id: string
|
||||||
type: "mcp.tools.changed"
|
type: "mcp.tools.changed"
|
||||||
|
|
@ -4397,15 +4406,6 @@ export type EventCommandExecuted = {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
export type EventFileWatcherUpdated = {
|
|
||||||
id: string
|
|
||||||
type: "file.watcher.updated"
|
|
||||||
properties: {
|
|
||||||
file: string
|
|
||||||
event: "add" | "change" | "unlink"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
export type EventProjectUpdated = {
|
export type EventProjectUpdated = {
|
||||||
id: string
|
id: string
|
||||||
type: "project.updated"
|
type: "project.updated"
|
||||||
|
|
|
||||||
|
|
@ -11122,24 +11122,15 @@
|
||||||
{
|
{
|
||||||
"$ref": "#/components/schemas/EventInstallationUpdate-available"
|
"$ref": "#/components/schemas/EventInstallationUpdate-available"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"$ref": "#/components/schemas/EventFileEdited"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"$ref": "#/components/schemas/EventLspUpdated"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"$ref": "#/components/schemas/EventPermissionAsked"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"$ref": "#/components/schemas/EventPermissionReplied"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"$ref": "#/components/schemas/EventPermissionV2Asked"
|
"$ref": "#/components/schemas/EventPermissionV2Asked"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"$ref": "#/components/schemas/EventPermissionV2Replied"
|
"$ref": "#/components/schemas/EventPermissionV2Replied"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"$ref": "#/components/schemas/EventFileEdited"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"$ref": "#/components/schemas/EventAccountAdded"
|
"$ref": "#/components/schemas/EventAccountAdded"
|
||||||
},
|
},
|
||||||
|
|
@ -11149,6 +11140,18 @@
|
||||||
{
|
{
|
||||||
"$ref": "#/components/schemas/EventAccountSwitched"
|
"$ref": "#/components/schemas/EventAccountSwitched"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"$ref": "#/components/schemas/EventFileWatcherUpdated"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$ref": "#/components/schemas/EventLspUpdated"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$ref": "#/components/schemas/EventPermissionAsked"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$ref": "#/components/schemas/EventPermissionReplied"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"$ref": "#/components/schemas/Event.tui.prompt.append"
|
"$ref": "#/components/schemas/Event.tui.prompt.append"
|
||||||
},
|
},
|
||||||
|
|
@ -11170,9 +11173,6 @@
|
||||||
{
|
{
|
||||||
"$ref": "#/components/schemas/EventCommandExecuted"
|
"$ref": "#/components/schemas/EventCommandExecuted"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"$ref": "#/components/schemas/EventFileWatcherUpdated"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"$ref": "#/components/schemas/EventProjectUpdated"
|
"$ref": "#/components/schemas/EventProjectUpdated"
|
||||||
},
|
},
|
||||||
|
|
@ -14496,6 +14496,88 @@
|
||||||
"required": ["id", "type", "properties"],
|
"required": ["id", "type", "properties"],
|
||||||
"additionalProperties": false
|
"additionalProperties": false
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"id": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"type": {
|
||||||
|
"type": "string",
|
||||||
|
"enum": ["permission.v2.asked"]
|
||||||
|
},
|
||||||
|
"properties": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"id": {
|
||||||
|
"type": "string",
|
||||||
|
"pattern": "^per"
|
||||||
|
},
|
||||||
|
"sessionID": {
|
||||||
|
"type": "string",
|
||||||
|
"pattern": "^ses"
|
||||||
|
},
|
||||||
|
"action": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"resources": {
|
||||||
|
"type": "array",
|
||||||
|
"items": {
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"save": {
|
||||||
|
"type": "array",
|
||||||
|
"items": {
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"metadata": {
|
||||||
|
"type": "object"
|
||||||
|
},
|
||||||
|
"source": {
|
||||||
|
"$ref": "#/components/schemas/PermissionV2Source"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"required": ["id", "sessionID", "action", "resources"],
|
||||||
|
"additionalProperties": false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"required": ["id", "type", "properties"],
|
||||||
|
"additionalProperties": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"id": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"type": {
|
||||||
|
"type": "string",
|
||||||
|
"enum": ["permission.v2.replied"]
|
||||||
|
},
|
||||||
|
"properties": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"sessionID": {
|
||||||
|
"type": "string",
|
||||||
|
"pattern": "^ses"
|
||||||
|
},
|
||||||
|
"requestID": {
|
||||||
|
"type": "string",
|
||||||
|
"pattern": "^per"
|
||||||
|
},
|
||||||
|
"reply": {
|
||||||
|
"$ref": "#/components/schemas/PermissionV2Reply"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"required": ["sessionID", "requestID", "reply"],
|
||||||
|
"additionalProperties": false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"required": ["id", "type", "properties"],
|
||||||
|
"additionalProperties": false
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
|
@ -14520,6 +14602,112 @@
|
||||||
"required": ["id", "type", "properties"],
|
"required": ["id", "type", "properties"],
|
||||||
"additionalProperties": false
|
"additionalProperties": false
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"id": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"type": {
|
||||||
|
"type": "string",
|
||||||
|
"enum": ["account.added"]
|
||||||
|
},
|
||||||
|
"properties": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"account": {
|
||||||
|
"$ref": "#/components/schemas/AuthInfo"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"required": ["account"],
|
||||||
|
"additionalProperties": false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"required": ["id", "type", "properties"],
|
||||||
|
"additionalProperties": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"id": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"type": {
|
||||||
|
"type": "string",
|
||||||
|
"enum": ["account.removed"]
|
||||||
|
},
|
||||||
|
"properties": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"account": {
|
||||||
|
"$ref": "#/components/schemas/AuthInfo"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"required": ["account"],
|
||||||
|
"additionalProperties": false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"required": ["id", "type", "properties"],
|
||||||
|
"additionalProperties": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"id": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"type": {
|
||||||
|
"type": "string",
|
||||||
|
"enum": ["account.switched"]
|
||||||
|
},
|
||||||
|
"properties": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"serviceID": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"from": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"to": {
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"required": ["serviceID"],
|
||||||
|
"additionalProperties": false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"required": ["id", "type", "properties"],
|
||||||
|
"additionalProperties": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"id": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"type": {
|
||||||
|
"type": "string",
|
||||||
|
"enum": ["file.watcher.updated"]
|
||||||
|
},
|
||||||
|
"properties": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"file": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"event": {
|
||||||
|
"type": "string",
|
||||||
|
"enum": ["add", "change", "unlink"]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"required": ["file", "event"],
|
||||||
|
"additionalProperties": false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"required": ["id", "type", "properties"],
|
||||||
|
"additionalProperties": false
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
|
@ -14631,166 +14819,6 @@
|
||||||
"required": ["id", "type", "properties"],
|
"required": ["id", "type", "properties"],
|
||||||
"additionalProperties": false
|
"additionalProperties": false
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"type": "object",
|
|
||||||
"properties": {
|
|
||||||
"id": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"type": {
|
|
||||||
"type": "string",
|
|
||||||
"enum": ["permission.v2.asked"]
|
|
||||||
},
|
|
||||||
"properties": {
|
|
||||||
"type": "object",
|
|
||||||
"properties": {
|
|
||||||
"id": {
|
|
||||||
"type": "string",
|
|
||||||
"pattern": "^per"
|
|
||||||
},
|
|
||||||
"sessionID": {
|
|
||||||
"type": "string",
|
|
||||||
"pattern": "^ses"
|
|
||||||
},
|
|
||||||
"action": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"resources": {
|
|
||||||
"type": "array",
|
|
||||||
"items": {
|
|
||||||
"type": "string"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"save": {
|
|
||||||
"type": "array",
|
|
||||||
"items": {
|
|
||||||
"type": "string"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"metadata": {
|
|
||||||
"type": "object"
|
|
||||||
},
|
|
||||||
"source": {
|
|
||||||
"$ref": "#/components/schemas/PermissionV2Source"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"required": ["id", "sessionID", "action", "resources"],
|
|
||||||
"additionalProperties": false
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"required": ["id", "type", "properties"],
|
|
||||||
"additionalProperties": false
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "object",
|
|
||||||
"properties": {
|
|
||||||
"id": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"type": {
|
|
||||||
"type": "string",
|
|
||||||
"enum": ["permission.v2.replied"]
|
|
||||||
},
|
|
||||||
"properties": {
|
|
||||||
"type": "object",
|
|
||||||
"properties": {
|
|
||||||
"sessionID": {
|
|
||||||
"type": "string",
|
|
||||||
"pattern": "^ses"
|
|
||||||
},
|
|
||||||
"requestID": {
|
|
||||||
"type": "string",
|
|
||||||
"pattern": "^per"
|
|
||||||
},
|
|
||||||
"reply": {
|
|
||||||
"$ref": "#/components/schemas/PermissionV2Reply"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"required": ["sessionID", "requestID", "reply"],
|
|
||||||
"additionalProperties": false
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"required": ["id", "type", "properties"],
|
|
||||||
"additionalProperties": false
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "object",
|
|
||||||
"properties": {
|
|
||||||
"id": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"type": {
|
|
||||||
"type": "string",
|
|
||||||
"enum": ["account.added"]
|
|
||||||
},
|
|
||||||
"properties": {
|
|
||||||
"type": "object",
|
|
||||||
"properties": {
|
|
||||||
"account": {
|
|
||||||
"$ref": "#/components/schemas/AuthInfo"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"required": ["account"],
|
|
||||||
"additionalProperties": false
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"required": ["id", "type", "properties"],
|
|
||||||
"additionalProperties": false
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "object",
|
|
||||||
"properties": {
|
|
||||||
"id": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"type": {
|
|
||||||
"type": "string",
|
|
||||||
"enum": ["account.removed"]
|
|
||||||
},
|
|
||||||
"properties": {
|
|
||||||
"type": "object",
|
|
||||||
"properties": {
|
|
||||||
"account": {
|
|
||||||
"$ref": "#/components/schemas/AuthInfo"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"required": ["account"],
|
|
||||||
"additionalProperties": false
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"required": ["id", "type", "properties"],
|
|
||||||
"additionalProperties": false
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "object",
|
|
||||||
"properties": {
|
|
||||||
"id": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"type": {
|
|
||||||
"type": "string",
|
|
||||||
"enum": ["account.switched"]
|
|
||||||
},
|
|
||||||
"properties": {
|
|
||||||
"type": "object",
|
|
||||||
"properties": {
|
|
||||||
"serviceID": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"from": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"to": {
|
|
||||||
"type": "string"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"required": ["serviceID"],
|
|
||||||
"additionalProperties": false
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"required": ["id", "type", "properties"],
|
|
||||||
"additionalProperties": false
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
|
@ -15011,34 +15039,6 @@
|
||||||
"required": ["id", "type", "properties"],
|
"required": ["id", "type", "properties"],
|
||||||
"additionalProperties": false
|
"additionalProperties": false
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"type": "object",
|
|
||||||
"properties": {
|
|
||||||
"id": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"type": {
|
|
||||||
"type": "string",
|
|
||||||
"enum": ["file.watcher.updated"]
|
|
||||||
},
|
|
||||||
"properties": {
|
|
||||||
"type": "object",
|
|
||||||
"properties": {
|
|
||||||
"file": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"event": {
|
|
||||||
"type": "string",
|
|
||||||
"enum": ["add", "change", "unlink"]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"required": ["file", "event"],
|
|
||||||
"additionalProperties": false
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"required": ["id", "type", "properties"],
|
|
||||||
"additionalProperties": false
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
|
@ -23890,6 +23890,88 @@
|
||||||
"required": ["id", "type", "properties"],
|
"required": ["id", "type", "properties"],
|
||||||
"additionalProperties": false
|
"additionalProperties": false
|
||||||
},
|
},
|
||||||
|
"EventPermissionV2Asked": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"id": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"type": {
|
||||||
|
"type": "string",
|
||||||
|
"enum": ["permission.v2.asked"]
|
||||||
|
},
|
||||||
|
"properties": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"id": {
|
||||||
|
"type": "string",
|
||||||
|
"pattern": "^per"
|
||||||
|
},
|
||||||
|
"sessionID": {
|
||||||
|
"type": "string",
|
||||||
|
"pattern": "^ses"
|
||||||
|
},
|
||||||
|
"action": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"resources": {
|
||||||
|
"type": "array",
|
||||||
|
"items": {
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"save": {
|
||||||
|
"type": "array",
|
||||||
|
"items": {
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"metadata": {
|
||||||
|
"type": "object"
|
||||||
|
},
|
||||||
|
"source": {
|
||||||
|
"$ref": "#/components/schemas/PermissionV2Source"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"required": ["id", "sessionID", "action", "resources"],
|
||||||
|
"additionalProperties": false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"required": ["id", "type", "properties"],
|
||||||
|
"additionalProperties": false
|
||||||
|
},
|
||||||
|
"EventPermissionV2Replied": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"id": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"type": {
|
||||||
|
"type": "string",
|
||||||
|
"enum": ["permission.v2.replied"]
|
||||||
|
},
|
||||||
|
"properties": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"sessionID": {
|
||||||
|
"type": "string",
|
||||||
|
"pattern": "^ses"
|
||||||
|
},
|
||||||
|
"requestID": {
|
||||||
|
"type": "string",
|
||||||
|
"pattern": "^per"
|
||||||
|
},
|
||||||
|
"reply": {
|
||||||
|
"$ref": "#/components/schemas/PermissionV2Reply"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"required": ["sessionID", "requestID", "reply"],
|
||||||
|
"additionalProperties": false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"required": ["id", "type", "properties"],
|
||||||
|
"additionalProperties": false
|
||||||
|
},
|
||||||
"EventFileEdited": {
|
"EventFileEdited": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
|
@ -23914,6 +23996,112 @@
|
||||||
"required": ["id", "type", "properties"],
|
"required": ["id", "type", "properties"],
|
||||||
"additionalProperties": false
|
"additionalProperties": false
|
||||||
},
|
},
|
||||||
|
"EventAccountAdded": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"id": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"type": {
|
||||||
|
"type": "string",
|
||||||
|
"enum": ["account.added"]
|
||||||
|
},
|
||||||
|
"properties": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"account": {
|
||||||
|
"$ref": "#/components/schemas/AuthInfo"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"required": ["account"],
|
||||||
|
"additionalProperties": false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"required": ["id", "type", "properties"],
|
||||||
|
"additionalProperties": false
|
||||||
|
},
|
||||||
|
"EventAccountRemoved": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"id": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"type": {
|
||||||
|
"type": "string",
|
||||||
|
"enum": ["account.removed"]
|
||||||
|
},
|
||||||
|
"properties": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"account": {
|
||||||
|
"$ref": "#/components/schemas/AuthInfo"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"required": ["account"],
|
||||||
|
"additionalProperties": false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"required": ["id", "type", "properties"],
|
||||||
|
"additionalProperties": false
|
||||||
|
},
|
||||||
|
"EventAccountSwitched": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"id": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"type": {
|
||||||
|
"type": "string",
|
||||||
|
"enum": ["account.switched"]
|
||||||
|
},
|
||||||
|
"properties": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"serviceID": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"from": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"to": {
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"required": ["serviceID"],
|
||||||
|
"additionalProperties": false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"required": ["id", "type", "properties"],
|
||||||
|
"additionalProperties": false
|
||||||
|
},
|
||||||
|
"EventFileWatcherUpdated": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"id": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"type": {
|
||||||
|
"type": "string",
|
||||||
|
"enum": ["file.watcher.updated"]
|
||||||
|
},
|
||||||
|
"properties": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"file": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"event": {
|
||||||
|
"type": "string",
|
||||||
|
"enum": ["add", "change", "unlink"]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"required": ["file", "event"],
|
||||||
|
"additionalProperties": false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"required": ["id", "type", "properties"],
|
||||||
|
"additionalProperties": false
|
||||||
|
},
|
||||||
"EventLspUpdated": {
|
"EventLspUpdated": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
|
@ -24025,166 +24213,6 @@
|
||||||
"required": ["id", "type", "properties"],
|
"required": ["id", "type", "properties"],
|
||||||
"additionalProperties": false
|
"additionalProperties": false
|
||||||
},
|
},
|
||||||
"EventPermissionV2Asked": {
|
|
||||||
"type": "object",
|
|
||||||
"properties": {
|
|
||||||
"id": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"type": {
|
|
||||||
"type": "string",
|
|
||||||
"enum": ["permission.v2.asked"]
|
|
||||||
},
|
|
||||||
"properties": {
|
|
||||||
"type": "object",
|
|
||||||
"properties": {
|
|
||||||
"id": {
|
|
||||||
"type": "string",
|
|
||||||
"pattern": "^per"
|
|
||||||
},
|
|
||||||
"sessionID": {
|
|
||||||
"type": "string",
|
|
||||||
"pattern": "^ses"
|
|
||||||
},
|
|
||||||
"action": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"resources": {
|
|
||||||
"type": "array",
|
|
||||||
"items": {
|
|
||||||
"type": "string"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"save": {
|
|
||||||
"type": "array",
|
|
||||||
"items": {
|
|
||||||
"type": "string"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"metadata": {
|
|
||||||
"type": "object"
|
|
||||||
},
|
|
||||||
"source": {
|
|
||||||
"$ref": "#/components/schemas/PermissionV2Source"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"required": ["id", "sessionID", "action", "resources"],
|
|
||||||
"additionalProperties": false
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"required": ["id", "type", "properties"],
|
|
||||||
"additionalProperties": false
|
|
||||||
},
|
|
||||||
"EventPermissionV2Replied": {
|
|
||||||
"type": "object",
|
|
||||||
"properties": {
|
|
||||||
"id": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"type": {
|
|
||||||
"type": "string",
|
|
||||||
"enum": ["permission.v2.replied"]
|
|
||||||
},
|
|
||||||
"properties": {
|
|
||||||
"type": "object",
|
|
||||||
"properties": {
|
|
||||||
"sessionID": {
|
|
||||||
"type": "string",
|
|
||||||
"pattern": "^ses"
|
|
||||||
},
|
|
||||||
"requestID": {
|
|
||||||
"type": "string",
|
|
||||||
"pattern": "^per"
|
|
||||||
},
|
|
||||||
"reply": {
|
|
||||||
"$ref": "#/components/schemas/PermissionV2Reply"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"required": ["sessionID", "requestID", "reply"],
|
|
||||||
"additionalProperties": false
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"required": ["id", "type", "properties"],
|
|
||||||
"additionalProperties": false
|
|
||||||
},
|
|
||||||
"EventAccountAdded": {
|
|
||||||
"type": "object",
|
|
||||||
"properties": {
|
|
||||||
"id": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"type": {
|
|
||||||
"type": "string",
|
|
||||||
"enum": ["account.added"]
|
|
||||||
},
|
|
||||||
"properties": {
|
|
||||||
"type": "object",
|
|
||||||
"properties": {
|
|
||||||
"account": {
|
|
||||||
"$ref": "#/components/schemas/AuthInfo"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"required": ["account"],
|
|
||||||
"additionalProperties": false
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"required": ["id", "type", "properties"],
|
|
||||||
"additionalProperties": false
|
|
||||||
},
|
|
||||||
"EventAccountRemoved": {
|
|
||||||
"type": "object",
|
|
||||||
"properties": {
|
|
||||||
"id": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"type": {
|
|
||||||
"type": "string",
|
|
||||||
"enum": ["account.removed"]
|
|
||||||
},
|
|
||||||
"properties": {
|
|
||||||
"type": "object",
|
|
||||||
"properties": {
|
|
||||||
"account": {
|
|
||||||
"$ref": "#/components/schemas/AuthInfo"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"required": ["account"],
|
|
||||||
"additionalProperties": false
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"required": ["id", "type", "properties"],
|
|
||||||
"additionalProperties": false
|
|
||||||
},
|
|
||||||
"EventAccountSwitched": {
|
|
||||||
"type": "object",
|
|
||||||
"properties": {
|
|
||||||
"id": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"type": {
|
|
||||||
"type": "string",
|
|
||||||
"enum": ["account.switched"]
|
|
||||||
},
|
|
||||||
"properties": {
|
|
||||||
"type": "object",
|
|
||||||
"properties": {
|
|
||||||
"serviceID": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"from": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"to": {
|
|
||||||
"type": "string"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"required": ["serviceID"],
|
|
||||||
"additionalProperties": false
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"required": ["id", "type", "properties"],
|
|
||||||
"additionalProperties": false
|
|
||||||
},
|
|
||||||
"EventMcpToolsChanged": {
|
"EventMcpToolsChanged": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
|
@ -24271,34 +24299,6 @@
|
||||||
"required": ["id", "type", "properties"],
|
"required": ["id", "type", "properties"],
|
||||||
"additionalProperties": false
|
"additionalProperties": false
|
||||||
},
|
},
|
||||||
"EventFileWatcherUpdated": {
|
|
||||||
"type": "object",
|
|
||||||
"properties": {
|
|
||||||
"id": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"type": {
|
|
||||||
"type": "string",
|
|
||||||
"enum": ["file.watcher.updated"]
|
|
||||||
},
|
|
||||||
"properties": {
|
|
||||||
"type": "object",
|
|
||||||
"properties": {
|
|
||||||
"file": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"event": {
|
|
||||||
"type": "string",
|
|
||||||
"enum": ["add", "change", "unlink"]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"required": ["file", "event"],
|
|
||||||
"additionalProperties": false
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"required": ["id", "type", "properties"],
|
|
||||||
"additionalProperties": false
|
|
||||||
},
|
|
||||||
"EventProjectUpdated": {
|
"EventProjectUpdated": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue