ide на основе vs code
Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import type * as nbformat from '@jupyterlab/nbformat';
import { NotebookCell, NotebookCellData, NotebookCellKind, NotebookCellOutput } from 'vscode';
import { CellOutputMetadata, useCustomPropertyInMetadata, type CellMetadata } from './common';
import { textMimeTypes } from './deserializers';
const textDecoder = new TextDecoder();
enum CellOutputMimeTypes {
error = 'application/vnd.code.notebook.error',
stderr = 'application/vnd.code.notebook.stderr'
stdout
vscCell NotebookCellData
preferredLanguage
nbformatIRawCell nbformatIMarkdownCell nbformatICodeCell
cell nbformatIRawCell nbformatIMarkdownCell nbformatICodeCell
vscCellkind NotebookCellKindMarkup
cell vscCell
vscCelllanguageId
cell vscCell
cell vscCell preferredLanguage
cell
obj
obj
objsortObjectPropertiesRecursively
obj obj obj Objectobjlength
Objectobj
sortedObj prop
sortedObjprop objprop
sortedObj
obj
options cell NotebookCell NotebookCellData metadata key CellMetadata
options
cell optionscell
metadata CellMetadata
cellmetadatacustom
attachments cellmetadatacustomattachments cellmetadataattachments
attachments
metadataattachments attachments
metadata
metadata
cellmetadata
metadata
cell options
metadata CellMetadata
cellmetadatacustom
attachments cellmetadatacustomattachments cellmetadataattachments
attachments
metadataattachments attachments
metadata
metadata
cellmetadata
metadata
metadata CellMetadata
metadatametadatavscodelanguageId
metadata CellMetadata languageId
metadatametadata metadatametadata
metadatametadatavscode languageId
metadata CellMetadata
metadatametadatavscode
metadatametadatavscode
cell NotebookCellData preferredLanguage nbformatICodeCell
cellMetadata CellMetadata cell
cellMetadatametadata cellMetadatametadata
celllanguageId preferredLanguage
cellMetadata celllanguageId
cellMetadata
codeCell
cell_type
execution_count cellMetadataexecution_count cellexecutionSummaryexecutionOrder
source cellvalue
outputs celloutputs translateCellDisplayOutput
metadata cellMetadatametadata
cellMetadataid
codeCellid cellMetadataid
codeCell
cell NotebookCellData nbformatIRawCell
cellMetadata cell
rawCell
cell_type
source cellvalue
metadata cellMetadatametadata
cellMetadataattachments
rawCellattachments cellMetadataattachments
cellMetadataid
rawCellid cellMetadataid
rawCell
source nbformatMultilineString
source
source
str source
strlength
arr str
arr
s i
i arrlength
s
s slength
output NotebookCellOutput JupyterOutput
customMetadata outputmetadata CellOutputMetadata
result JupyterOutput
outputType customMetadataoutputType nbformatOutputType
outputType
result output
result output
result
output_type
data outputitemsprev curr
prevcurrmime currmime currdata Uint8Array
prev
metadata customMetadatametadata
result
output_type
data outputitemsprev curr
prevcurrmime currmime currdata Uint8Array
prev
metadata customMetadatametadata
execution_count
customMetadataexecutionCount customMetadataexecutionCount
result
output_type
data outputitemsprev curr
prevcurrmime currmime currdata Uint8Array
prev
metadata customMetadatametadata
isError
outputitemslength outputitemsitem itemmime CellOutputMimeTypeserror
isStream outputitems
item itemmime CellOutputMimeTypesstderr itemmime CellOutputMimeTypesstdout
isError
output
outputType nbformatOutputType
nbformatOutputTypecustomMetadataoutputType isStream
unknownOutput nbformatIUnrecognizedOutput nbformatIDisplayData nbformatIStream
outputType
unknownOutput output
outputType
displayData nbformatIDisplayData
data
metadata
output_type
unknownOutput displayData
unknownOutput
output_type outputType
customMetadatametadata
unknownOutputmetadata customMetadatametadata
outputitemslength
unknownOutputdata outputitemsprev curr
prevcurrmime currmime currdata Uint8Array
prev
result unknownOutput
result customMetadata customMetadatatransient
resulttransient customMetadatatransient
result
output NotebookCellOutput nbformatIError
firstItem outputitems
firstItemdata
output_type
ename
evalue
traceback
originalError nbformatIError outputmetadataoriginalError
value Error textDecoderfirstItemdata
output_type
ename valuename
evalue valuemessage
traceback originalErrortraceback valuestack valuemessage
output NotebookCellOutput
outputitemslength
outputitemsmime CellOutputMimeTypesstderr
nbformatIUnrecognizedOutput
nbformatIExecuteResult
nbformatIDisplayData
nbformatIStream
nbformatIError
output NotebookCellOutput JupyterOutput
outputs
outputitems
opit opitmime CellOutputMimeTypesstderr opitmime CellOutputMimeTypesstdout
opit textDecoderopitdata
value
lines value
outputslength lineslength lineslength
outputsoutputslength
line lines
outputsline
index index outputslength index
outputsindex
outputslength outputsoutputslength length
outputs
streamType output
output_type
name streamType
text outputs
mime value Uint8Array
value
mime CellOutputMimeTypeserror
stringValue textDecodervalue
stringValue
mime textMimeTypesmime
stringValue textDecodervalue
stringValue
mime mime
Buffer Bufferfrom
Buffervalue
values b s Stringb
mime
stringValue textDecodervalue
stringValuelength stringValue stringValue
mime
textDecodervalue
textDecodervalue
ex
cell NotebookCellData nbformatIMarkdownCell
cellMetadata cell
markdownCell
cell_type
source cellvalue
metadata cellMetadatametadata
cellMetadataattachments
markdownCellattachments cellMetadataattachments
cellMetadataid
markdownCellid cellMetadataid
markdownCell
cell nbformatICell nbformatICell
result
cell
source cellsource
nbformatICell
resultcell_type
resultoutputs
resultexecution_count
resultoutputs resultoutputs resultoutputs nbformatIOutputfixupOutput
result
dummyStreamObj nbformatIStream
output_type
name
text
dummyErrorObj nbformatIError
output_type
ename
evalue
traceback
dummyDisplayObj nbformatIDisplayData
output_type
data
metadata
dummyExecuteResultObj nbformatIExecuteResult
output_type
name
execution_count
data
metadata
AllowedCellOutputKeys
ObjectdummyStreamObj
ObjectdummyErrorObj
ObjectdummyDisplayObj
ObjectdummyExecuteResultObj
output nbformatIOutput nbformatIOutput
allowedKeys Set
outputoutput_type
allowedKeys AllowedCellOutputKeysoutputoutput_type
output
result output
k Objectoutput
allowedKeysk
resultk
result