Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Synaptrica WorkspaceNew to Visual Studio Code? Get it now.
Synaptrica Workspace

Synaptrica Workspace

Synaptrica

|
3 installs
| (0) | Free
Connect VS Code to your Synaptrica cloud projects: browse files, review saved proposals and access project AI workflows.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Synaptrica developer client 0.4.0

Workspace build; availability on synaptrica.ai depends on its deployed release. Requires Node.js 22 or later. No dependencies, API key or credential file.

Selection edits (SDK and CLI)

inline PROJECT PROMPT --file PATH --range L:C-L:C --allow-ai --model MODEL prepares one saved-selection proposal; it never applies a source file. Coordinates are 1-based UTF-16, columns included. Read and inspect the saved selection first. Optional --source-hash HASH rejects a changed project; --request-id ID supports deliberate replay without another generation. Personal keys are not supported on this endpoint. Password/MFA remain hidden interactive inputs. Use changes PROJECT PROPOSAL to inspect the proposal; applying it separately still requires --allow-source-changes.

SDK: await client.inlineEdit(project, {prompt, model, filePath, range, baseProjectHash, baseFileHash, confirmAiUsage: true, requestId}). The project hash comes from client.project(project); baseFileHash is SHA-256 of the exact saved UTF-8 file. range contains startLine/startColumn/endLine/endColumn. The server validates line bounds, UTF-16 boundaries, ownership and budget. On a lost or unverifiable response, retain error.requestId and inspect saved proposals before replaying the same intent. No retry or apply is automatic. VS Code: select code in a clean saved synaptrica: file and run Prepare Selection Edit (also in the selection context menu). Choose a model and explicitly confirm AI use. A changed selection, dirty draft or changed session stops admission. The returned private view is read only; use Review Saved Proposal to inspect and separately accept/reject it. No source apply or retry is automatic. Native API: editSavedSelection(project, {file, expectedContent, expectedSourceHash, range, prompt, model, confirmAiUsage: true, requestId}). Preserve requestId on error. The packaged host/server/MFA selection path is tested in VS Code 1.142 and Cursor 3.27.22 classic editor on Windows with synthetic generation; interactive dialogs are unit-simulated and paid provider quality unqualified.

Checkpoints and restoration

VS Code: Start Agent Mission requires a qualified model and explicit consent to both AI use and saved source changes. Dirty drafts, stale admission hashes, pending admission and an already running mission block a second start. Read Saved Agent Missions resumes status monitoring without starting work; Abort Saved Agent Mission separately confirms the abort/rollback request. The private read-only monitor shows only ID, state and abortRequested, with no raw runtime errors. Terminal observation invalidates this project's source preconditions so stale buffers cannot silently overwrite refreshed sources. Closing/evicting the view or logging out stops monitoring, not the server job. Lost receipts are never automatically retried: inspect saved missions first. Native qualification uses a simulated provider and real WSL/Bubblewrap installation, diagnostics, tests and build. Node declarations are mounted read only for isolated diagnostics. This demonstrates the control/execution path, not real model quality or compatibility with every application or other IDE.

VS Code: Ask About Saved Selection (Live) starts one native-stream request after explicit model/AI consent, using the saved bounded file context. Only server-advertised OpenAI native-stream models are offered; no fallback occurs. The private read-only view distinguishes provisional text from the validated final answer and shows REQUEST_ID MODEL SOURCE_HASH resume metadata. Resume Ask Live (Read Only) accepts that metadata and reads the same journal without generating again. Changed saved sources refuse replay. A lost start receipt exposes its resume metadata; inspect it before any new generation. Logout/reconnect/cache eviction stop readers and revoke their private text. Stopping a reader does not cancel the provider request or erase costs already incurred. Cancel Ask Live Request separately requests server cancellation by owned request ID after explicit confirmation. Inspect the saved journal to verify its terminal state; an emitted call with unknown usage keeps its budget exposure. A lost cancellation receipt is never retried automatically. Replayed documents refresh asynchronously in VS Code. No credentials are persisted here.

VS Code: Synaptrica: Review and Apply Saved Proposal first opens the saved read-only proposal. Choose blocks to accept; every unselected block will be rejected. Nothing changes until Apply decisions is explicitly confirmed. Dirty project drafts, stale hashes and incomplete decisions block submission; rename/compiler fixes must be decided as a whole. Applying uses the existing server preconditions and no AI call. After an uncertain receipt, inspect the saved proposal state before retrying. Only this project's source cache is invalidated, also on an uncertain response. Unsaved edits started after sending remain local and must be compared with the refreshed saved sources before save.

VS Code: Synaptrica: Open Saved Proposal (Read Only) reopens a proposal by ID from the active owned project or private view. No AI call or application is made. The preview compares its base hash with current saved sources and warns when they differ; it never rebases or retries a generation automatically.

VS Code: Synaptrica: Plan Saved Project Changes proposes changes to saved server sources. Select the model and confirm AI consumption. The private read-only preview contains the pending proposal and its source hash; no hunk is applied. Review and accept explicitly in the workshop or CLI. Unsaved IDE drafts are excluded; a changed source hash is refused. A lost creation receipt is never retried automatically: inspect workshop proposals first. Plan and Ask share the five-view private cache and its account-change/logout revocation.

VS Code: open an owned Synaptrica file, then run Synaptrica: Compare Saved Version (Read Only). Choose a retained checkpoint; both sides are immutable provider documents, not your unsaved editor draft. Opening another comparison replaces the previous pair. Disconnecting or switching accounts clears their source text. No restoration, source save or AI call is performed by this command.

version PROJECT VERSION --source-hash HASH reads the retained sources before restoration, without --allow-source-changes or AI. SDK: versionSources(project, {version,sourceHash}). IDs/current revision, file paths, size bounds and snapshot SHA256 are checked; stale revisions fail instead of silently reading a fresh snapshot. JSON output contains your private source text: choose where you display or store it. Runtime databases/secrets are excluded, as in workshop versions.

versions PROJECT lists the latest 100 retained source versions and current saved sourceHash. checkpoint PROJECT creates a checkpoint of the saved server sources, not an unsaved local editor buffer. Existing plan quotas and locks apply. restore PROJECT VERSION --source-hash HASH --allow-source-changes explicitly restores that version only if the saved source hash still matches. Use the hash from versions/show; a conflict must be reviewed, never retried with a fresh hash automatically. The server creates its usual pre-restore checkpoint, within quota. SDK: listVersions(project), createCheckpoint(project), restoreVersion(project, {version,sourceHash,confirmSourceChanges:true}). No AI request is made. These commands also work inside shell; restoration requires starting the shell with the two explicit flags above. A lost/malformed mutation receipt is uncertain: inspect versions and sources before retrying. No automatic mutation retry. Account session, MFA, ownership and entry-point availability remain server rules. Only sources are versioned here; runtime databases/secrets are not restored.

Resumable Ask

Saved Ask answers open in private read-only plaintext provider views. At most five views retain text; eviction, reconnect, logout and account change revoke their visible text. A late document opening after logout is refused. This does not erase user-made copies, clipboard contents or ordinary source buffers, and does not certify immediate erasure from IDE backups or process memory.

Saved-source Ask is exercised through the packaged extension API in a real VS Code host with MFA and the local server, using a synthetic provider. One metered fixture call settles while existing spend and the neighbour account remain intact. This does not qualify real provider quality or paid usage; interactive Ask dialogs are covered with API mocks, not native UI automation.

VS Code: Synaptrica: Ask About Saved Selection asks about the saved lines under your selection (the caret line if empty). Explicitly save or reload the source first. Choose a qualified model and confirm the AI budget dialog. There is no automatic routing, source write or retry. The result opens through saved Ask history as plain text. If an editor/account/source changes before sending, ask again explicitly. A lost receipt must be checked in history before retrying.

ask-stream PROJECT PROMPT requires --allow-ai --model MODEL --file PATH. The server must already permit native OpenAI streaming; unsupported entries, personal keys and unavailable models are refused, without a fallback. The CLI prints the request ID and source hash for explicit resume-ask PROJECT REQUEST --model MODEL --source-hash HASH. Resume does not require --allow-ai: it only reads an existing journal and never starts another provider call. Authentication is still required. Do not share project or request metadata. With --json, output is newline-delimited state snapshots; preview text remains provisional until phase answered. Only that state's answer is validated final. Ctrl+C requests cancellation; incurred or unknown usage remains accounted for.

SDK: startAskStream(project, explicitAskRequest), then iterate followAsk(project, {requestId,model,sourceHash}, {signal}). Reuse those metadata to replay after reconnecting; keep the same request ID after an uncertain start. readAskStream(project,requestId,{cursor,signal}) and cancelAskStream(project,id) are also explicit operations. Reader break/abort stops local reading only; it does not silently cancel generation or reset usage. Logout stops readers. Snapshots coalesce for slow consumers. Call iterator.return() when abandoning an iterator. The reader is bounded to two minutes per attachment; paused means attach again, never generate again. Sources must remain unchanged. This is authenticated bounded JSON journal polling (Last-Event-ID), with the workshop's existing validation/reconnect engine, not a direct SSE connection. Provider streaming availability is not newly enabled by this SDK.

CLI

Extract the Node ZIP into a private local folder. Run:

node cli.mjs --server https://synaptrica.ai --email you@example.com shell

The extracted package can also be installed locally with npm (no registry account, dependency download or install script):

npm install --offline --ignore-scripts ./synaptrica-client

Replace the path with your extracted directory. The package exposes the synaptrica CLI bin and the @synaptrica/client ES module.

History commands do not generate an answer or reserve AI budget:

node cli.mjs --email you@example.com ask-history PROJECT_ID
node cli.mjs --email you@example.com ask-answer PROJECT_ID REQUEST_ID

ask-history accepts an optional previous page cursor after the project ID. For a new one-shot ask/ask-stream command, --previous-answer REQUEST_ID joins the account/project-owned retained conversation. Only the ID is sent; the server reads the history, applies its four-turn/8KB limits and meters the new input normally. --allow-ai and --model remain mandatory for new generation. The SDK exposes askHistory, askAnswer and ask(..., {previousAnswerId,...}). In VS Code, activate an owned source file and run Synaptrica: Open Saved Ask Answers to browse ten records per page and open a retained question/answer as plain text, without generation. No webview or remote image is rendered. An account change/disconnect invalidates an in-progress selection and clears private Ask view text. Ordinary source buffers, copies and editor backups remain controlled by your editor and its backup settings.

Enter your password and MFA code at the hidden prompts. The shell keeps its own session in memory; quit logs out that session. A command outside the shell logs in and out once. Existing browser sessions are not logged out.

Commands: projects, show ID, create NAME, search ID QUERY, status ID, export ID FILE, import FILE, save ID FILE, quit. JSON input to save must contain files and sourceHash from a prior project read. Export refuses to overwrite a local file. Exported sources are plaintext: protect them yourself.

Never pass passwords, codes or cookies in command arguments. HTTP is accepted only on loopback for local development. HTTPS redirects are refused, not followed. The client never automatically retries a mutation. A failed create includes its requestId: reuse it explicitly after checking the project list. The source-import server contract is idempotent; a changed archive is a new import.

SDK

Import SynaptricaClient from ./sdk.mjs. Create a client with {server}, then call login({email,password,onMfa:async()=>code}). Read listProjects(), project(id), search(id,query,{cursor,activeFile}), diagnostics(id,{file,content}) or terminalStatus(id). Search returns nextCursor for the next page. Keep query and activeFile unchanged between pages; restart from the first page after a source-change conflict (409). saveProject(id,{files,sourceHash}) refuses blind writes. createProject({name, requestId}) and importProject(archive) retain the existing server quotas and MFA. Always call logout() in finally. Never serialize authentication or expose it to an untrusted fetcher. No payment or unrestricted shell method is exposed. AI methods require explicit confirmAiUsage:true; Agent/apply also require confirmSourceChanges:true.

AI commands (explicit use, never automatic)

node cli.mjs --email you@example.com --model MODEL --file math.ts --allow-ai ask PROJECT Explain the code
node cli.mjs --email you@example.com --model MODEL --allow-ai plan PROJECT Describe the change
node cli.mjs --email you@example.com --model MODEL --allow-ai --allow-source-changes agent PROJECT Describe the task

Ask uses the first 160 lines of the explicitly selected saved file, at most 8000 bytes. Use the SDK context ranges for a smaller or multiple-file selection. Ask/Plan bind the saved project hash. The chosen model is never silently replaced. --key-source personal selects a configured personal connection, with no platform fallback. --request-id ID reuses an Ask/Plan intent after inspecting its state.

plans return persisted diffs; they do not apply changes. Inspect changes PROJECT CHANGE, then apply PROJECT CHANGE decisions.json --allow-source-changes, where decisions.json contains explicit accept/reject hunk ID arrays. Never apply an unreviewed model result automatically. Agent is the existing bounded server mission: the CLI keeps its authenticated session until the mission terminates; Ctrl+C requests a server-side abort. It operates on current saved files, may mutate them after server verification, and retains its isolation/admission requirements. Run commands runs PROJECT, run PROJECT RUN, abort PROJECT RUN to inspect or stop a mission. An ambiguous Agent start must be inspected in the run list before retrying: it has no automatic client retry/idempotency promise. Unknown provider usage after an abort keeps its financial reservation; the CLI cannot clear or reset it. A terminal failed mission exits nonzero; an acknowledged cancellation exits130. The configured cumulative AI cap, MFA, account rights and server quotas apply. Expired/unpriced models remain blocked. No external provider call was used to qualify these methods: fixture providers supplied the responses.

SDK methods: ask, plan, startAgent, agentRuns, agentRun, abortAgent, changeSet, applyChanges. SDK Ask/Plan require explicit baseProjectHash and retain requestId on errors. All model output remains data, not executable terminal instructions.

Editor extension

Install the separate workspace.vsix through the editor's Install from VSIX command. Use Synaptrica: Connect, then Synaptrica: Open project. Credentials are prompted by the editor and kept only in the extension host's memory.

The standard CLI alternative is: code --install-extension workspace.vsix Standard local VSIX installation and activation in production extension mode were verified in an isolated profile; this is separate from development-path loading. status().deliveryMode reports installed, development or unknown from the host context, never from server account roles or permissions. Remote documents use a virtual filesystem, not a downloaded host directory. A save checks the source revision observed when the document was read; stale edits are refused instead of overwriting another client. Reopen/compare before retrying. Synaptrica: Disconnect revokes this session and clears private Ask and comparison view text. Source buffers and user copies remain under the editor's control; close them separately if needed. The packaged extension was exercised in VS Code 1.142.0 (Node 24.21.0) and Cursor 3.27.22 classic editor (VS Code 1.128.0, Node 24.19.0) on Windows, with isolated MFA accounts and owned virtual project files. Standard local VSIX installation and reviewed selection edits passed in both hosts. Interactive authentication dialogs, other Cursor modes and other host versions are not qualified. No marketplace publication is claimed.

Other trusted editor extensions can activate synaptrica.synaptrica-workspace and use its version-1 exports: connect({server,email,password,onMfa}), disconnect(), status(). Authentication is the normal server-side account/MFA flow, without permanent keys or new permissions. Do not put credentials into commands, workspace settings or files. A later connection or disconnect cancels an older unfinished connection; only the current account filesystem is retained.

This client uses the same account API, rights, MFA and budget controls as the website. It does not activate runtime, browser, Git or routing features that the server has not qualified. A tunnel/PC outage is still a service outage.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft