Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
When generating notebook content, use an XML-based format.
<br/>
1. Each cell must be wrapped in a
{
'<VSCode.Cell>'
}
with a `language` attribute indicating the type of content. (e.g., `markdown`, `python`).
<br/>
2. Existing cells must contain the `id` attribute to uniquely identify each cell.
<br/>
3. New cells do not need an `id` attribute.
<br/>
4. Ensure that each
{
'<VSCode.Cell>'
}
is valid XML and logically structured.
<br/>
5. Do not XML encode the contents within each
{
'<VSCode.Cell>'
}
cell.
<br/>
6. Do not reference the XML tags
{
`<VSCode.Cell>`
}
in user messages.
<br/>
7. Do not reference Cell Ids (as users cannot see these values) in user messages, instead use the Cell number (starting from 1).
<br/>
<br/>
Here is sample content of a Notebook document:
<br/>
<br/>
<Tagname='example'>
<ExampleCodeBlocklanguageId='xml'examplePath={this.props.tsExampleFilePath}includeFilepath={true}minNumberOfBackticks={4}code={[`<VSCode.Cell id="f8939937" language="markdown">`,`# Import Required Libraries`,`Import the necessary libraries, including pandas and plotly.`,`</VSCode.Cell>`,`<VSCode.Cell id="0b4e03d1" language="python">`,`# Import Required Libraries`,`import pandas as pd`,`import plotly.express as px`,`</VSCode.Cell>`,].join('\n')}/>
</Tag>
</>
;
}
}
class
NotebookJsonFormatPrompt
extends
PromptElement<NotebookFormatCommonPromptProps>
{
constructor
(
:
NotebookFormatCommonPromptProps
)
{
super
(
)
;
}
async
render
(
:
void
,
:
PromptSizing
)
{
return
<>
When generating notebook content, use a JSON format.
<br/>
1. Each cell must be a valid JSON object within the
{
'cells'
}
array property with a `metadata.language` property indicating the type of content (e.g., `markdown`, `python`).
<br/>
2. Existing cells must contain the `metadata.id` property to uniquely identify each cell.
<br/>
3. New cells do not need a `metadata.id` property.
<br/>
4. Ensure the content is valid JSON and logically structured.
<br/>
5. Do not reference Cell Ids (as users cannot see these values) in user messages, instead use the Cell number (starting from 1).
<br/>
<br/>
Here is sample content of a Notebook document:
<br/>
<br/>
<Tagname='example'>
<ExampleCodeBlock languageId='json' examplePath=
{
this
.
props
.
tsExampleFilePath
}
includeFilepath=
{
true
}
minNumberOfBackticks=
{
4
}
code=
{
[
`{`
,
` cells: [`
,
` {`
,
` cell_type: "markdown",`
,
` metadata: {`
,
` id: "f8939937",`
,
` language: "markdown"`
,
` },`
,
` source: [`
,
` "# Import Required Libraries",`
,
` "Import the necessary libraries, including pandas and plotly."`
,
` ]`
,
` },`
,
` {`
,
` cell_type: "code",`
,
` metadata: {`
,
` id: "0b4e03d1",`
,
` language: "python"`
,
` },`
,
` source: [`
,
` "# Import Required Libraries",`
,
` "import pandas as pd",`
,
` "import plotly.express as px"`
,
` ]`
,
` }`
,
` ]`
,
`}`
,
]
.
join
(
'\n'
)
}
/>
</Tag>
</>
;
}
}
class
NotebookTextFormatPrompt
extends
PromptElement<NotebookFormatCommonPromptProps>
{
constructor
(
:
NotebookFormatCommonPromptProps
)
{
super
(
)
;
}
async
render
(
:
void
,
:
PromptSizing
)
{
return
<>
When generating notebook content, use a Jupytext like format.
<br/>
1. Each cell must begin with a comment beginning with `#%% vscode.cell` followed by the cell attributes.
<br/>
2. For existing cell in the document, use the `id` attribute to identify the cell. If the cell is new, DO NOT include the `id` attribute.
<br/>
3. Use the `language` attribute to define the language of the content (e.g., `markdown`, `python`).
<br/>
4. For markdown cells, use triple quotes to wrap the content.
<br/>
5. Ensure that each cell is logically structured.
<br/>
6. Do not reference Cell Ids (as users cannot see these values) in user messages, instead use the Cell number (starting from 1).
<br/>
<br/>
Here is sample content of a Notebook document:
<br/>
<br/>
<Tagname='example'>
<ExampleCodeBlocklanguageId='python'examplePath={this.props.tsExampleFilePath}includeFilepath={true}minNumberOfBackticks={4}code={[`#%% vscode.cell [id=0fd89b28] [language=markdown]`,`"""`,`# Import Required Libraries`,`Import the necessary libraries, including pandas and plotly.`,`"""`,`#%% vscode.cell [id=0b4e03d1] [language=python]`,`# Import Required Libraries`,`import pandas as pd`,`import plotly.express as px`,].join('\n')}/>