- Replace filename-heuristic attachment matching with explicit [附件] column declaration - AttachmentGroup replaces MaterialAttachmentEntry: uses paths[] instead of entries[] - parseMaterialWorkbook now exports DeclaredAttachment and full Parsed type including documentAttachments, expenseAttachments, personAttachments per row - buildAttachmentPlans enforces strict bidirectional validation: 1. Every Excel [附件] path must exist in ZIP 2. Every ZIP file must be declared in some [附件] column - validateDocIdDirectories now strips @annotation suffix when matching documentIds - injectAttachmentPlan updated to work with new AttachmentGroup.paths API - pushMaterialPack iterates group.paths for uploads, adding stderr diagnostics - Key deduplication applied at parse time (deduplicateKeys) - Tests updated: [附件] column fixtures, bidirectional validation error tests, @ annotation matching test, preview injection test - Skill docs updated: Material Pack Workflow section in references/cli.md - Version bumped to 0.10.12
45 lines
1.5 KiB
YAML
45 lines
1.5 KiB
YAML
openapi: 3.1.0
|
|
info:
|
|
title: seal-use Wrapped API
|
|
version: 0.10.12
|
|
description: |
|
|
Planned HTTP contract for the seal-use wrapped backend API.
|
|
|
|
These endpoints describe the intended stable API for frontend developers and agents once
|
|
the HTTP adapter is implemented.
|
|
They are not the raw downstream Seal endpoints. seal-use is responsible for enterprise
|
|
selection, source authentication, response compaction, and diagnostics-friendly fields.
|
|
servers:
|
|
- url: http://localhost:8787
|
|
description: Reserved for a future local HTTP adapter; the current service uses MCP stdio.
|
|
security:
|
|
- localSession: []
|
|
tags:
|
|
- name: Corps
|
|
description: Local enterprise configuration selection.
|
|
- name: Source
|
|
description: Source-derived Seal enterprise configuration.
|
|
- name: Auth
|
|
description: Wrapped authentication diagnostics and current identity.
|
|
- name: Approval Runs
|
|
description: Wrapped approval run history, summaries, document URLs, and trace bridge helpers.
|
|
- name: Approval Knowledge
|
|
description: Wrapped approval rules, documents, preferences, and search.
|
|
- name: Simulation
|
|
description: Wrapped simulation batch record access.
|
|
paths:
|
|
$ref: ./paths/index.yaml
|
|
components:
|
|
securitySchemes:
|
|
localSession:
|
|
type: apiKey
|
|
in: header
|
|
name: X-Seal-Home-Session
|
|
description: Optional local service session header for future HTTP deployments.
|
|
parameters:
|
|
$ref: ./components/parameters.yaml
|
|
responses:
|
|
$ref: ./components/responses.yaml
|
|
schemas:
|
|
$ref: ./components/schemas/index.yaml
|