@smart-tools/t3-code-pixso-mcp-assistant 1.0.1 → 1.0.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.
@@ -1,3 +1,4 @@
1
- import { N as PixsoAssistantConfig, P as PixsoAssistantConfigShape, g as PixsoMcpLive, n as PixsoAssistantLive, r as PixsoAssistantShape, t as PixsoAssistant } from "../PixsoAssistantService-BWdD4LmW.mjs";
2
- import { n as configurePixsoAssistantLocale, t as PixsoAssistantLocale } from "../localization-C6n18NsP.mjs";
3
- export { PixsoAssistant, PixsoAssistantConfig, type PixsoAssistantConfigShape, PixsoAssistantLive, type PixsoAssistantLocale, type PixsoAssistantShape, PixsoMcpLive, configurePixsoAssistantLocale };
1
+ import { L as PixsoAssistantConfig, R as PixsoAssistantConfigShape, a as PixsoAssistantShape, b as PixsoMcpLive, n as PixsoAssistantLive, t as PixsoAssistant } from "../PixsoAssistantService-CECSOLYb.mjs";
2
+ import { FontMetrics, GlyphMetricsProvider, PixsoAssistantLocale, configureGlyphMetrics, configurePixsoAssistantLocale } from "@smart-tools/pixso-core";
3
+ import { ACCESS_DENIED_TEXT } from "@smart-tools/pixso-core/node";
4
+ export { ACCESS_DENIED_TEXT, type FontMetrics, type GlyphMetricsProvider, PixsoAssistant, PixsoAssistantConfig, type PixsoAssistantConfigShape, PixsoAssistantLive, type PixsoAssistantLocale, type PixsoAssistantShape, PixsoMcpLive, configureGlyphMetrics, configurePixsoAssistantLocale };
@@ -1 +1 @@
1
- import"../panel-DWzV5ian.mjs";import{S as e,b as t,n,t as r}from"../PixsoAssistantService-DE6ZFSfz.mjs";import{S as i}from"../renderPreview-BNqmGtPz.mjs";export{r as PixsoAssistant,t as PixsoAssistantConfig,n as PixsoAssistantLive,e as PixsoMcpLive,i as configurePixsoAssistantLocale};
1
+ import"../panel-DDqwWCE7.mjs";import{S as e,n as t,t as n,w as r}from"../PixsoAssistantService-x1jLli4a.mjs";import{configureGlyphMetrics as i,configurePixsoAssistantLocale as a}from"@smart-tools/pixso-core";import{ACCESS_DENIED_TEXT as o}from"@smart-tools/pixso-core/node";export{o as ACCESS_DENIED_TEXT,n as PixsoAssistant,e as PixsoAssistantConfig,t as PixsoAssistantLive,r as PixsoMcpLive,i as configureGlyphMetrics,a as configurePixsoAssistantLocale};
@@ -1,2 +1,3 @@
1
- import { A as ScanStore, C as normalizeContractPath, D as PersistScanInput, E as sameGeneration, M as ScanStoreShape, N as PixsoAssistantConfig, O as PersistScanResult, P as PixsoAssistantConfigShape, S as normalizeCatalogContractPath, T as RAW_DSL_KEEP, _ as PixsoMcpShape, a as summaryFromCard, b as ContractManifestEntry, c as ProbeShape, d as settleWins, f as ScanJob, g as PixsoMcpLive, h as PixsoMcp, i as isStagedName, j as ScanStoreLive, k as ReparseRebuild, l as SettleLatchState, m as ScanJobShape, n as PixsoAssistantLive, o as Probe, p as ScanJobLive, r as PixsoAssistantShape, s as ProbeLive, t as PixsoAssistant, u as initialSettleLatch, v as makePixsoMcp, w as RAW_CATALOG_KEEP, x as DSL_CONTRACT_MANIFEST, y as CATALOG_CONTRACT_MANIFEST } from "../PixsoAssistantService-BWdD4LmW.mjs";
2
- export { CATALOG_CONTRACT_MANIFEST, type ContractManifestEntry, DSL_CONTRACT_MANIFEST, type PersistScanInput, type PersistScanResult, PixsoAssistant, PixsoAssistantConfig, type PixsoAssistantConfigShape, PixsoAssistantLive, type PixsoAssistantShape, PixsoMcp, PixsoMcpLive, type PixsoMcpShape, Probe, ProbeLive, type ProbeShape, RAW_CATALOG_KEEP, RAW_DSL_KEEP, type ReparseRebuild, ScanJob, ScanJobLive, type ScanJobShape, ScanStore, ScanStoreLive, type ScanStoreShape, type SettleLatchState, initialSettleLatch, isStagedName, makePixsoMcp, normalizeCatalogContractPath, normalizeContractPath, sameGeneration, settleWins, summaryFromCard };
1
+ import { A as sameGeneration, C as PixsoRemoteMcpShape, D as RAW_DSL_BUDGET, E as RAW_CATALOG_KEEP, F as ScanStoreLive, I as ScanStoreShape, L as PixsoAssistantConfig, M as PersistScanResult, N as ReparseRebuild, O as RAW_DSL_KEEP, P as ScanStore, R as PixsoAssistantConfigShape, S as PixsoRemoteMcp, T as RAW_CATALOG_BUDGET, _ as NodesFetchPolicyLive, a as PixsoAssistantShape, b as PixsoMcpLive, c as ProbeLive, d as initialSettleLatch, f as settleWins, g as NodesFetchPolicy, h as ScanJobShape, i as PixsoAssistantLiveWithRemoteMcp, j as PersistScanInput, k as budgetEvictions, l as ProbeShape, m as ScanJobLive, n as PixsoAssistantLive, o as isStagedName, p as ScanJob, r as PixsoAssistantLiveWithNodesFetchPolicy, s as Probe, t as PixsoAssistant, u as SettleLatchState, v as NodesFetchPolicyShape, w as makePixsoMcp, x as PixsoMcpShape, y as PixsoMcp } from "../PixsoAssistantService-CECSOLYb.mjs";
2
+ import { CatalogInput, MAX_DSL_BYTES, NoCardReason, PreCatalog, ScanFromRaw, ScanStage, postCatalogGates, preCatalogGates, scanFromRaw, summaryFromCard } from "@smart-tools/pixso-core/node";
3
+ export { type CatalogInput, MAX_DSL_BYTES, type NoCardReason, NodesFetchPolicy, NodesFetchPolicyLive, type NodesFetchPolicyShape, type PersistScanInput, type PersistScanResult, PixsoAssistant, PixsoAssistantConfig, type PixsoAssistantConfigShape, PixsoAssistantLive, PixsoAssistantLiveWithNodesFetchPolicy, PixsoAssistantLiveWithRemoteMcp, type PixsoAssistantShape, PixsoMcp, PixsoMcpLive, type PixsoMcpShape, PixsoRemoteMcp, type PixsoRemoteMcpShape, type PreCatalog, Probe, ProbeLive, type ProbeShape, RAW_CATALOG_BUDGET, RAW_CATALOG_KEEP, RAW_DSL_BUDGET, RAW_DSL_KEEP, type ReparseRebuild, type ScanFromRaw, ScanJob, ScanJobLive, type ScanJobShape, type ScanStage, ScanStore, ScanStoreLive, type ScanStoreShape, type SettleLatchState, budgetEvictions, initialSettleLatch, isStagedName, makePixsoMcp, postCatalogGates, preCatalogGates, sameGeneration, scanFromRaw, settleWins, summaryFromCard };
@@ -1 +1 @@
1
- import"../panel-DWzV5ian.mjs";import{C as e,S as t,_ as n,a as r,b as i,c as a,d as o,f as s,g as c,h as l,i as u,l as d,m as f,n as p,o as m,p as h,r as g,s as _,t as v,u as y,v as b,x,y as S}from"../PixsoAssistantService-DE6ZFSfz.mjs";export{d as CATALOG_CONTRACT_MANIFEST,y as DSL_CONTRACT_MANIFEST,v as PixsoAssistant,i as PixsoAssistantConfig,p as PixsoAssistantLive,x as PixsoMcp,t as PixsoMcpLive,_ as Probe,a as ProbeLive,l as RAW_CATALOG_KEEP,c as RAW_DSL_KEEP,g as ScanJob,u as ScanJobLive,h as ScanStore,f as ScanStoreLive,r as initialSettleLatch,S as isStagedName,e as makePixsoMcp,o as normalizeCatalogContractPath,s as normalizeContractPath,n as sameGeneration,m as settleWins,b as summaryFromCard};
1
+ import"../panel-DDqwWCE7.mjs";import{C as e,E as t,S as n,T as r,_ as i,a,b as o,c as s,d as c,f as l,g as u,h as d,i as f,l as p,m,n as h,o as g,p as _,r as v,s as y,t as b,u as x,v as S,w as C,x as w,y as T}from"../PixsoAssistantService-x1jLli4a.mjs";import{MAX_DSL_BYTES as E,postCatalogGates as D,preCatalogGates as O,scanFromRaw as k,summaryFromCard as A}from"@smart-tools/pixso-core/node";export{E as MAX_DSL_BYTES,o as NodesFetchPolicy,w as NodesFetchPolicyLive,b as PixsoAssistant,n as PixsoAssistantConfig,h as PixsoAssistantLive,v as PixsoAssistantLiveWithNodesFetchPolicy,f as PixsoAssistantLiveWithRemoteMcp,e as PixsoMcp,C as PixsoMcpLive,r as PixsoRemoteMcp,p as Probe,x as ProbeLive,_ as RAW_CATALOG_BUDGET,m as RAW_CATALOG_KEEP,d as RAW_DSL_BUDGET,u as RAW_DSL_KEEP,a as ScanJob,g as ScanJobLive,c as ScanStore,l as ScanStoreLive,i as budgetEvictions,y as initialSettleLatch,T as isStagedName,t as makePixsoMcp,D as postCatalogGates,O as preCatalogGates,S as sameGeneration,k as scanFromRaw,s as settleWins,A as summaryFromCard};
@@ -1,5 +1,5 @@
1
- import { E as CatalogSnapshot, b as GroupsMutateOp, l as ReparseResult, n as LatestScanReport, o as ProbeResult, t as CheckResult, u as ScanJobState, w as CardDetail, x as PanelSnapshot } from "../scan-CjlRisOD.mjs";
2
- import { n as configurePixsoAssistantLocale, t as PixsoAssistantLocale } from "../localization-C6n18NsP.mjs";
1
+ import { O as CardDetail, T as PanelSnapshot, d as RemoteToolsListResult, f as ReparseResult, j as CatalogSnapshot, l as RemoteCheckResult, m as ScanOrigin, n as LatestScanReport, o as ProbeResult, p as ScanJobState, t as CheckResult, u as RemoteTarget, w as GroupsMutateOp } from "../scan-B_SM6uoL.mjs";
2
+ import { PixsoAssistantLocale, configurePixsoAssistantLocale } from "@smart-tools/pixso-core";
3
3
  import * as react from "react";
4
4
  import * as import__smart_tools_qwen_cli_ui_kit from "@smart-tools/qwen-cli-ui-kit";
5
5
  declare function PixsoAssistantPanel({
@@ -31,16 +31,29 @@ interface PixsoAssistantClient {
31
31
  readonly cardRaw: (id: string) => Promise<{
32
32
  readonly raw: string;
33
33
  }>;
34
+ readonly cardImage: (id: string) => Promise<{
35
+ readonly pngBase64: string;
36
+ }>;
34
37
  readonly catalog: (catalogHash: string) => Promise<CatalogSnapshot>;
35
38
  readonly removeCard: (id: string) => Promise<void>;
36
39
  readonly groupsMutate: (mutation: GroupsMutateOp) => Promise<void>;
37
40
  readonly reportLatest: () => Promise<LatestScanReport | null>;
38
- readonly scanStart: () => Promise<ScanJobState>;
41
+ readonly scanStart: (target?: RemoteTarget) => Promise<ScanJobState>;
42
+ readonly scanCancel: (origin?: ScanOrigin) => Promise<ScanJobState>;
39
43
  readonly check: () => Promise<CheckResult>;
40
44
  readonly probe: () => Promise<ProbeResult>;
41
45
  readonly rescanDebug: () => Promise<LatestScanReport>;
42
46
  readonly reparse: () => Promise<ReparseResult>;
43
47
  readonly subscribeScan: (listener: (state: ScanJobState) => void) => () => void;
48
+ readonly remoteTokenCheck: (token?: string) => Promise<RemoteCheckResult>;
49
+ readonly remoteTokenSave: (token: string) => Promise<{
50
+ readonly tokenSet: boolean;
51
+ }>;
52
+ readonly remoteTokenDelete: () => Promise<void>;
53
+ readonly remoteModeSet: (remoteByDefault: boolean) => Promise<void>;
54
+ readonly remoteToolsList: () => Promise<RemoteToolsListResult>;
55
+ readonly remoteScanProbe: (target: RemoteTarget) => Promise<LatestScanReport>;
56
+ readonly remoteFullProbe: (target: RemoteTarget) => Promise<ProbeResult>;
44
57
  }
45
58
  interface PixsoComposerPort {
46
59
  readonly addReviewComment: (target: ComposerThreadTarget, comment: ReviewCommentContext) => void;