You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 1d32681
Browse filesBrowse the repository at this point in the historyBrowse files
|`--webview-origin 'https://{{uuid}}.view.example.com'` (`LEVELCODE_WEB_WEBVIEW_ORIGIN`) | Self-host the webview origin. Without it the page uses Code-OSS's CDN at this build's own commit. Needs wildcard DNS and TLS — see below. |
199
210
|`--ext-host-origin 'https://{{uuid}}.ext.example.com'` (`LEVELCODE_WEB_EXTHOST_ORIGIN`) | Run the extension host on an origin of its own. Optional while no third-party code is loaded. |
200
211
|`--static <dir>`| Use a prebuilt client (skips the gulp build). |
201
-
|`--id <id>`| Override the build id (default: a fingerprint of the client, the page and the extension). |
212
+
|`--id <id>`| Override the build id (default: a hash of everything the build put under `/_/<id>/`, staged first and named after it). |
Copy file name to clipboardExpand all lines: extensions/levelcode-ai/agent.js
+2-5Lines changed: 2 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -78,10 +78,6 @@ const TOOLS = [
78
78
{name: 'use_skill',description: 'Load an expert playbook (SKILL.md) for a task type, chosen from the "Available skills" list in your system prompt. Returns the skill\'s step-by-step instructions as the tool result — then follow them. Read-only and instant (no approval). Call it once, early, when the goal matches a skill\'s description.',input_schema: {type: 'object',properties: {name: {type: 'string',description: 'the exact skill name from the Available skills list'}},required: ['name']}}
79
79
];
80
80
81
-
// Rough token estimates (chars/4) for the static prompt segments, so the context popover can break
82
-
// down "what's filling the window" — system + tools are sent on every request, the rest is messages.
if(!r.ok){vscode.window.showWarningMessage('LevelCode: that link cannot be opened — '+r.reason+'.');dbg('diagram.link.refused',{reason: r.reason});return;}
1122
1126
recordDiagramStat({type: 'link'});
1123
1127
try{
@@ -3567,10 +3571,16 @@ async function handleAuthCallback(uri) {
0 commit comments