@webskill/sdk 0.27.0 → 0.27.1

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/agent.d.ts CHANGED
@@ -1,3 +1,3 @@
1
1
  import { D as DEFAULT_MAX_DATA_SOURCE_BYTES } from "./index-D6eSrEi5.js";
2
- import { $ as DownloadedFileEntry, $n as SkillBinaryPayload, $r as XlsxTableReader, $t as PERCEPTION_PAGING_DEFAULTS, A as DataSourceRecord, Ai as isRangeTopLeft, An as PerceptionAuditSink, Ar as TemplateFillRejection, At as FILL_TEMPLATE_TOOL, B as DocumentFileSource, Bi as toFrameScopes, Bn as QUERY_TABLE_TOOL, Br as TodoItem, Bt as LIST_PAGE_TABS_TOOL, C as DataSourceCandidateRecord, Ci as dwgPickView, Cn as ParentBudget, Cr as TabWorksetToolSourceOptions, Ct as DwgView, D as DataSourcePolicy, Di as frameLabel, Dn as PdfTextQuality, Dr as TableWorkbook, Dt as EMU_PER_TWIP, E as DataSourceKind, Ei as formatCellAddress, En as PdfPageImage, Er as TableSource, Et as EMU_PER_POINT, F as DelegationRequest, Fi as rangeContains, Fn as PerceptionScope, Fr as TemplateSheetBlanks, Ft as GeneratedSkillDraft, G as DocumentToolSourceOptions, Gn as RemoteImageResult, Gr as TodoToolSourceOptions, Gt as OpenedTabSignal, H as DocumentImageRole, Hn as READ_DOWNLOADED_FILE_TOOL, Hr as TodoListener, Ht as MAX_DIGIT_WIDTH, I as DelegationResult, Ii as readImageSize, In as PerceptionScopeInput, Ir as TemplateSheetSkeleton, It as HttpDataSourceOptions, J as DocxTemplateEngine, Jn as SCROLL_DIRECTIONS, Jr as WorksetTabView, Jt as PAGE_ACTION_TOOL, K as DocxDocumentContent, Kn as RemoteImageToolSourceOptions, Kr as VIEW_DWG_TOOL, Kt as PAGE_ACTION_KINDS, L as DelegationToolSourceOptions, Li as sniffDocumentFormat, Ln as PptxDocumentContent, Lr as TemplateTableCellSkeleton, Lt as INSPECT_TEMPLATE_TOOL, M as DelegationBudget, Mi as parseCellAddress, Mn as PerceptionPagingBudget, Mr as TemplateImageBytes, Mt as FrameNote, N as DelegationOrchestrator, Ni as parseCellRange, Nn as PerceptionRecord, Nr as TemplateImageResolver, Nt as FrameScope, O as DataSourcePolicyOptions, Oi as frameSteps, On as PerceivedImage, Or as TemplateCellSkeleton, Ot as EXPORT_SPREADSHEET_TOOL, P as DelegationOrchestratorOptions, Pi as profileTable, Pn as PerceptionResult, Pr as TemplateParagraphSkeleton, Pt as GENERATE_SKILL_TOOL, Q as DownloadedFileConsent, Qn as SkillAttachmentBytes, Qr as XlsxSheetContent, Qt as PERCEIVE_PAGE_TOOL, R as DocumentBlock, Ri as takesImage, Rn as PptxDocumentReader, Rr as TemplateToolSourceOptions, Rt as ImageCaptureBudget, S as DataSourceCandidatePolicyOptions, Si as defersImage, Sn as PagePerceptionToolSourceOptions, Sr as TabWorksetPort, St as DwgUnits, T as DataSourceDef, Ti as fitWithin, Tn as PdfDocumentReader, Tr as TableSheet, Tt as EMU_PER_PIXEL, U as DocumentReadBudget, Un as RemoteImageFetch, Ur as TodoStatus, Ut as NestedFrameRef, V as DocumentFormat, Vi as withDelegationOrigin, Vn as READ_DOCUMENT_TOOL, Vr as TodoList, Vt as MANAGE_TODO_TOOL, W as DocumentReadMode, Wn as RemoteImageFetchFailure, Wr as TodoStore, Wt as OpenedPageInfo, X as DocxTemplateSkeleton, Xn as ScrollDirection, Xr as XlsxDocumentReader, Xt as PDF_GARBLED_RATIO, Y as DocxTemplateFillSpec, Yn as SKILL_GENERATION_SYSTEM_PROMPT, Yr as XlsxDocumentContent, Yt as PAGE_DOCUMENT_REF, Z as DownloadedFileAction, Zn as Size, Zr as XlsxFillOutcome, Zt as PDF_LARGE_IMAGE_RATIO, _ as DWG_MODEL_VIEW_ID, _i as createSpreadsheetToolSource, _n as PageImageResult, _r as TEMPLATE_INSPECT_BUDGET, _t as DwgOmission, a as ActionTabWindow, ai as clampWorksetMax, an as PageActionPolicy, ar as SkillGenerator, at as DownloadedFileRecord, b as DataSourceCandidateAuditSink, bi as createTemplateToolSource, bn as PagePerceptionPolicyOptions, br as TabWorksetPolicy, bt as DwgProjection, c as CellAddress, ci as createDocumentToolSource, cn as PageActionRequest, cr as SkillTraceEvidenceStep, ct as DwgComponent, d as DELEGATE_TASK_TOOL, di as createHttpDataSourceTransport, dn as PageActionTarget, dr as SubAgentRunner, dt as DwgEntity, ei as XlsxTemplateEngine, en as PERCEPTION_SYSTEM_PROMPT, er as SkillCandidateSink, et as DownloadedFileListing, f as DELEGATION_SYSTEM_PROMPT, fi as createPageActionToolSource, fn as PageActionToolSourceOptions, fr as SubtreeRejection, ft as DwgFill, g as DOWNLOAD_WAIT_MIN_MS, gi as createSkillGenerationToolSource, gn as PageImageFailure, gr as TAB_WORKSET_SYSTEM_PROMPT, gt as DwgLoadedDrawing, h as DOWNLOAD_WAIT_MAX_MS, hi as createRemoteImageToolSource, hn as PageImageCapture, hr as TAB_WORKSET_MIN_MAX, ht as DwgLayer, i as ActionTabWatcher, ii as clampDownloadWaitMs, in as PageActionOutcome, ir as SkillGenerationToolSourceOptions, it as DownloadedFileReader, j as DataSourceTransport, ji as measurePdfTextQuality, jn as PerceptionCaptureOptions, jr as TemplateFillWarning, jt as FOCUS_PAGE_TAB_TOOL, k as DataSourceProvenance, ki as isPdfTextTrustworthy, kn as PerceivedNode, kr as TemplateFileSource, kt as FETCH_REMOTE_IMAGE_TOOL, l as CellRange, li as createDownloadedFileToolSource, ln as PageActionScope, lr as SpreadsheetToolSourceOptions, lt as DwgDocumentContent, m as DOWNLOAD_WAIT_DEFAULT_MS, mi as createPagePerceptionToolSource, mn as PageAuditSink, mr as TAB_WORKSET_MAX_MAX, mt as DwgGeometry, n as ActionDownloadWindow, ni as XlsxTemplateSkeleton, nn as PageActionExecutor, nr as SkillGenerationOutcome, nt as DownloadedFilePolicyOptions, o as CAPTURE_PAGE_IMAGE_TOOL, oi as columnWidthToPixels, on as PageActionPolicyOptions, or as SkillGeneratorOptions, ot as DownloadedFileToolSourceOptions, p as DOCUMENT_READ_BUDGET, pi as createPageImageToolSource, pn as PageActionUi, pr as TAB_WORKSET_DEFAULT_MAX, pt as DwgFont, q as DocxDocumentReader, qn as RenderedImage, qr as WorksetTab, qt as PAGE_ACTION_SYSTEM_PROMPT, r as ActionFrameScope, ri as asReadMode, rn as PageActionKind, rr as SkillGenerationPolicy, rt as DownloadedFileReadResult, s as CLOSE_PAGE_TAB_TOOL, si as createDelegationToolSource, sn as PageActionRecord, sr as SkillTraceEvidence, st as DwgBounds, t as ActionDownloadWatcher, ti as XlsxTemplateFillSpec, tn as PageActionConsent, tr as SkillGenerationMessages, tt as DownloadedFilePolicy, u as ConsentUi, ui as createDwgToolSource, un as PageActionScopeInput, ur as SubAgentRunInput, ut as DwgDocumentReader, v as DataSourceAuditSink, vi as createTabWorksetToolSource, vn as PageImageToolSourceOptions, vr as TODO_SYSTEM_PROMPT, vt as DwgPoint, w as DataSourceCandidateStore, wi as dwgViewsOf, wn as PdfDocumentHandle, wr as TableQueryToolSourceOptions, wt as DwgViewport, x as DataSourceCandidatePolicy, xi as createTodoToolSource, xn as PagePerceptionReader, xr as TabWorksetPolicyOptions, xt as DwgToolSourceOptions, y as DataSourceCandidate, yi as createTableQueryToolSource, yn as PagePerceptionPolicy, yr as TabAdmission, yt as DwgProjectedDrawing, z as DocumentFileBytes, zi as toActionFrameScopes, zn as PptxSlideContent, zr as TodoEvent, zt as LIST_DOWNLOADED_FILES_TOOL } from "./index-QKiMepxO.js";
2
+ import { $ as DownloadedFileEntry, $n as SkillBinaryPayload, $r as XlsxTableReader, $t as PERCEPTION_PAGING_DEFAULTS, A as DataSourceRecord, Ai as isRangeTopLeft, An as PerceptionAuditSink, Ar as TemplateFillRejection, At as FILL_TEMPLATE_TOOL, B as DocumentFileSource, Bi as toFrameScopes, Bn as QUERY_TABLE_TOOL, Br as TodoItem, Bt as LIST_PAGE_TABS_TOOL, C as DataSourceCandidateRecord, Ci as dwgPickView, Cn as ParentBudget, Cr as TabWorksetToolSourceOptions, Ct as DwgView, D as DataSourcePolicy, Di as frameLabel, Dn as PdfTextQuality, Dr as TableWorkbook, Dt as EMU_PER_TWIP, E as DataSourceKind, Ei as formatCellAddress, En as PdfPageImage, Er as TableSource, Et as EMU_PER_POINT, F as DelegationRequest, Fi as rangeContains, Fn as PerceptionScope, Fr as TemplateSheetBlanks, Ft as GeneratedSkillDraft, G as DocumentToolSourceOptions, Gn as RemoteImageResult, Gr as TodoToolSourceOptions, Gt as OpenedTabSignal, H as DocumentImageRole, Hn as READ_DOWNLOADED_FILE_TOOL, Hr as TodoListener, Ht as MAX_DIGIT_WIDTH, I as DelegationResult, Ii as readImageSize, In as PerceptionScopeInput, Ir as TemplateSheetSkeleton, It as HttpDataSourceOptions, J as DocxTemplateEngine, Jn as SCROLL_DIRECTIONS, Jr as WorksetTabView, Jt as PAGE_ACTION_TOOL, K as DocxDocumentContent, Kn as RemoteImageToolSourceOptions, Kr as VIEW_DWG_TOOL, Kt as PAGE_ACTION_KINDS, L as DelegationToolSourceOptions, Li as sniffDocumentFormat, Ln as PptxDocumentContent, Lr as TemplateTableCellSkeleton, Lt as INSPECT_TEMPLATE_TOOL, M as DelegationBudget, Mi as parseCellAddress, Mn as PerceptionPagingBudget, Mr as TemplateImageBytes, Mt as FrameNote, N as DelegationOrchestrator, Ni as parseCellRange, Nn as PerceptionRecord, Nr as TemplateImageResolver, Nt as FrameScope, O as DataSourcePolicyOptions, Oi as frameSteps, On as PerceivedImage, Or as TemplateCellSkeleton, Ot as EXPORT_SPREADSHEET_TOOL, P as DelegationOrchestratorOptions, Pi as profileTable, Pn as PerceptionResult, Pr as TemplateParagraphSkeleton, Pt as GENERATE_SKILL_TOOL, Q as DownloadedFileConsent, Qn as SkillAttachmentBytes, Qr as XlsxSheetContent, Qt as PERCEIVE_PAGE_TOOL, R as DocumentBlock, Ri as takesImage, Rn as PptxDocumentReader, Rr as TemplateToolSourceOptions, Rt as ImageCaptureBudget, S as DataSourceCandidatePolicyOptions, Si as defersImage, Sn as PagePerceptionToolSourceOptions, Sr as TabWorksetPort, St as DwgUnits, T as DataSourceDef, Ti as fitWithin, Tn as PdfDocumentReader, Tr as TableSheet, Tt as EMU_PER_PIXEL, U as DocumentReadBudget, Un as RemoteImageFetch, Ur as TodoStatus, Ut as NestedFrameRef, V as DocumentFormat, Vi as withDelegationOrigin, Vn as READ_DOCUMENT_TOOL, Vr as TodoList, Vt as MANAGE_TODO_TOOL, W as DocumentReadMode, Wn as RemoteImageFetchFailure, Wr as TodoStore, Wt as OpenedPageInfo, X as DocxTemplateSkeleton, Xn as ScrollDirection, Xr as XlsxDocumentReader, Xt as PDF_GARBLED_RATIO, Y as DocxTemplateFillSpec, Yn as SKILL_GENERATION_SYSTEM_PROMPT, Yr as XlsxDocumentContent, Yt as PAGE_DOCUMENT_REF, Z as DownloadedFileAction, Zn as Size, Zr as XlsxFillOutcome, Zt as PDF_LARGE_IMAGE_RATIO, _ as DWG_MODEL_VIEW_ID, _i as createSpreadsheetToolSource, _n as PageImageResult, _r as TEMPLATE_INSPECT_BUDGET, _t as DwgOmission, a as ActionTabWindow, ai as clampWorksetMax, an as PageActionPolicy, ar as SkillGenerator, at as DownloadedFileRecord, b as DataSourceCandidateAuditSink, bi as createTemplateToolSource, bn as PagePerceptionPolicyOptions, br as TabWorksetPolicy, bt as DwgProjection, c as CellAddress, ci as createDocumentToolSource, cn as PageActionRequest, cr as SkillTraceEvidenceStep, ct as DwgComponent, d as DELEGATE_TASK_TOOL, di as createHttpDataSourceTransport, dn as PageActionTarget, dr as SubAgentRunner, dt as DwgEntity, ei as XlsxTemplateEngine, en as PERCEPTION_SYSTEM_PROMPT, er as SkillCandidateSink, et as DownloadedFileListing, f as DELEGATION_SYSTEM_PROMPT, fi as createPageActionToolSource, fn as PageActionToolSourceOptions, fr as SubtreeRejection, ft as DwgFill, g as DOWNLOAD_WAIT_MIN_MS, gi as createSkillGenerationToolSource, gn as PageImageFailure, gr as TAB_WORKSET_SYSTEM_PROMPT, gt as DwgLoadedDrawing, h as DOWNLOAD_WAIT_MAX_MS, hi as createRemoteImageToolSource, hn as PageImageCapture, hr as TAB_WORKSET_MIN_MAX, ht as DwgLayer, i as ActionTabWatcher, ii as clampDownloadWaitMs, in as PageActionOutcome, ir as SkillGenerationToolSourceOptions, it as DownloadedFileReader, j as DataSourceTransport, ji as measurePdfTextQuality, jn as PerceptionCaptureOptions, jr as TemplateFillWarning, jt as FOCUS_PAGE_TAB_TOOL, k as DataSourceProvenance, ki as isPdfTextTrustworthy, kn as PerceivedNode, kr as TemplateFileSource, kt as FETCH_REMOTE_IMAGE_TOOL, l as CellRange, li as createDownloadedFileToolSource, ln as PageActionScope, lr as SpreadsheetToolSourceOptions, lt as DwgDocumentContent, m as DOWNLOAD_WAIT_DEFAULT_MS, mi as createPagePerceptionToolSource, mn as PageAuditSink, mr as TAB_WORKSET_MAX_MAX, mt as DwgGeometry, n as ActionDownloadWindow, ni as XlsxTemplateSkeleton, nn as PageActionExecutor, nr as SkillGenerationOutcome, nt as DownloadedFilePolicyOptions, o as CAPTURE_PAGE_IMAGE_TOOL, oi as columnWidthToPixels, on as PageActionPolicyOptions, or as SkillGeneratorOptions, ot as DownloadedFileToolSourceOptions, p as DOCUMENT_READ_BUDGET, pi as createPageImageToolSource, pn as PageActionUi, pr as TAB_WORKSET_DEFAULT_MAX, pt as DwgFont, q as DocxDocumentReader, qn as RenderedImage, qr as WorksetTab, qt as PAGE_ACTION_SYSTEM_PROMPT, r as ActionFrameScope, ri as asReadMode, rn as PageActionKind, rr as SkillGenerationPolicy, rt as DownloadedFileReadResult, s as CLOSE_PAGE_TAB_TOOL, si as createDelegationToolSource, sn as PageActionRecord, sr as SkillTraceEvidence, st as DwgBounds, t as ActionDownloadWatcher, ti as XlsxTemplateFillSpec, tn as PageActionConsent, tr as SkillGenerationMessages, tt as DownloadedFilePolicy, u as ConsentUi, ui as createDwgToolSource, un as PageActionScopeInput, ur as SubAgentRunInput, ut as DwgDocumentReader, v as DataSourceAuditSink, vi as createTabWorksetToolSource, vn as PageImageToolSourceOptions, vr as TODO_SYSTEM_PROMPT, vt as DwgPoint, w as DataSourceCandidateStore, wi as dwgViewsOf, wn as PdfDocumentHandle, wr as TableQueryToolSourceOptions, wt as DwgViewport, x as DataSourceCandidatePolicy, xi as createTodoToolSource, xn as PagePerceptionReader, xr as TabWorksetPolicyOptions, xt as DwgToolSourceOptions, y as DataSourceCandidate, yi as createTableQueryToolSource, yn as PagePerceptionPolicy, yr as TabAdmission, yt as DwgProjectedDrawing, z as DocumentFileBytes, zi as toActionFrameScopes, zn as PptxSlideContent, zr as TodoEvent, zt as LIST_DOWNLOADED_FILES_TOOL } from "./index--GvzV6Lq.js";
3
3
  export { type ActionDownloadWatcher, type ActionDownloadWindow, type ActionFrameScope, type ActionTabWatcher, type ActionTabWindow, CAPTURE_PAGE_IMAGE_TOOL, CLOSE_PAGE_TAB_TOOL, type CellAddress, type CellRange, type ConsentUi, DEFAULT_MAX_DATA_SOURCE_BYTES, DELEGATE_TASK_TOOL, DELEGATION_SYSTEM_PROMPT, DOCUMENT_READ_BUDGET, DOWNLOAD_WAIT_DEFAULT_MS, DOWNLOAD_WAIT_MAX_MS, DOWNLOAD_WAIT_MIN_MS, DWG_MODEL_VIEW_ID, type DataSourceAuditSink, type DataSourceCandidate, type DataSourceCandidateAuditSink, DataSourceCandidatePolicy, type DataSourceCandidatePolicyOptions, type DataSourceCandidateRecord, type DataSourceCandidateStore, type DataSourceDef, type DataSourceKind, DataSourcePolicy, type DataSourcePolicyOptions, type DataSourceProvenance, type DataSourceRecord, type DataSourceTransport, type DelegationBudget, DelegationOrchestrator, type DelegationOrchestratorOptions, type DelegationRequest, type DelegationResult, type DelegationToolSourceOptions, type DocumentBlock, type DocumentFileBytes, type DocumentFileSource, type DocumentFormat, type DocumentImageRole, type DocumentReadBudget, type DocumentReadMode, type DocumentToolSourceOptions, type DocxDocumentContent, type DocxDocumentReader, type DocxTemplateEngine, type DocxTemplateFillSpec, type DocxTemplateSkeleton, type DownloadedFileAction, type DownloadedFileConsent, type DownloadedFileEntry, type DownloadedFileListing, DownloadedFilePolicy, type DownloadedFilePolicyOptions, type DownloadedFileReadResult, type DownloadedFileReader, type DownloadedFileRecord, type DownloadedFileToolSourceOptions, type DwgBounds, type DwgComponent, type DwgDocumentContent, type DwgDocumentReader, type DwgEntity, type DwgFill, type DwgFont, type DwgGeometry, type DwgLayer, type DwgLoadedDrawing, type DwgOmission, type DwgPoint, type DwgProjectedDrawing, type DwgProjection, type DwgToolSourceOptions, type DwgUnits, type DwgView, type DwgViewport, EMU_PER_PIXEL, EMU_PER_POINT, EMU_PER_TWIP, EXPORT_SPREADSHEET_TOOL, FETCH_REMOTE_IMAGE_TOOL, FILL_TEMPLATE_TOOL, FOCUS_PAGE_TAB_TOOL, type FrameNote, type FrameScope, GENERATE_SKILL_TOOL, type GeneratedSkillDraft, type HttpDataSourceOptions, INSPECT_TEMPLATE_TOOL, type ImageCaptureBudget, LIST_DOWNLOADED_FILES_TOOL, LIST_PAGE_TABS_TOOL, MANAGE_TODO_TOOL, MAX_DIGIT_WIDTH, type NestedFrameRef, type OpenedPageInfo, type OpenedTabSignal, PAGE_ACTION_KINDS, PAGE_ACTION_SYSTEM_PROMPT, PAGE_ACTION_TOOL, PAGE_DOCUMENT_REF, PDF_GARBLED_RATIO, PDF_LARGE_IMAGE_RATIO, PERCEIVE_PAGE_TOOL, PERCEPTION_PAGING_DEFAULTS, PERCEPTION_SYSTEM_PROMPT, type PageActionConsent, type PageActionExecutor, type PageActionKind, type PageActionOutcome, PageActionPolicy, type PageActionPolicyOptions, type PageActionRecord, type PageActionRequest, type PageActionScope, type PageActionScopeInput, type PageActionTarget, type PageActionToolSourceOptions, type PageActionUi, type PageAuditSink, type PageImageCapture, type PageImageFailure, type PageImageResult, type PageImageToolSourceOptions, PagePerceptionPolicy, type PagePerceptionPolicyOptions, type PagePerceptionReader, type PagePerceptionToolSourceOptions, type ParentBudget, type PdfDocumentHandle, type PdfDocumentReader, type PdfPageImage, type PdfTextQuality, type PerceivedImage, type PerceivedNode, type PerceptionAuditSink, type PerceptionCaptureOptions, type PerceptionPagingBudget, type PerceptionRecord, type PerceptionResult, type PerceptionScope, type PerceptionScopeInput, type PptxDocumentContent, type PptxDocumentReader, type PptxSlideContent, QUERY_TABLE_TOOL, READ_DOCUMENT_TOOL, READ_DOWNLOADED_FILE_TOOL, type RemoteImageFetch, type RemoteImageFetchFailure, type RemoteImageResult, type RemoteImageToolSourceOptions, type RenderedImage, SCROLL_DIRECTIONS, SKILL_GENERATION_SYSTEM_PROMPT, type ScrollDirection, type Size, type SkillAttachmentBytes, type SkillBinaryPayload, type SkillCandidateSink, type SkillGenerationMessages, type SkillGenerationOutcome, type SkillGenerationPolicy, type SkillGenerationToolSourceOptions, SkillGenerator, type SkillGeneratorOptions, type SkillTraceEvidence, type SkillTraceEvidenceStep, type SpreadsheetToolSourceOptions, type SubAgentRunInput, type SubAgentRunner, type SubtreeRejection, TAB_WORKSET_DEFAULT_MAX, TAB_WORKSET_MAX_MAX, TAB_WORKSET_MIN_MAX, TAB_WORKSET_SYSTEM_PROMPT, TEMPLATE_INSPECT_BUDGET, TODO_SYSTEM_PROMPT, type TabAdmission, TabWorksetPolicy, type TabWorksetPolicyOptions, type TabWorksetPort, type TabWorksetToolSourceOptions, type TableQueryToolSourceOptions, type TableSheet, type TableSource, type TableWorkbook, type TemplateCellSkeleton, type TemplateFileSource, type TemplateFillRejection, type TemplateFillWarning, type TemplateImageBytes, type TemplateImageResolver, type TemplateParagraphSkeleton, type TemplateSheetBlanks, type TemplateSheetSkeleton, type TemplateTableCellSkeleton, type TemplateToolSourceOptions, type TodoEvent, type TodoItem, type TodoList, type TodoListener, type TodoStatus, TodoStore, type TodoToolSourceOptions, VIEW_DWG_TOOL, type WorksetTab, type WorksetTabView, type XlsxDocumentContent, type XlsxDocumentReader, type XlsxFillOutcome, type XlsxSheetContent, type XlsxTableReader, type XlsxTemplateEngine, type XlsxTemplateFillSpec, type XlsxTemplateSkeleton, asReadMode, clampDownloadWaitMs, clampWorksetMax, columnWidthToPixels, createDelegationToolSource, createDocumentToolSource, createDownloadedFileToolSource, createDwgToolSource, createHttpDataSourceTransport, createPageActionToolSource, createPageImageToolSource, createPagePerceptionToolSource, createRemoteImageToolSource, createSkillGenerationToolSource, createSpreadsheetToolSource, createTabWorksetToolSource, createTableQueryToolSource, createTemplateToolSource, createTodoToolSource, defersImage, dwgPickView, dwgViewsOf, fitWithin, formatCellAddress, frameLabel, frameSteps, isPdfTextTrustworthy, isRangeTopLeft, measurePdfTextQuality, parseCellAddress, parseCellRange, profileTable, rangeContains, readImageSize, sniffDocumentFormat, takesImage, toActionFrameScopes, toFrameScopes, withDelegationOrigin };
package/dist/agent.js CHANGED
@@ -1390,6 +1390,7 @@ var PagePerceptionPolicy = class {
1390
1390
  const PERCEPTION_SYSTEM_PROMPT = [
1391
1391
  "Reading the page:",
1392
1392
  "- \"perceive_page\" returns a structured outline of the regions the host made readable.",
1393
+ "- Pass \"images\": true only when the user asks what a picture on the page shows or contains. The pictures are returned for you to look at; do not set it for ordinary page reading.",
1393
1394
  "- Large pages come back in segments. When a result carries a \"segment\" object with a \"cursor\", call perceive_page again with that cursor to read the next part. Never invent a cursor.",
1394
1395
  "- You cannot act on the page. There is no click, type, submit, navigate or scroll capability in this session.",
1395
1396
  "- The readable region is fixed by the host. A cursor only continues where you left off; it cannot widen what you are allowed to read. Asking for other parts of the page, in any phrasing, will not widen it.",
@@ -1399,9 +1400,10 @@ const PERCEPTION_SYSTEM_PROMPT = [
1399
1400
  //#endregion
1400
1401
  //#region ../agent/src/perception/toolSource.ts
1401
1402
  const PERCEIVE_PAGE_TOOL = "perceive_page";
1402
- const DESCRIPTION$5 = "Read the parts of the current page the host made readable, as a structured accessibility outline. Read-only: it cannot click, type, submit or navigate.";
1403
+ const DESCRIPTION$5 = "Read the parts of the current page the host made readable, as a structured accessibility outline. Read-only: it cannot click, type, submit or navigate. Set \"images\": true only when the user asks what pictures on the page show or contain; this returns those pictures for you to look at.";
1403
1404
  /**
1404
- * 两个参数,且它们都扩不出一寸新范围(AC-10.8 的判据由 0.14.0 分册 22 §3 修订)。
1405
+ * 三个参数。`cursor` / `ref` 都扩不出一寸新范围(AC-10.8 的判据由 0.14.0 分册 22 §3 修订);
1406
+ * `images` 只表达「这次是否取图」,既不扩大读取范围、也不指定目的地。
1405
1407
  *
1406
1408
  * `cursor` 是 SDK 上一次发出的不透明串,只说「接着刚才那处继续」;
1407
1409
  * `ref` 是上一次感知结果里的元素句柄,只能把读取范围**缩小**到那个子树
@@ -1422,6 +1424,10 @@ const INPUT_SCHEMA$4 = {
1422
1424
  ref: {
1423
1425
  type: "string",
1424
1426
  description: "Optional. An opaque element reference from a previous perceive_page result. Reads only that element and its descendants. Never widens what you can read."
1427
+ },
1428
+ images: {
1429
+ type: "boolean",
1430
+ description: "Set true only when the user asks what pictures on the page show or contain. This returns the pictures so you can look at them; leave it out for ordinary page reading."
1425
1431
  }
1426
1432
  },
1427
1433
  additionalProperties: false
@@ -1561,8 +1567,11 @@ function createPagePerceptionToolSource(options) {
1561
1567
  });
1562
1568
  return resultOf(pending, index);
1563
1569
  }
1570
+ const imagesArg = args["images"];
1571
+ if (imagesArg !== void 0 && typeof imagesArg !== "boolean") return toolError$6("VALIDATION_FAILED", "perceive_page needs \"images\" to be a boolean when present.");
1572
+ const wantsImages = imagesArg === true;
1564
1573
  try {
1565
- const image = await options.imageCapture?.();
1574
+ const image = wantsImages ? await options.imageCaptureForRequest?.() : await options.imageCapture?.();
1566
1575
  const capture = {
1567
1576
  images: image?.enabled === true,
1568
1577
  maxImageBytes: image?.maxImageBytes ?? 0,
@@ -1576,6 +1585,7 @@ function createPagePerceptionToolSource(options) {
1576
1585
  excluded: record.exclude,
1577
1586
  nodes
1578
1587
  };
1588
+ if (wantsImages && image?.enabled !== true) data["imagesUnavailable"] = image?.unavailableReason ?? "Page pictures were not returned. The host has page image capture off, or no image-capable model is configured. Do not describe the pictures from the surrounding text; tell the user what is missing.";
1579
1589
  if (imagesOmitted > 0) data["imagesOmitted"] = imagesOmitted;
1580
1590
  if ((record.imageFailures ?? 0) > 0) data["imageFailures"] = record.imageFailures;
1581
1591
  const { segments, nodesTotal } = segmentPerception(nodes, budget);
@@ -4772,7 +4782,7 @@ function json(data) {
4772
4782
  //#endregion
4773
4783
  //#region ../agent/src/pageImage/toolSource.ts
4774
4784
  const CAPTURE_PAGE_IMAGE_TOOL = "capture_page_image";
4775
- const DESCRIPTION$1 = "Save a picture that is already on the page as a run artifact, so a skill can place it in a document.";
4785
+ const DESCRIPTION$1 = "Save a picture that is already on the page as a run artifact, so a skill can place it in a document. To see what a picture shows, use perceive_page with images: true instead.";
4776
4786
  const INPUT_SCHEMA$1 = {
4777
4787
  type: "object",
4778
4788
  properties: {
@@ -4788,7 +4798,7 @@ const INPUT_SCHEMA$1 = {
4788
4798
  required: ["ref"],
4789
4799
  additionalProperties: false
4790
4800
  };
4791
- const SYSTEM_PROMPT$2 = "Use capture_page_image when a picture on the current page belongs in a document you are about to produce. It returns a reference, never the picture itself — pass that reference to the skill, do not try to read it back. Capturing does not tell you what the picture shows; ask for a page perception with images if you need that. Capture one picture per call, and only for nodes the page perception marked as capturable. Do not list the captured references back to the user. They are working material for the document, not a deliverable; say how many pictures went in and leave it at that.";
4801
+ const SYSTEM_PROMPT$2 = "Use capture_page_image when a picture on the current page belongs in a document you are about to produce. It returns a reference, never the picture itself — pass that reference to the skill, do not try to read it back. To see what a picture shows, call perceive_page with images: true; capturing here only saves it for a document and does not tell you what it shows. Capture one picture per call, and only for nodes the page perception marked as capturable. Do not list the captured references back to the user. They are working material for the document, not a deliverable; say how many pictures went in and leave it at that.";
4792
4802
  const isFailure$1 = (result) => "reason" in result;
4793
4803
  /**
4794
4804
  * 页面取像工具(0.22.0 分册 12)。
package/dist/browser.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { G as FileStat, It as VerifyResult, K as FileSystemProvider, Lt as WebSkillError, N as ArchiveLimits, Ot as SkillsLockfile, Pt as UnsignedPolicy, S as UiBridge, St as SkillManifest, b as RenderResultRequest, c as InteractionResponse, jt as TrustedKeyStore, l as LlmClient, m as LlmStreamEvent, o as InteractionPolicy, p as LlmResponse, q as FileWriteStream, s as InteractionRequest, u as LlmCompleteInput, v as MemoryStore, vt as SkillInstallSource } from "./types-CpDRZ0rA-CFQ-vdKz.js";
2
2
  import { $ as ImageOmission, B as ExternalToolSource, C as BridgeResponse, N as DocumentSurfaceHost, Pn as ToolResult, S as BridgeRequest, Sr as bridgeError, Yr as parseBridgeRequest, b as BridgeCapabilities, ct as LinkedDocumentReader, en as ScriptExecutionContext, jn as ToolDefinition, m as ApprovalScope, mr as WebSkillApi, sr as ViewerImageFact, tn as ScriptExecutor, ut as NetworkPolicy, z as ExternalSkillProvider } from "./index-D6eSrEi5.js";
3
- import { $r as XlsxTableReader, In as PerceptionScopeInput, K as DocxDocumentContent, Ln as PptxDocumentContent, Pn as PerceptionResult, Rn as PptxDocumentReader, Tn as PdfDocumentReader, Ut as NestedFrameRef, Xr as XlsxDocumentReader, Yr as XlsxDocumentContent, cn as PageActionRequest, dn as PageActionTarget, fr as SubtreeRejection, in as PageActionOutcome, jn as PerceptionCaptureOptions, kn as PerceivedNode, mn as PageAuditSink, nn as PageActionExecutor, q as DocxDocumentReader, u as ConsentUi, un as PageActionScopeInput, xn as PagePerceptionReader, yn as PagePerceptionPolicy } from "./index-QKiMepxO.js";
3
+ import { $r as XlsxTableReader, In as PerceptionScopeInput, K as DocxDocumentContent, Ln as PptxDocumentContent, Pn as PerceptionResult, Rn as PptxDocumentReader, Tn as PdfDocumentReader, Ut as NestedFrameRef, Xr as XlsxDocumentReader, Yr as XlsxDocumentContent, cn as PageActionRequest, dn as PageActionTarget, fr as SubtreeRejection, in as PageActionOutcome, jn as PerceptionCaptureOptions, kn as PerceivedNode, mn as PageAuditSink, nn as PageActionExecutor, q as DocxDocumentReader, u as ConsentUi, un as PageActionScopeInput, xn as PagePerceptionReader, yn as PagePerceptionPolicy } from "./index--GvzV6Lq.js";
4
4
  //#region ../browser/dist/index.d.ts
5
5
  //#region src/fs/featureDetection.d.ts
6
6
  /** 检测当前环境是否可用 OPFS(navigator.storage.getDirectory) */
@@ -771,10 +771,17 @@ declare const PERCEIVE_PAGE_TOOL = "perceive_page";
771
771
  interface PagePerceptionToolSourceOptions {
772
772
  policy: PagePerceptionPolicy;
773
773
  /**
774
- * 取像预算与开关(FR-12.5)。每次调用重取,设置或选中模型改完立刻生效;
774
+ * 普通读页的取像预算与开关(FR-12.5)。每次调用重取,设置或选中模型改完立刻生效;
775
775
  * 缺省即不取像。判定在遍历 DOM **之前**完成一次,不是每个节点判一次。
776
776
  */
777
777
  imageCapture?(): ImageCaptureBudget | Promise<ImageCaptureBudget>;
778
+ /**
779
+ * 显式 `images: true` 的取像预算(0.27.1 分册 11 FR-11.2)。
780
+ *
781
+ * 与 `imageCapture` 分开,宿主才能表达「普通读页不取图、用户明确问图才取图」。
782
+ * 缺席时显式请求按不可用处理,**不得**回退到普通 `imageCapture`。
783
+ */
784
+ imageCaptureForRequest?(): ImageCaptureBudget | Promise<ImageCaptureBudget>;
778
785
  /**
779
786
  * 分段预算与开关(分册 22 FR-22.4)。同样每次调用重取,理由与 `imageCapture` 一致:
780
787
  * 凝固进实例会让宿主中途改配置整轮不生效。
@@ -790,6 +797,11 @@ interface ImageCaptureBudget {
790
797
  maxImages: number;
791
798
  /** 小于该面积(平方像素)的元素视作图标;缺省与 0 都表示不过滤(0.13.0 FR-20.3) */
792
799
  minImageArea?: number;
800
+ /**
801
+ * `enabled: false` 时给模型看的原因(0.27.1 分册 11 FR-11.5)。
802
+ * 面向模型,必须是英文;缺省时工具源用通用说明。
803
+ */
804
+ unavailableReason?: string;
793
805
  }
794
806
  /**
795
807
  * 把只读感知接到既有工具协议上。**本工具源不导出任何写入动作**(FR-10.7):
package/dist/index.d.ts CHANGED
@@ -6,6 +6,6 @@ import { $ as ImageOmission, $n as UserProfileEntry, $r as readProfileEntries, $
6
6
  * Version of the published `@webskill/sdk` package, injected at build time.
7
7
  * @stable
8
8
  */
9
- declare const SDK_VERSION = "0.27.0";
9
+ declare const SDK_VERSION = "0.27.1";
10
10
  //#endregion
11
11
  export { ALLOWED_TOOLS_EXCLUSION_REASON, ASK_USER_FIELD_TYPES, ASK_USER_INPUT_SCHEMA, ASK_USER_MAX_FIELDS, ASK_USER_TOOL, ASK_USER_TOOL_NAME, ATOMIC_TMP_SUFFIX_PATTERN, ATTACHMENT_TEXT_LIMIT, type ActivateLifecycleData, AgentLoop, type AgentLoopConfig, type AgentLoopDeps, AnthropicClient, type AnthropicClientConfig, type ApprovalDecision, type ApprovalScope, type ArchiveLimits, type Artifact, type ArtifactStore, type AttachmentTextInput, BEHAVIOR_RECORDS_KEY, BINARY_EXTENSIONS, BYTES_ONLY_DOCUMENT_MIME, type BehaviorRecord, type BehaviorRecordKind, type BehaviorScene, type BridgeCapabilities, type BridgeCapability, type BridgeRequest, type BridgeResponse, CapabilityApproval, type CapabilityMode, type CatalogRenderer, type ChartSpec, type ChatAttachmentKind, type CryptoKeyLike, DEFAULT_ARCHIVE_LIMITS, DEFAULT_LOOP_LIMITS, DEFAULT_MAX_DATA_SOURCE_BYTES, DEFAULT_MAX_DOCUMENT_BYTES, DEFAULT_MAX_DOCUMENT_TEXT_BYTES, DEFAULT_MAX_UPLOAD_FILE_BYTES, DEFAULT_USER_PROFILE_LIMITS, DOCX_MIME, DWG_MIME_TYPES, type DataSourceInfo, type DiscoveryResult, type DocumentSurfaceHost, type DocumentSurfacePort, type DocxTextExtractor, EMPTY_USER_PROFILE, EventBus, type ExecuteLifecycleData, type ExternalSkillProvider, type ExternalToolSource, type ExtractedDocumentFormat, FILE_MIME_TYPES, FS_SESSION_PAGE_SIZE, type FileStat, type FileSystemProvider, type FileWriteStream, type FormField, FsArtifactStore, FsMemoryStore, FsRunSnapshotStore, FsRunTraceStore, FsSessionStore, FsToolStepStore, FsTrustedKeyStore, FullDisclosureRouter, GoogleGenAiClient, type GoogleGenAiClientConfig, HookRunner, type HookRunnerOptions, IMAGE_MIME_TYPES, type ImageOmission, type InstalledSkillManifest, type IntegrityVerdict, type InteractLifecycleData, type InteractionOrigin, type InteractionPolicy, type InteractionRequest, type InteractionResponse, type JsonSchema, type LifecycleEvent, type LifecycleEventInit, type LifecycleHook, type LifecycleHookContext, type LifecycleListener, type LinkedDocumentReader, type LlmClient, type LlmCompleteInput, type LlmContentPart, type LlmMessage, type LlmResponse, type LlmStreamEvent, type LlmTokenUsage, type LlmToolCall, type LlmToolSpec, MANIFEST_EXCLUDED_FILES, MAX_TOOL_STEP_ARG_BYTES, MemoryFS, type MemoryStore, type NetworkPolicy, OpenAiCompatibleClient, type OpenAiCompatibleClientConfig, PPTX_MIME, type Page, type PageQuery, type PdfTextExtractor, type PptxTextExtractor, ProgressiveRouter, READ_LINKED_DOCUMENT_TOOL, READ_LINKED_DOCUMENT_TOOL_NAME, READ_SKILL_FILE_INPUT_SCHEMA, READ_SKILL_FILE_TOOL, READ_SKILL_FILE_TOOL_NAME, RUN_SNAPSHOT_SCHEMA_VERSION, RUN_TRACE_SCHEMA_VERSION, type RedactedArgs, type RefineUserProfileInput, type RemoteUrlPolicy, type RenderBlock, type RenderResultRequest, type RouteLifecycleData, type RouteResult, type RunBinaryEntry, type RunBinaryStore, type RunLimitErrorDetails, type RunResult, type RunSnapshot, type RunSnapshotListEntry, type RunSnapshotStore, type RunTerminationReason, type RunToolCall, type RunTraceFile, type RunTraceFilter, type RunTraceMetrics, type RunTraceStore, type RunTraceSummary, type RunUploadFiles, type RunUsageSummary, type RuntimePhase, type RuntimeRun, type RuntimeSession, type RuntimeSessionHandle, SDK_VERSION, SENSITIVE_ANNOTATION, SESSION_SCHEMA_VERSION, SIGNATURE_SCHEMA_VERSION, SKILLS_LOCKFILE, SKILL_MANIFEST_FILE, SKILL_NAME_MAX_LENGTH, SKILL_NAME_PATTERN, SKILL_PACK_FILE, SKILL_SIGNATURE_FILE, SPREADSHEET_EXTENSION, SPREADSHEET_LIMITS, SPREADSHEET_MIME_TYPE, SUPPORTED_DOCUMENT_MIME, type SchemaInferer, type ScriptExecutionContext, type ScriptExecutor, type SealOptions, type SealRecord, type SealResult, SerializingMemoryStore, type SessionListPage, type SessionMeta, type SessionRecord, type SessionStore, type SignatureAuditSink, type SignatureVerdict, type SkillArchiveDetection, type SkillArchiveShape, type SkillCandidateMarker, type SkillCatalog, type SkillCatalogEntry, SkillDiscovery, type SkillDocument, type SkillFailureReport, type SkillInstallSource, type SkillIntegrityGuard, type SkillIssue, type SkillLocation, type SkillManagerPort, type SkillManifest, type SkillMetadata, type SkillOutcomeReporter, type SkillPackManifest, SkillReader, type SkillRouter, type SkillScriptDescriptor, type SkillScriptSchemaSource, type SkillSignature, type SkillSource, type SkillStateGuard, type SkillSuccessReport, type SkillsLockfile, type SpreadsheetCell, type SpreadsheetImage, type SpreadsheetImageAnchor, type SpreadsheetImageBytes, type SpreadsheetImageResolver, type SpreadsheetSheet, type SpreadsheetSpec, TEXT_BUDGETED_CONTENT_TYPES, TEXT_EXTENSIONS, type TerminalLifecycleData, type TextualToolContent, type TodoTraceEvent, type ToolCallContext, type ToolContent, type ToolDefinition, type ToolDisclosure, type ToolResolution, type ToolResult, type ToolStepReader, type ToolStepRecord, type ToolStepStore, type ToolStepTrust, type TraceClock, type TraceEvent, type TraceEventType, TraceRecorder, type TrustedKey, type TrustedKeyStore, UNSUPPORTED_DOCUMENT_MESSAGE, UNTRUSTED_LINE_LIMIT, UPLOAD_FILES_UNAVAILABLE, USER_PROFILE_EXPORT_VERSION, USER_PROFILE_KEY, USER_PROFILE_NO_INVENTION_RULE, USER_PROFILE_PROMPT_HEADER, USER_PROFILE_REFINE_PROMPT, type UiBridge, type UiSpecActionCapability, type UiSpecDrafts, type UiSpecEvent, type UiSpecNode, type UiSpecPatch, type UiSpecSnapshot, type UiSurfaceActionRequest, type UiSurfaceActionResponse, type UnsignedPolicy, type UnsupportedRunSnapshot, type UploadFileInfo, type UserProfile, type UserProfileEntry, type UserProfileExport, type UserProfileImportDiff, type UserProfileLimits, VISION_DEFAULT_CONCURRENCY, VISION_MAX_CONCURRENCY, VISION_SLOW_THRESHOLD_MS, type ValidationReport, type VercelToolSpec, type VerifyResult, type ViewerImageFact, type VisionBatchOptions, type VisionBatchOutcome, type VisionDelegate, type VisionDelegateImage, type VisionDelegateRequest, type VisionDelegateResult, type WebSkillApi, WebSkillError, type WebSkillErrorCode, WebSkillRuntime, type WebSkillRuntimeDeps, XLSX_MIME, XLSX_UNSUPPORTED, type XlsxTextExtractor, type XlsxUnsupportedFeature, appendBehaviorRecords, applyUserProfileImport, assertRemoteUrlAllowed, assertSafePathSegment, atomicWriteBinary, atomicWriteText, bridgeError, buildCatalog, buildManifest, buildRenderResult, checkDependencyCycles, checkSkillRules, clampVisionConcurrency, classifyAttachment, computeDigest, createScriptContext, createWebSkillApi, detectSkillArchiveShape, detectSkillArchiveShapeFromFs, diffUserProfile, encodeSpreadsheet, escapeXml, exportSkills, exportUserProfile, extractChartSpec, extractSkillCandidate, extractTodoTraceEvents, extractUiSpecEvents, extractedDocumentFormat, findUnpairedToolCalls, formatAttachmentText, formatSkillScriptManifest, fromVercelResult, fromVercelStreamPart, interruptedToolResult, isAtomicTempPath, isBytesOnlyDocument, isNetworkAllowed, isUnsupportedRunSnapshot, isValidSkillName, jsonRenderer, keyIdOf, listSkillScripts, mergeCatalogEntries, mergeProfileEntries, messageOf, networkPolicyLibSource, networkUrlHost, normalizeErrorCode, normalizePath, normalizeToolContent, normalizeToolError, parseBridgeRequest, parseSkillMarkdown, parseSkillPackManifest, parseUserProfileExport, partsToText, readBehaviorRecords, readProfileEntries, readResponseWithLimit, readSkillSignature, readUserProfile, redactToolStepArgs, refineUserProfile, renderAvailableSkillsXml, renderCatalogJson, renderUserProfileContext, resolveArchiveLimits, resolveInsideRoot, resolveToolName, runVisionBatch, sampleBehaviorRecords, sanitizeUntrustedLine, schemaSourceLabel, schemaToForm, scriptToolName, sealToolCallPairs, signSkill, signaturePayloadBytes, stripArchiveRoot, summarizeRunUsage, summarizeToolCalls, textParts, toBase64, toLlmToolSpec, toRecordDigests, toVercelToolSpecs, unzipWithLimits, validateSkills, validateUiSpecEvent, validateUiSpecNode, verifyManifest, verifySkillSignature, xmlRenderer };
package/dist/index.js CHANGED
@@ -1012,7 +1012,7 @@ var FsToolStepStore = class {
1012
1012
  * Version of the published `@webskill/sdk` package, injected at build time.
1013
1013
  * @stable
1014
1014
  */
1015
- const SDK_VERSION = "0.27.0";
1015
+ const SDK_VERSION = "0.27.1";
1016
1016
 
1017
1017
  //#endregion
1018
1018
  export { ALLOWED_TOOLS_EXCLUSION_REASON, ASK_USER_FIELD_TYPES, ASK_USER_INPUT_SCHEMA, ASK_USER_MAX_FIELDS, ASK_USER_TOOL, ASK_USER_TOOL_NAME, ATOMIC_TMP_SUFFIX_PATTERN, ATTACHMENT_TEXT_LIMIT, AgentLoop, AnthropicClient, BEHAVIOR_RECORDS_KEY, BINARY_EXTENSIONS, BYTES_ONLY_DOCUMENT_MIME, CapabilityApproval, DEFAULT_ARCHIVE_LIMITS, DEFAULT_LOOP_LIMITS, DEFAULT_MAX_DATA_SOURCE_BYTES, DEFAULT_MAX_DOCUMENT_BYTES, DEFAULT_MAX_DOCUMENT_TEXT_BYTES, DEFAULT_MAX_UPLOAD_FILE_BYTES, DEFAULT_USER_PROFILE_LIMITS, DOCX_MIME, DWG_MIME_TYPES, EMPTY_USER_PROFILE, EventBus, FILE_MIME_TYPES, FS_SESSION_PAGE_SIZE, FsArtifactStore, FsMemoryStore, FsRunSnapshotStore, FsRunTraceStore, FsSessionStore, FsToolStepStore, FsTrustedKeyStore, FullDisclosureRouter, GoogleGenAiClient, HookRunner, IMAGE_MIME_TYPES, MANIFEST_EXCLUDED_FILES, MAX_TOOL_STEP_ARG_BYTES, MemoryFS, OpenAiCompatibleClient, PPTX_MIME, ProgressiveRouter, READ_LINKED_DOCUMENT_TOOL, READ_LINKED_DOCUMENT_TOOL_NAME, READ_SKILL_FILE_INPUT_SCHEMA, READ_SKILL_FILE_TOOL, READ_SKILL_FILE_TOOL_NAME, RUN_SNAPSHOT_SCHEMA_VERSION, RUN_TRACE_SCHEMA_VERSION, SDK_VERSION, SENSITIVE_ANNOTATION, SESSION_SCHEMA_VERSION, SIGNATURE_SCHEMA_VERSION, SKILLS_LOCKFILE, SKILL_MANIFEST_FILE, SKILL_NAME_MAX_LENGTH, SKILL_NAME_PATTERN, SKILL_PACK_FILE, SKILL_SIGNATURE_FILE, SPREADSHEET_EXTENSION, SPREADSHEET_LIMITS, SPREADSHEET_MIME_TYPE, SUPPORTED_DOCUMENT_MIME, SerializingMemoryStore, SkillDiscovery, SkillReader, TEXT_BUDGETED_CONTENT_TYPES, TEXT_EXTENSIONS, TraceRecorder, UNSUPPORTED_DOCUMENT_MESSAGE, UNTRUSTED_LINE_LIMIT, UPLOAD_FILES_UNAVAILABLE, USER_PROFILE_EXPORT_VERSION, USER_PROFILE_KEY, USER_PROFILE_NO_INVENTION_RULE, USER_PROFILE_PROMPT_HEADER, USER_PROFILE_REFINE_PROMPT, VISION_DEFAULT_CONCURRENCY, VISION_MAX_CONCURRENCY, VISION_SLOW_THRESHOLD_MS, WebSkillError, WebSkillRuntime, XLSX_MIME, XLSX_UNSUPPORTED, appendBehaviorRecords, applyUserProfileImport, assertRemoteUrlAllowed, assertSafePathSegment, atomicWriteBinary, atomicWriteText, bridgeError, buildCatalog, buildManifest, buildRenderResult, checkDependencyCycles, checkSkillRules, clampVisionConcurrency, classifyAttachment, computeDigest, createScriptContext, createWebSkillApi, detectSkillArchiveShape, detectSkillArchiveShapeFromFs, diffUserProfile, encodeSpreadsheet, escapeXml, exportSkills, exportUserProfile, extractChartSpec, extractSkillCandidate, extractTodoTraceEvents, extractUiSpecEvents, extractedDocumentFormat, findUnpairedToolCalls, formatAttachmentText, formatSkillScriptManifest, fromVercelResult, fromVercelStreamPart, interruptedToolResult, isAtomicTempPath, isBytesOnlyDocument, isNetworkAllowed, isUnsupportedRunSnapshot, isValidSkillName, jsonRenderer, keyIdOf, listSkillScripts, mergeCatalogEntries, mergeProfileEntries, messageOf, networkPolicyLibSource, networkUrlHost, normalizeErrorCode, normalizePath, normalizeToolContent, normalizeToolError, parseBridgeRequest, parseSkillMarkdown, parseSkillPackManifest, parseUserProfileExport, partsToText, readBehaviorRecords, readProfileEntries, readResponseWithLimit, readSkillSignature, readUserProfile, redactToolStepArgs, refineUserProfile, renderAvailableSkillsXml, renderCatalogJson, renderUserProfileContext, resolveArchiveLimits, resolveInsideRoot, resolveToolName, runVisionBatch, sampleBehaviorRecords, sanitizeUntrustedLine, schemaSourceLabel, schemaToForm, scriptToolName, sealToolCallPairs, signSkill, signaturePayloadBytes, stripArchiveRoot, summarizeRunUsage, summarizeToolCalls, textParts, toBase64, toLlmToolSpec, toRecordDigests, toVercelToolSpecs, unzipWithLimits, validateSkills, validateUiSpecEvent, validateUiSpecNode, verifyManifest, verifySkillSignature, xmlRenderer };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webskill/sdk",
3
- "version": "0.27.0",
3
+ "version": "0.27.1",
4
4
  "description": "WebSkill — browser/Node agent skill runtime (skills, tools, MCP, governance, UI)",
5
5
  "license": "MIT",
6
6
  "type": "module",