@farero-ai/core 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/app-link.d.ts +8 -0
- package/dist/app-link.js +1 -1
- package/dist/mcp-clients.d.ts +47 -0
- package/dist/mcp-clients.js +1 -0
- package/dist/routes.d.ts +2 -0
- package/dist/routes.js +1 -1
- package/package.json +5 -1
package/dist/app-link.d.ts
CHANGED
|
@@ -13,11 +13,19 @@ export type FareroLink = {
|
|
|
13
13
|
| {
|
|
14
14
|
kind: 'plugin';
|
|
15
15
|
id: string;
|
|
16
|
+
}
|
|
17
|
+
/** One chat, opened for reading. A link never sends, stops or changes anything in it. */
|
|
18
|
+
| {
|
|
19
|
+
kind: 'chat';
|
|
20
|
+
workspaceId: string;
|
|
21
|
+
sessionId: string;
|
|
16
22
|
};
|
|
17
23
|
/** A plugin directory entry id as a link names it, or null. */
|
|
18
24
|
export declare function parsePluginEntryId(value: unknown): string | null;
|
|
19
25
|
/** Deliberate app destinations only. A deep link can never select a host or an arbitrary URL. */
|
|
20
26
|
export declare function parseFareroLink(value: string): FareroLink | null;
|
|
27
|
+
/** Opens a chat in the Farero app on this computer, from another app or a message. */
|
|
28
|
+
export declare function fareroChatLink(workspaceId: string, sessionId: string): string;
|
|
21
29
|
export declare function fareroDeepLink(link: FareroLink): string;
|
|
22
30
|
/** The renderer consumes the query through its Settings owner; no settings are changed by opening it. */
|
|
23
31
|
export declare function fareroAppRoute(link: FareroLink): string;
|
package/dist/app-link.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var g=Object.defineProperty;var e=(r,t)=>g(r,"name",{value:t,configurable:!0});import{parseRoleTemplateLink as h,roleTemplateAppRoute as l,roleTemplateDeepLink as I}from"./role-template.js";const w=["general","notifications","interface","theme","providers","models","agents","routing","plugins","prompts","lantern","feedback","browser-cookies"];function i(r){return w.find(t=>t===r)??null}e(i,"parseSettingsSection");const $=/^(?=.{1,64}$)[a-z0-9]+(?:[.-][a-z0-9]+)*$/,m=/^farero:\/\/plugins\/([^/]*)\/?$/,u=/^farero:\/\/chat\/(nw_[A-Za-z0-9_-]{1,100})\/(ns_[A-Za-z0-9_-]{1,100})\/?$/;function p(r){return typeof r=="string"&&$.test(r)?r:null}e(p,"parsePluginEntryId");function _(r){const t=h(r);if(t)return{kind:"role",slug:t};const o=p(m.exec(r.trim())?.[1]);if(o)return{kind:"plugin",id:o};const s=u.exec(r.trim());if(s)return{kind:"chat",workspaceId:s[1],sessionId:s[2]};try{const n=new URL(r.trim());if(n.protocol!=="farero:"||n.hostname!=="settings"||n.username||n.password||n.port||n.search||n.hash)return null;const a=n.pathname.match(/^(?:\/([a-z-]+))?\/?$/),c=a?i(a[1]??"general"):null;return c?{kind:"settings",section:c}:null}catch{return null}}e(_,"parseFareroLink");function f(r){if(!p(r))throw new Error("Plugin directory entry is invalid.");return r}e(f,"pluginEntryId");function d(r){if(!u.test(`farero://chat/${r.workspaceId}/${r.sessionId}`))throw new Error("Chat link is invalid.");return r}e(d,"chatIds");function S(r,t){return L({kind:"chat",workspaceId:r,sessionId:t})}e(S,"fareroChatLink");function L(r){if(r.kind==="role")return I(r.slug);if(r.kind==="plugin")return`farero://plugins/${f(r.id)}`;if(r.kind==="chat"){const{workspaceId:t,sessionId:o}=d(r);return`farero://chat/${t}/${o}`}if(!i(r.section))throw new Error("Settings section is invalid.");return`farero://settings${r.section==="general"?"":`/${r.section}`}`}e(L,"fareroDeepLink");function T(r){if(r.kind==="role")return l(r.slug);if(r.kind==="plugin")return`/?plugin=${f(r.id)}`;if(r.kind==="chat"){const{workspaceId:t,sessionId:o}=d(r);return`/w/${t}?session=${o}`}if(!i(r.section))throw new Error("Settings section is invalid.");return`/?settings=${r.section}`}e(T,"fareroAppRoute");export{w as SETTINGS_SECTIONS,T as fareroAppRoute,S as fareroChatLink,L as fareroDeepLink,_ as parseFareroLink,p as parsePluginEntryId,i as parseSettingsSection};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/** An assistant app that can call Farero through MCP: how Farero recognizes it, and how a link opens it. */
|
|
2
|
+
export interface McpClientApp {
|
|
3
|
+
id: string;
|
|
4
|
+
name: string;
|
|
5
|
+
/** URL schemes the app registers for itself, without the colon. A conversation link may use one. */
|
|
6
|
+
schemes: readonly string[];
|
|
7
|
+
/** Lowercase names the app gives itself: its MCP handshake `clientInfo.name` or its registered `client_name`. */
|
|
8
|
+
names: readonly string[];
|
|
9
|
+
/** Hosts of the app's own OAuth client metadata documents, which farero.ai verifies. */
|
|
10
|
+
domains: readonly string[];
|
|
11
|
+
}
|
|
12
|
+
/** Known apps. A new app joins with the schemes its macOS bundle registers. */
|
|
13
|
+
export declare const MCP_CLIENT_APPS: readonly McpClientApp[];
|
|
14
|
+
/** The short reference of a client registered at farero.ai. Its issuer's hostname names no assistant. */
|
|
15
|
+
export declare function registeredClientReference(clientId: string): string | null;
|
|
16
|
+
export interface McpClientEvidence {
|
|
17
|
+
/** OAuth client id of a remote client: its metadata document URL, or a client registered at farero.ai. */
|
|
18
|
+
clientId?: string;
|
|
19
|
+
/** The name the client gave itself. */
|
|
20
|
+
name?: string;
|
|
21
|
+
/** The client reached this computer's own MCP endpoint, which needs the app's token. */
|
|
22
|
+
local?: boolean;
|
|
23
|
+
}
|
|
24
|
+
export interface McpClientIdentity {
|
|
25
|
+
/** What the person reads: the app's name, a verified domain, or the client's own name. */
|
|
26
|
+
label: string;
|
|
27
|
+
/** The label rests only on the name a remote client gave itself. */
|
|
28
|
+
claimed: boolean;
|
|
29
|
+
app?: McpClientApp;
|
|
30
|
+
/** Opens the app itself, when it registers a scheme. */
|
|
31
|
+
appLink?: string;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Who an MCP client is, from what Farero knows. A metadata document proves its domain. A remote
|
|
35
|
+
* client registered at farero.ai only claims its name, so that label is marked as claimed. A local
|
|
36
|
+
* client already holds the app's token, so its handshake name is taken as given.
|
|
37
|
+
*/
|
|
38
|
+
export declare function identifyMcpClient(evidence: McpClientEvidence): McpClientIdentity | null;
|
|
39
|
+
/**
|
|
40
|
+
* A link a client gives back to its own conversation, in normal form, or null. It must be https or
|
|
41
|
+
* use the scheme of a known app, so a click never reaches another URL handler on the computer.
|
|
42
|
+
*/
|
|
43
|
+
export declare function clientConversationLink(value: string): string | null;
|
|
44
|
+
/** A link that opens a known app rather than a web page. Farero opens these outside its own window. */
|
|
45
|
+
export declare function clientAppLink(value: string): boolean;
|
|
46
|
+
/** A client's own name as Farero shows it. Control and formatting characters could disguise the text around it. */
|
|
47
|
+
export declare function mcpClientName(value: unknown): string | undefined;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var l=Object.defineProperty;var s=(e,n)=>l(e,"name",{value:n,configurable:!0});const r=[{id:"claude",name:"Claude",schemes:["claude"],names:["claude","claude-ai"],domains:["claude.ai"]},{id:"claude-code",name:"Claude Code",schemes:["claude-cli"],names:["claude-code"],domains:[]},{id:"chatgpt",name:"ChatGPT",schemes:["codex"],names:["chatgpt","openai"],domains:["chatgpt.com"]},{id:"codex",name:"Codex",schemes:["codex"],names:["codex","codex-mcp-client"],domains:[]},{id:"cursor",name:"Cursor",schemes:["cursor"],names:["cursor","cursor-vscode"],domains:["cursor.com"]},{id:"grok-bot",name:"Grok Bot",schemes:["grokbot"],names:["grok bot","grokbot"],domains:[]},{id:"gemini",name:"Gemini",schemes:["googlegemini"],names:["gemini"],domains:[]},{id:"antigravity",name:"Antigravity",schemes:["antigravity"],names:["antigravity"],domains:[]},{id:"conductor",name:"Conductor",schemes:["conductor"],names:["conductor"],domains:[]},{id:"vscode",name:"Visual Studio Code",schemes:["vscode"],names:["visual studio code","vscode"],domains:[]}],f=/^\/oauth\/clients\/([A-Za-z0-9_-]{43})$/;function d(e){if(!URL.canParse(e))return null;const n=new URL(e),t=n.protocol==="https:"?f.exec(n.pathname)?.[1]:void 0;return t?t.slice(-8):null}s(d,"registeredClientReference");const h=s(e=>{const n=e?.trim().toLowerCase();return n?r.find(t=>t.names.includes(n)):void 0},"appByName");function c(e,n,t){const o=t?.schemes[0];return{label:e,claimed:n,...t?{app:t}:{},...o?{appLink:`${o}://`}:{}}}s(c,"identity");function x(e){const n=e.name?.trim()||void 0;if(e.clientId&&!d(e.clientId)&&URL.canParse(e.clientId)){const i=new URL(e.clientId).hostname,a=r.find(u=>u.domains.some(m=>i===m||i.endsWith(`.${m}`)));return c(a?.name??i,!1,a)}const t=h(n);if(t)return c(t.name,!e.local,t);if(e.local&&n)return c(n,!1);const o=e.clientId?d(e.clientId):null;return o?c(`Registered assistant \xB7 ${o}`,!1):n?c(n,!0):null}s(x,"identifyMcpClient");const p=2048;function g(e){if(e.length>p||!URL.canParse(e))return null;const n=new URL(e);if(n.username||n.password)return null;const t=n.protocol.slice(0,-1);return t==="https"?n.hostname?n.href:null:r.some(o=>o.schemes.includes(t))?n.href:null}s(g,"clientConversationLink");function k(e){const n=g(e);return!!n&&!n.startsWith("https:")}s(k,"clientAppLink");const C=80;function y(e){return typeof e!="string"?void 0:Array.from(e.replace(/[\p{Cc}\p{Cf}]/gu," ").replace(/\s+/g," ").trim()).slice(0,C).join("")||void 0}s(y,"mcpClientName");export{r as MCP_CLIENT_APPS,k as clientAppLink,g as clientConversationLink,x as identifyMcpClient,y as mcpClientName,d as registeredClientReference};
|
package/dist/routes.d.ts
CHANGED
|
@@ -404,6 +404,8 @@ export declare const routes: {
|
|
|
404
404
|
readonly chatFind: Route1;
|
|
405
405
|
/** The rows of this chat and its earlier contexts that the Outputs index can collect from. */
|
|
406
406
|
readonly chatOutputs: Route1;
|
|
407
|
+
/** Worktree-relative paths with a completed file edit in this conversation. */
|
|
408
|
+
readonly chatEditedPaths: Route1;
|
|
407
409
|
/** Exact last-turn total plus estimated context categories and fork attachment sizes. */
|
|
408
410
|
readonly context: Route1;
|
|
409
411
|
readonly models: Route1;
|
package/dist/routes.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var n=Object.defineProperty;var i=(a,o)=>n(a,"name",{value:o,configurable:!0});const k="/api/trpc",w="/api/app-rpc";function r(a){return a.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}i(r,"literal");function s(a,o){return{method:a,pattern:o,path:i(()=>o,"path")}}i(s,"flat");function e(a,o){const[p,t]=o.split(/:[a-zA-Z]+/);if(t===void 0)throw new Error(`route ${o} declares no :param`);return{method:a,pattern:o,path:i(c=>`${p}${encodeURIComponent(c)}${t}`,"path"),re:new RegExp(`^${r(p)}([^/]+)${r(t)}$`)}}i(e,"param");const l={state:s("GET","/api/state"),simulatorDevices:s("GET","/api/simulator/devices"),simulatorBoot:e("POST","/api/simulator/:id/boot"),simulatorWatch:e("GET","/api/simulator/:id/watch"),simulatorFrame:e("GET","/api/simulator/:id/frame"),simulatorInput:e("POST","/api/simulator/:id/input"),workspaceOverview:s("GET","/api/workspace-overview"),attentionSettings:s("GET","/api/attention/settings"),attentionConfigure:s("PATCH","/api/attention/settings"),attentionCheck:s("POST","/api/attention/check"),attentionDemand:s("POST","/api/attention/demand"),attentionSkills:s("POST","/api/attention/skills"),attentionWebhooks:s("GET","/api/attention/webhooks"),attentionWebhookCreate:s("POST","/api/attention/webhooks"),attentionWebhookUpdate:e("PATCH","/api/attention/webhooks/:id"),attentionWebhookDelete:e("DELETE","/api/attention/webhooks/:id"),attentionWebhookTest:e("POST","/api/attention/webhooks/:id/test"),attentionWebhookWorkspace:e("PUT","/api/attention/webhooks/workspaces/:id"),trayStatus:s("GET","/api/tray-status"),trayOldestUnread:s("GET","/api/tray-status/oldest-unread"),desktopNotifications:s("GET","/api/desktop-notifications"),desktopHandoffs:s("GET","/api/desktop-handoffs"),search:s("GET","/api/search"),pickRepoFolder:s("POST","/api/repos/pick-folder"),registerHostRepo:s("POST","/api/host/repos"),workspaceSources:e("GET","/api/repos/:repo/workspace-sources"),accounts:s("GET","/api/accounts"),createAccount:s("POST","/api/accounts"),updateAccount:e("PATCH","/api/accounts/:account"),deleteAccount:e("DELETE","/api/accounts/:account"),refreshAccount:e("POST","/api/accounts/:account/refresh"),signInAccount:e("POST","/api/accounts/:account/sign-in"),cancelAccountSignIn:e("DELETE","/api/accounts/:account/sign-in"),signOutAccount:e("POST","/api/accounts/:account/sign-out"),toolUsage:s("GET","/api/usage/tools"),voiceTicket:s("POST","/api/voice/ticket"),liveTicket:s("POST","/api/live/ticket"),live:s("GET","/api/live"),voiceCall:s("POST","/api/voice/calls"),voiceCallReady:e("POST","/api/voice/calls/:callId/ready"),voiceCallText:e("POST","/api/voice/calls/:callId/text"),voiceDrafts:e("GET","/api/voice/calls/:callId/drafts"),voiceBriefFocus:e("POST","/api/voice/calls/:callId/brief-focus"),voiceClearBriefFocus:e("DELETE","/api/voice/calls/:callId/brief-focus"),voiceDraftAction:e("POST","/api/voice/calls/:callId/drafts"),voiceCallDiagnostics:e("POST","/api/voice/calls/:callId/diagnostics"),voiceCallEnd:e("DELETE","/api/voice/calls/:callId"),voiceHistory:s("GET","/api/voice/history"),voiceTranscript:e("GET","/api/voice/history/:callId"),voiceSearch:s("GET","/api/voice/search"),updateVoiceConfig:s("PUT","/api/config/voice"),repoIcon:e("GET","/api/repos/:repo/icon"),deleteRepo:e("DELETE","/api/repos/:repo"),repoHistory:e("GET","/api/repos/:repo/history"),repoCommit:e("GET","/api/repos/:repo/commit"),repoCompare:e("GET","/api/repos/:repo/compare"),repoCommitFile:e("GET","/api/repos/:repo/commit/file"),repoFile:e("GET","/api/repos/:repo/file"),repoBlame:e("GET","/api/repos/:repo/blame"),repoCommitIds:e("GET","/api/repos/:repo/commit-ids"),repoFiles:e("GET","/api/repos/:repo/files"),fetchRepoBase:e("POST","/api/repos/:repo/fetch"),repoConversations:e("GET","/api/repos/:repo/conversations"),repoAuthors:e("GET","/api/repos/:repo/authors"),localImage:e("GET","/api/local-images/:path"),localPage:s("POST","/api/local-pages"),viewTicket:s("POST","/api/view-tickets"),revokeViewTicket:e("DELETE","/api/view-tickets/:ticket"),viewFile:e("GET","/api/view/:name"),filePreview:e("GET","/api/files/:reference"),openLocalFile:s("POST","/api/files/open"),saveFile:e("PUT","/api/files/:reference"),toolImage:e("GET","/api/tool-images/:reference"),mcpAppToolCall:e("GET","/api/mcp-app-calls/:reference"),generatedUi:e("GET","/api/generated-ui/:reference"),generatedUiState:e("GET","/api/generated-ui/:reference/state"),updateGeneratedUiState:e("PUT","/api/generated-ui/:reference/state"),renderUi:e("POST","/api/sessions/:sessionId/generated-ui"),mcpAppSandbox:s("GET","/api/mcp-app-sandbox"),stageAttachment:s("POST","/api/attachments"),stageLocalAttachment:s("POST","/api/attachments/local"),importConversation:s("POST","/api/attachments/import"),localConversations:s("GET","/api/conversation-import/local"),importLocalConversation:s("POST","/api/conversation-import/local"),stagedAttachmentImage:e("GET","/api/attachments/:attachmentId"),discardStagedAttachment:e("DELETE","/api/attachments/:attachmentId"),logs:s("GET","/api/logs"),feedback:s("POST","/api/feedback"),probeExternalPreview:s("POST","/api/external-previews/probe"),resetAgentConnections:s("POST","/api/agents/reset"),restartForUpdate:s("POST","/api/update/restart"),applyUpdate:s("POST","/api/update/apply"),checkForUpdates:s("POST","/api/update/check"),selectUpdateChannel:s("POST","/api/update/channel"),account:s("GET","/api/account"),accountLogin:s("POST","/api/account/login"),accountLoginComplete:s("POST","/api/account/login/complete"),accountLogout:s("POST","/api/account/logout"),accountMcp:s("GET","/api/account/mcp"),enableAccountMcp:s("PUT","/api/account/mcp"),disableAccountMcp:s("DELETE","/api/account/mcp"),revokeAccountMcpGrant:e("DELETE","/api/account/mcp/grants/:grantId"),analyticsConsent:s("GET","/api/analytics"),analyticsTrack:s("POST","/api/analytics"),completeOnboarding:s("POST","/api/onboarding/complete"),nosleep:s("GET","/api/nosleep"),armNoSleep:s("POST","/api/nosleep"),disarmNoSleep:s("DELETE","/api/nosleep"),push:s("GET","/api/push"),pushSubscribe:s("POST","/api/push/subscribe"),pushUnsubscribe:s("POST","/api/push/unsubscribe"),pushTest:s("POST","/api/push/test"),agents:s("GET","/api/agents"),updateAgents:s("PATCH","/api/agents"),agentImportCandidates:s("GET","/api/agents/import"),importAgents:s("POST","/api/agents/import"),updateSavedWorkflows:s("PATCH","/api/saved-workflows"),roleTemplate:e("GET","/api/agents/templates/:slug"),routing:s("GET","/api/routing"),updateRouting:s("PATCH","/api/routing"),updateAutoPreference:s("PATCH","/api/routing/default-auto"),roles:s("GET","/api/roles"),updateRoles:s("PATCH","/api/roles"),delegations:s("GET","/api/delegations"),receiveDelegations:s("POST","/api/delegations/receive"),dismissDelegation:e("DELETE","/api/delegations/:delegationId"),cancelDelegation:e("POST","/api/delegations/:delegationId/cancel"),cancelOwnedDelegation:e("POST","/api/sessions/:sessionId/delegations/cancel"),askDelegationQuestion:e("POST","/api/sessions/:sessionId/delegation-questions"),answerDelegationQuestion:e("POST","/api/sessions/:sessionId/delegation-answers"),wakeDelegation:e("POST","/api/delegations/:delegationId/wake"),workflows:s("POST","/api/workflows"),workflow:e("DELETE","/api/workflows/:workflowId"),workflowDelegation:e("POST","/api/workflows/:workflowId/delegations"),workflowResolution:e("POST","/api/workflows/:workflowId/resolve-assignment"),workflowRetry:e("POST","/api/workflows/:workflowId/retry"),workflowAdopt:e("POST","/api/workflows/:workflowId/adopt"),workflowReplay:e("POST","/api/workflows/:workflowId/replay"),workflowComplete:e("POST","/api/workflows/:workflowId/complete"),workflowDetail:e("GET","/api/workflows/:workflowId"),workflowJobReport:e("GET","/api/workflow-jobs/:jobId/report"),confirmUiStable:s("POST","/api/ui-quarantine/confirm"),runtimeOperation:e("GET","/api/runtime-operations/:operationId"),shutdown:s("POST","/api/shutdown"),importedHistoryRead:e("GET","/api/history/:historyId"),createWorkspace:s("POST","/api/workspaces"),createChat:s("POST","/api/chats"),chatIdentity:e("POST","/api/workspaces/:workspaceId/chat-identity"),workspaceHistory:s("GET","/api/workspaces/history"),renameWorkspace:e("POST","/api/workspaces/:workspaceId/rename"),workspace:e("GET","/api/workspaces/:workspaceId"),sessions:e("GET","/api/workspaces/:workspaceId/sessions"),closedSessions:e("GET","/api/workspaces/:workspaceId/sessions/closed"),newChat:e("POST","/api/workspaces/:workspaceId/sessions"),prepareWorkflowDraft:e("POST","/api/workspaces/:workspaceId/workflow-draft"),diff:e("GET","/api/workspaces/:workspaceId/diff"),diffPaths:e("GET","/api/workspaces/:workspaceId/diff/paths"),fileDiff:e("GET","/api/workspaces/:workspaceId/diff/file"),diffImage:e("GET","/api/workspaces/:workspaceId/diff/image"),workspaceFiles:e("GET","/api/workspaces/:workspaceId/files"),workspaceDirectory:e("GET","/api/workspaces/:workspaceId/directory"),workspacePath:e("GET","/api/workspaces/:workspaceId/path"),previewWorkspaceDiscard:e("GET","/api/workspaces/:workspaceId/files/discard"),discardWorkspaceChanges:e("POST","/api/workspaces/:workspaceId/files/discard"),openWorkspaceFile:e("POST","/api/workspaces/:workspaceId/files/open"),workspaceLaunchers:e("GET","/api/workspaces/:workspaceId/launchers"),openWorkspaceLauncher:e("POST","/api/workspaces/:workspaceId/launchers/open"),pasteWorkspaceTerminal:e("POST","/api/workspaces/:workspaceId/launchers/paste"),terminalSessions:e("GET","/api/workspaces/:workspaceId/terminals"),startTerminalSession:e("POST","/api/workspaces/:workspaceId/terminals"),startTerminalShell:e("POST","/api/workspaces/:workspaceId/terminals/shell"),terminalSession:e("GET","/api/workspaces/:workspaceId/terminals/status"),stopTerminalSession:e("POST","/api/workspaces/:workspaceId/terminals/stop"),terminalAttachment:e("POST","/api/workspaces/:workspaceId/terminals/attachment"),launcherIcon:e("GET","/api/workspaces/:workspaceId/launchers/icon"),refreshWorkspaceGit:e("POST","/api/workspaces/:workspaceId/git/refresh"),pushWorkspace:e("POST","/api/workspaces/:workspaceId/git/push"),workspaceRelease:e("GET","/api/workspaces/:workspaceId/git/release"),workspacePrompts:e("GET","/api/workspaces/:workspaceId/prompts"),workspaceConfig:e("GET","/api/workspaces/:workspaceId/config"),updateWorkspaceConfig:e("PUT","/api/workspaces/:workspaceId/config"),merge:e("POST","/api/workspaces/:workspaceId/merge"),closeoutWorkspace:e("POST","/api/workspaces/:workspaceId/closeout"),continueWorkspace:e("POST","/api/workspaces/:workspaceId/continue"),workspaceStatus:e("POST","/api/workspaces/:workspaceId/status"),renameWorkspaceStatus:e("POST","/api/workspace-statuses/:status/rename"),deleteWorkspaceStatus:e("DELETE","/api/workspace-statuses/:status"),pinWorkspace:e("POST","/api/workspaces/:workspaceId/pin"),retryWorkspaceSetup:e("POST","/api/workspaces/:workspaceId/setup"),archiveWorkspace:e("POST","/api/workspaces/:workspaceId/archive"),archiveJobs:s("GET","/api/workspace-archive-jobs"),inspectArchiveWork:s("POST","/api/workspace-archive-jobs/inspect"),queueArchiveJobs:s("POST","/api/workspace-archive-jobs"),queueCloseoutJobs:s("POST","/api/workspace-archive-jobs/closeout"),confirmArchiveJob:s("POST","/api/workspace-archive-jobs/confirm"),dismissArchiveJobs:s("DELETE","/api/workspace-archive-jobs"),restoreWorkspace:e("POST","/api/workspaces/:workspaceId/restore"),workspaceRecovery:e("GET","/api/workspaces/:workspaceId/recovery"),releaseWorkspaceRecovery:e("POST","/api/workspaces/:workspaceId/recovery"),devServer:e("GET","/api/workspaces/:workspaceId/dev-server"),startDevServer:e("POST","/api/workspaces/:workspaceId/dev-server"),stopDevServer:e("DELETE","/api/workspaces/:workspaceId/dev-server"),devServerLog:e("GET","/api/workspaces/:workspaceId/dev-server/log"),dismissFirstPrompt:e("DELETE","/api/workspaces/:workspaceId/prompt"),nativeSession:e("GET","/api/sessions/:sessionId/native"),opencodeCompactionStatus:e("GET","/api/sessions/:sessionId/opencode-compaction"),opencodeCompact:e("POST","/api/sessions/:sessionId/opencode-compaction"),compactInPlaceStatus:e("GET","/api/sessions/:sessionId/compact-in-place"),compactInPlace:e("POST","/api/sessions/:sessionId/compact-in-place"),nativeConnect:e("POST","/api/sessions/:sessionId/connect"),nativeAnswer:e("POST","/api/sessions/:sessionId/answer"),nativeDismissDelivery:e("DELETE","/api/sessions/:sessionId/delivery"),schedulePrompt:e("POST","/api/sessions/:sessionId/scheduled-prompts"),scheduledPromptAction:e("POST","/api/sessions/:sessionId/scheduled-prompts/action"),promoteQueuedPrompt:e("POST","/api/sessions/:sessionId/delivery/promote"),messages:e("GET","/api/sessions/:sessionId/messages"),messagesAround:e("GET","/api/sessions/:sessionId/around"),chatFind:e("GET","/api/sessions/:sessionId/find"),chatOutputs:e("GET","/api/sessions/:sessionId/outputs"),context:e("GET","/api/sessions/:sessionId/context"),models:e("GET","/api/sessions/:sessionId/models"),commands:e("GET","/api/sessions/:sessionId/commands"),mcpAppResource:e("POST","/api/sessions/:sessionId/mcp-apps/resource"),mcpAppRead:e("POST","/api/sessions/:sessionId/mcp-apps/read"),mcpAppCallTool:e("POST","/api/sessions/:sessionId/mcp-apps/call"),mcpSignInState:e("POST","/api/sessions/:sessionId/mcp-sign-in/state"),mcpSignInStart:e("POST","/api/sessions/:sessionId/mcp-sign-in/start"),defaultModel:e("POST","/api/sessions/:sessionId/default-model"),agent:e("POST","/api/sessions/:sessionId/agent"),stop:e("POST","/api/sessions/:sessionId/stop"),closeChat:e("DELETE","/api/sessions/:sessionId"),renameChat:e("POST","/api/sessions/:sessionId/rename"),markChatUnread:e("POST","/api/sessions/:sessionId/unread"),restoreChat:e("POST","/api/sessions/:sessionId/restore"),sendPrompt:e("POST","/api/sessions/:sessionId/prompt"),sideQuestion:e("POST","/api/sessions/:sessionId/side-question"),requestQuestionForm:e("POST","/api/sessions/:sessionId/question-form"),questionForm:e("GET","/api/sessions/:sessionId/question-form"),sideQuestions:e("GET","/api/sessions/:sessionId/side-questions"),sideQuestionAction:e("POST","/api/sessions/:sessionId/side-question/action"),uploadAttachment:e("POST","/api/sessions/:sessionId/attachments"),importLocalAttachment:e("POST","/api/sessions/:sessionId/attachments/local"),materializeAttachments:e("POST","/api/sessions/:sessionId/attachments/staged"),splitChat:e("POST","/api/sessions/:sessionId/split"),transcriptAttachment:e("POST","/api/sessions/:sessionId/transcript"),joinChatHistory:e("POST","/api/sessions/:sessionId/history"),delegateTask:e("POST","/api/sessions/:sessionId/delegate"),roleActions:e("GET","/api/sessions/:sessionId/role-actions"),runRoleAction:e("POST","/api/sessions/:sessionId/role-actions"),reportBack:e("GET","/api/sessions/:sessionId/report-back"),shareReportBack:e("POST","/api/sessions/:sessionId/report-back"),dismissParkedPrompt:e("DELETE","/api/sessions/:sessionId/prompt")},d=new Set(Object.values(l).filter(a=>!("re"in a)).map(a=>`${a.method} ${a.pattern}`));function u(a,o,p){return o===a.method&&p===a.pattern}i(u,"isRoute");function m(a,o,p){if(o!==a.method||d.has(`${o} ${p}`))return null;const t=p.match(a.re);return t?decodeURIComponent(t[1]):null}i(m,"routeParam");export{w as APP_RPC_PATH,k as NAVIGATION_PATH,u as isRoute,m as routeParam,l as routes};
|
|
1
|
+
var n=Object.defineProperty;var i=(a,o)=>n(a,"name",{value:o,configurable:!0});const k="/api/trpc",w="/api/app-rpc";function r(a){return a.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}i(r,"literal");function s(a,o){return{method:a,pattern:o,path:i(()=>o,"path")}}i(s,"flat");function e(a,o){const[p,t]=o.split(/:[a-zA-Z]+/);if(t===void 0)throw new Error(`route ${o} declares no :param`);return{method:a,pattern:o,path:i(c=>`${p}${encodeURIComponent(c)}${t}`,"path"),re:new RegExp(`^${r(p)}([^/]+)${r(t)}$`)}}i(e,"param");const d={state:s("GET","/api/state"),simulatorDevices:s("GET","/api/simulator/devices"),simulatorBoot:e("POST","/api/simulator/:id/boot"),simulatorWatch:e("GET","/api/simulator/:id/watch"),simulatorFrame:e("GET","/api/simulator/:id/frame"),simulatorInput:e("POST","/api/simulator/:id/input"),workspaceOverview:s("GET","/api/workspace-overview"),attentionSettings:s("GET","/api/attention/settings"),attentionConfigure:s("PATCH","/api/attention/settings"),attentionCheck:s("POST","/api/attention/check"),attentionDemand:s("POST","/api/attention/demand"),attentionSkills:s("POST","/api/attention/skills"),attentionWebhooks:s("GET","/api/attention/webhooks"),attentionWebhookCreate:s("POST","/api/attention/webhooks"),attentionWebhookUpdate:e("PATCH","/api/attention/webhooks/:id"),attentionWebhookDelete:e("DELETE","/api/attention/webhooks/:id"),attentionWebhookTest:e("POST","/api/attention/webhooks/:id/test"),attentionWebhookWorkspace:e("PUT","/api/attention/webhooks/workspaces/:id"),trayStatus:s("GET","/api/tray-status"),trayOldestUnread:s("GET","/api/tray-status/oldest-unread"),desktopNotifications:s("GET","/api/desktop-notifications"),desktopHandoffs:s("GET","/api/desktop-handoffs"),search:s("GET","/api/search"),pickRepoFolder:s("POST","/api/repos/pick-folder"),registerHostRepo:s("POST","/api/host/repos"),workspaceSources:e("GET","/api/repos/:repo/workspace-sources"),accounts:s("GET","/api/accounts"),createAccount:s("POST","/api/accounts"),updateAccount:e("PATCH","/api/accounts/:account"),deleteAccount:e("DELETE","/api/accounts/:account"),refreshAccount:e("POST","/api/accounts/:account/refresh"),signInAccount:e("POST","/api/accounts/:account/sign-in"),cancelAccountSignIn:e("DELETE","/api/accounts/:account/sign-in"),signOutAccount:e("POST","/api/accounts/:account/sign-out"),toolUsage:s("GET","/api/usage/tools"),voiceTicket:s("POST","/api/voice/ticket"),liveTicket:s("POST","/api/live/ticket"),live:s("GET","/api/live"),voiceCall:s("POST","/api/voice/calls"),voiceCallReady:e("POST","/api/voice/calls/:callId/ready"),voiceCallText:e("POST","/api/voice/calls/:callId/text"),voiceDrafts:e("GET","/api/voice/calls/:callId/drafts"),voiceBriefFocus:e("POST","/api/voice/calls/:callId/brief-focus"),voiceClearBriefFocus:e("DELETE","/api/voice/calls/:callId/brief-focus"),voiceDraftAction:e("POST","/api/voice/calls/:callId/drafts"),voiceCallDiagnostics:e("POST","/api/voice/calls/:callId/diagnostics"),voiceCallEnd:e("DELETE","/api/voice/calls/:callId"),voiceHistory:s("GET","/api/voice/history"),voiceTranscript:e("GET","/api/voice/history/:callId"),voiceSearch:s("GET","/api/voice/search"),updateVoiceConfig:s("PUT","/api/config/voice"),repoIcon:e("GET","/api/repos/:repo/icon"),deleteRepo:e("DELETE","/api/repos/:repo"),repoHistory:e("GET","/api/repos/:repo/history"),repoCommit:e("GET","/api/repos/:repo/commit"),repoCompare:e("GET","/api/repos/:repo/compare"),repoCommitFile:e("GET","/api/repos/:repo/commit/file"),repoFile:e("GET","/api/repos/:repo/file"),repoBlame:e("GET","/api/repos/:repo/blame"),repoCommitIds:e("GET","/api/repos/:repo/commit-ids"),repoFiles:e("GET","/api/repos/:repo/files"),fetchRepoBase:e("POST","/api/repos/:repo/fetch"),repoConversations:e("GET","/api/repos/:repo/conversations"),repoAuthors:e("GET","/api/repos/:repo/authors"),localImage:e("GET","/api/local-images/:path"),localPage:s("POST","/api/local-pages"),viewTicket:s("POST","/api/view-tickets"),revokeViewTicket:e("DELETE","/api/view-tickets/:ticket"),viewFile:e("GET","/api/view/:name"),filePreview:e("GET","/api/files/:reference"),openLocalFile:s("POST","/api/files/open"),saveFile:e("PUT","/api/files/:reference"),toolImage:e("GET","/api/tool-images/:reference"),mcpAppToolCall:e("GET","/api/mcp-app-calls/:reference"),generatedUi:e("GET","/api/generated-ui/:reference"),generatedUiState:e("GET","/api/generated-ui/:reference/state"),updateGeneratedUiState:e("PUT","/api/generated-ui/:reference/state"),renderUi:e("POST","/api/sessions/:sessionId/generated-ui"),mcpAppSandbox:s("GET","/api/mcp-app-sandbox"),stageAttachment:s("POST","/api/attachments"),stageLocalAttachment:s("POST","/api/attachments/local"),importConversation:s("POST","/api/attachments/import"),localConversations:s("GET","/api/conversation-import/local"),importLocalConversation:s("POST","/api/conversation-import/local"),stagedAttachmentImage:e("GET","/api/attachments/:attachmentId"),discardStagedAttachment:e("DELETE","/api/attachments/:attachmentId"),logs:s("GET","/api/logs"),feedback:s("POST","/api/feedback"),probeExternalPreview:s("POST","/api/external-previews/probe"),resetAgentConnections:s("POST","/api/agents/reset"),restartForUpdate:s("POST","/api/update/restart"),applyUpdate:s("POST","/api/update/apply"),checkForUpdates:s("POST","/api/update/check"),selectUpdateChannel:s("POST","/api/update/channel"),account:s("GET","/api/account"),accountLogin:s("POST","/api/account/login"),accountLoginComplete:s("POST","/api/account/login/complete"),accountLogout:s("POST","/api/account/logout"),accountMcp:s("GET","/api/account/mcp"),enableAccountMcp:s("PUT","/api/account/mcp"),disableAccountMcp:s("DELETE","/api/account/mcp"),revokeAccountMcpGrant:e("DELETE","/api/account/mcp/grants/:grantId"),analyticsConsent:s("GET","/api/analytics"),analyticsTrack:s("POST","/api/analytics"),completeOnboarding:s("POST","/api/onboarding/complete"),nosleep:s("GET","/api/nosleep"),armNoSleep:s("POST","/api/nosleep"),disarmNoSleep:s("DELETE","/api/nosleep"),push:s("GET","/api/push"),pushSubscribe:s("POST","/api/push/subscribe"),pushUnsubscribe:s("POST","/api/push/unsubscribe"),pushTest:s("POST","/api/push/test"),agents:s("GET","/api/agents"),updateAgents:s("PATCH","/api/agents"),agentImportCandidates:s("GET","/api/agents/import"),importAgents:s("POST","/api/agents/import"),updateSavedWorkflows:s("PATCH","/api/saved-workflows"),roleTemplate:e("GET","/api/agents/templates/:slug"),routing:s("GET","/api/routing"),updateRouting:s("PATCH","/api/routing"),updateAutoPreference:s("PATCH","/api/routing/default-auto"),roles:s("GET","/api/roles"),updateRoles:s("PATCH","/api/roles"),delegations:s("GET","/api/delegations"),receiveDelegations:s("POST","/api/delegations/receive"),dismissDelegation:e("DELETE","/api/delegations/:delegationId"),cancelDelegation:e("POST","/api/delegations/:delegationId/cancel"),cancelOwnedDelegation:e("POST","/api/sessions/:sessionId/delegations/cancel"),askDelegationQuestion:e("POST","/api/sessions/:sessionId/delegation-questions"),answerDelegationQuestion:e("POST","/api/sessions/:sessionId/delegation-answers"),wakeDelegation:e("POST","/api/delegations/:delegationId/wake"),workflows:s("POST","/api/workflows"),workflow:e("DELETE","/api/workflows/:workflowId"),workflowDelegation:e("POST","/api/workflows/:workflowId/delegations"),workflowResolution:e("POST","/api/workflows/:workflowId/resolve-assignment"),workflowRetry:e("POST","/api/workflows/:workflowId/retry"),workflowAdopt:e("POST","/api/workflows/:workflowId/adopt"),workflowReplay:e("POST","/api/workflows/:workflowId/replay"),workflowComplete:e("POST","/api/workflows/:workflowId/complete"),workflowDetail:e("GET","/api/workflows/:workflowId"),workflowJobReport:e("GET","/api/workflow-jobs/:jobId/report"),confirmUiStable:s("POST","/api/ui-quarantine/confirm"),runtimeOperation:e("GET","/api/runtime-operations/:operationId"),shutdown:s("POST","/api/shutdown"),importedHistoryRead:e("GET","/api/history/:historyId"),createWorkspace:s("POST","/api/workspaces"),createChat:s("POST","/api/chats"),chatIdentity:e("POST","/api/workspaces/:workspaceId/chat-identity"),workspaceHistory:s("GET","/api/workspaces/history"),renameWorkspace:e("POST","/api/workspaces/:workspaceId/rename"),workspace:e("GET","/api/workspaces/:workspaceId"),sessions:e("GET","/api/workspaces/:workspaceId/sessions"),closedSessions:e("GET","/api/workspaces/:workspaceId/sessions/closed"),newChat:e("POST","/api/workspaces/:workspaceId/sessions"),prepareWorkflowDraft:e("POST","/api/workspaces/:workspaceId/workflow-draft"),diff:e("GET","/api/workspaces/:workspaceId/diff"),diffPaths:e("GET","/api/workspaces/:workspaceId/diff/paths"),fileDiff:e("GET","/api/workspaces/:workspaceId/diff/file"),diffImage:e("GET","/api/workspaces/:workspaceId/diff/image"),workspaceFiles:e("GET","/api/workspaces/:workspaceId/files"),workspaceDirectory:e("GET","/api/workspaces/:workspaceId/directory"),workspacePath:e("GET","/api/workspaces/:workspaceId/path"),previewWorkspaceDiscard:e("GET","/api/workspaces/:workspaceId/files/discard"),discardWorkspaceChanges:e("POST","/api/workspaces/:workspaceId/files/discard"),openWorkspaceFile:e("POST","/api/workspaces/:workspaceId/files/open"),workspaceLaunchers:e("GET","/api/workspaces/:workspaceId/launchers"),openWorkspaceLauncher:e("POST","/api/workspaces/:workspaceId/launchers/open"),pasteWorkspaceTerminal:e("POST","/api/workspaces/:workspaceId/launchers/paste"),terminalSessions:e("GET","/api/workspaces/:workspaceId/terminals"),startTerminalSession:e("POST","/api/workspaces/:workspaceId/terminals"),startTerminalShell:e("POST","/api/workspaces/:workspaceId/terminals/shell"),terminalSession:e("GET","/api/workspaces/:workspaceId/terminals/status"),stopTerminalSession:e("POST","/api/workspaces/:workspaceId/terminals/stop"),terminalAttachment:e("POST","/api/workspaces/:workspaceId/terminals/attachment"),launcherIcon:e("GET","/api/workspaces/:workspaceId/launchers/icon"),refreshWorkspaceGit:e("POST","/api/workspaces/:workspaceId/git/refresh"),pushWorkspace:e("POST","/api/workspaces/:workspaceId/git/push"),workspaceRelease:e("GET","/api/workspaces/:workspaceId/git/release"),workspacePrompts:e("GET","/api/workspaces/:workspaceId/prompts"),workspaceConfig:e("GET","/api/workspaces/:workspaceId/config"),updateWorkspaceConfig:e("PUT","/api/workspaces/:workspaceId/config"),merge:e("POST","/api/workspaces/:workspaceId/merge"),closeoutWorkspace:e("POST","/api/workspaces/:workspaceId/closeout"),continueWorkspace:e("POST","/api/workspaces/:workspaceId/continue"),workspaceStatus:e("POST","/api/workspaces/:workspaceId/status"),renameWorkspaceStatus:e("POST","/api/workspace-statuses/:status/rename"),deleteWorkspaceStatus:e("DELETE","/api/workspace-statuses/:status"),pinWorkspace:e("POST","/api/workspaces/:workspaceId/pin"),retryWorkspaceSetup:e("POST","/api/workspaces/:workspaceId/setup"),archiveWorkspace:e("POST","/api/workspaces/:workspaceId/archive"),archiveJobs:s("GET","/api/workspace-archive-jobs"),inspectArchiveWork:s("POST","/api/workspace-archive-jobs/inspect"),queueArchiveJobs:s("POST","/api/workspace-archive-jobs"),queueCloseoutJobs:s("POST","/api/workspace-archive-jobs/closeout"),confirmArchiveJob:s("POST","/api/workspace-archive-jobs/confirm"),dismissArchiveJobs:s("DELETE","/api/workspace-archive-jobs"),restoreWorkspace:e("POST","/api/workspaces/:workspaceId/restore"),workspaceRecovery:e("GET","/api/workspaces/:workspaceId/recovery"),releaseWorkspaceRecovery:e("POST","/api/workspaces/:workspaceId/recovery"),devServer:e("GET","/api/workspaces/:workspaceId/dev-server"),startDevServer:e("POST","/api/workspaces/:workspaceId/dev-server"),stopDevServer:e("DELETE","/api/workspaces/:workspaceId/dev-server"),devServerLog:e("GET","/api/workspaces/:workspaceId/dev-server/log"),dismissFirstPrompt:e("DELETE","/api/workspaces/:workspaceId/prompt"),nativeSession:e("GET","/api/sessions/:sessionId/native"),opencodeCompactionStatus:e("GET","/api/sessions/:sessionId/opencode-compaction"),opencodeCompact:e("POST","/api/sessions/:sessionId/opencode-compaction"),compactInPlaceStatus:e("GET","/api/sessions/:sessionId/compact-in-place"),compactInPlace:e("POST","/api/sessions/:sessionId/compact-in-place"),nativeConnect:e("POST","/api/sessions/:sessionId/connect"),nativeAnswer:e("POST","/api/sessions/:sessionId/answer"),nativeDismissDelivery:e("DELETE","/api/sessions/:sessionId/delivery"),schedulePrompt:e("POST","/api/sessions/:sessionId/scheduled-prompts"),scheduledPromptAction:e("POST","/api/sessions/:sessionId/scheduled-prompts/action"),promoteQueuedPrompt:e("POST","/api/sessions/:sessionId/delivery/promote"),messages:e("GET","/api/sessions/:sessionId/messages"),messagesAround:e("GET","/api/sessions/:sessionId/around"),chatFind:e("GET","/api/sessions/:sessionId/find"),chatOutputs:e("GET","/api/sessions/:sessionId/outputs"),chatEditedPaths:e("GET","/api/sessions/:sessionId/edited-paths"),context:e("GET","/api/sessions/:sessionId/context"),models:e("GET","/api/sessions/:sessionId/models"),commands:e("GET","/api/sessions/:sessionId/commands"),mcpAppResource:e("POST","/api/sessions/:sessionId/mcp-apps/resource"),mcpAppRead:e("POST","/api/sessions/:sessionId/mcp-apps/read"),mcpAppCallTool:e("POST","/api/sessions/:sessionId/mcp-apps/call"),mcpSignInState:e("POST","/api/sessions/:sessionId/mcp-sign-in/state"),mcpSignInStart:e("POST","/api/sessions/:sessionId/mcp-sign-in/start"),defaultModel:e("POST","/api/sessions/:sessionId/default-model"),agent:e("POST","/api/sessions/:sessionId/agent"),stop:e("POST","/api/sessions/:sessionId/stop"),closeChat:e("DELETE","/api/sessions/:sessionId"),renameChat:e("POST","/api/sessions/:sessionId/rename"),markChatUnread:e("POST","/api/sessions/:sessionId/unread"),restoreChat:e("POST","/api/sessions/:sessionId/restore"),sendPrompt:e("POST","/api/sessions/:sessionId/prompt"),sideQuestion:e("POST","/api/sessions/:sessionId/side-question"),requestQuestionForm:e("POST","/api/sessions/:sessionId/question-form"),questionForm:e("GET","/api/sessions/:sessionId/question-form"),sideQuestions:e("GET","/api/sessions/:sessionId/side-questions"),sideQuestionAction:e("POST","/api/sessions/:sessionId/side-question/action"),uploadAttachment:e("POST","/api/sessions/:sessionId/attachments"),importLocalAttachment:e("POST","/api/sessions/:sessionId/attachments/local"),materializeAttachments:e("POST","/api/sessions/:sessionId/attachments/staged"),splitChat:e("POST","/api/sessions/:sessionId/split"),transcriptAttachment:e("POST","/api/sessions/:sessionId/transcript"),joinChatHistory:e("POST","/api/sessions/:sessionId/history"),delegateTask:e("POST","/api/sessions/:sessionId/delegate"),roleActions:e("GET","/api/sessions/:sessionId/role-actions"),runRoleAction:e("POST","/api/sessions/:sessionId/role-actions"),reportBack:e("GET","/api/sessions/:sessionId/report-back"),shareReportBack:e("POST","/api/sessions/:sessionId/report-back"),dismissParkedPrompt:e("DELETE","/api/sessions/:sessionId/prompt")},l=new Set(Object.values(d).filter(a=>!("re"in a)).map(a=>`${a.method} ${a.pattern}`));function u(a,o,p){return o===a.method&&p===a.pattern}i(u,"isRoute");function m(a,o,p){if(o!==a.method||l.has(`${o} ${p}`))return null;const t=p.match(a.re);return t?decodeURIComponent(t[1]):null}i(m,"routeParam");export{w as APP_RPC_PATH,k as NAVIGATION_PATH,u as isRoute,m as routeParam,d as routes};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@farero-ai/core",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"description": "Shared API route contracts for local coding-agent applications.",
|
|
@@ -42,6 +42,10 @@
|
|
|
42
42
|
"types": "./dist/app-link.d.ts",
|
|
43
43
|
"import": "./dist/app-link.js"
|
|
44
44
|
},
|
|
45
|
+
"./mcp-clients": {
|
|
46
|
+
"types": "./dist/mcp-clients.d.ts",
|
|
47
|
+
"import": "./dist/mcp-clients.js"
|
|
48
|
+
},
|
|
45
49
|
"./tray": {
|
|
46
50
|
"types": "./dist/tray.d.ts",
|
|
47
51
|
"import": "./dist/tray.js"
|