anymous 1.2.7 → 1.3.0
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/bin/anymous.cjs +1 -1
- package/package.json +1 -1
- package/script/postinstall.mjs +214 -0
- package/skills/algorithmic-art/LICENSE.txt +202 -0
- package/skills/algorithmic-art/SKILL.md +405 -0
- package/skills/algorithmic-art/templates/generator_template.js +223 -0
- package/skills/algorithmic-art/templates/viewer.html +599 -0
- package/skills/artifacts-builder/LICENSE.txt +202 -0
- package/skills/artifacts-builder/SKILL.md +74 -0
- package/skills/artifacts-builder/scripts/bundle-artifact.sh +54 -0
- package/skills/artifacts-builder/scripts/init-artifact.sh +322 -0
- package/skills/artifacts-builder/scripts/shadcn-components.tar.gz +0 -0
- package/skills/brainstorming/SKILL.md +151 -0
- package/skills/brainstorming/scripts/frame-template.html +213 -0
- package/skills/brainstorming/scripts/helper.js +167 -0
- package/skills/brainstorming/scripts/server.cjs +723 -0
- package/skills/brainstorming/scripts/start-server.sh +209 -0
- package/skills/brainstorming/scripts/stop-server.sh +120 -0
- package/skills/brainstorming/spec-document-reviewer-prompt.md +49 -0
- package/skills/brainstorming/visual-companion.md +298 -0
- package/skills/brand-guidelines/LICENSE.txt +202 -0
- package/skills/brand-guidelines/SKILL.md +73 -0
- package/skills/canvas-design/LICENSE.txt +202 -0
- package/skills/canvas-design/SKILL.md +130 -0
- package/skills/canvas-design/canvas-fonts/ArsenalSC-OFL.txt +93 -0
- package/skills/canvas-design/canvas-fonts/ArsenalSC-Regular.ttf +0 -0
- package/skills/canvas-design/canvas-fonts/BigShoulders-Bold.ttf +0 -0
- package/skills/canvas-design/canvas-fonts/BigShoulders-OFL.txt +93 -0
- package/skills/canvas-design/canvas-fonts/BigShoulders-Regular.ttf +0 -0
- package/skills/canvas-design/canvas-fonts/Boldonse-OFL.txt +93 -0
- package/skills/canvas-design/canvas-fonts/Boldonse-Regular.ttf +0 -0
- package/skills/canvas-design/canvas-fonts/BricolageGrotesque-Bold.ttf +0 -0
- package/skills/canvas-design/canvas-fonts/BricolageGrotesque-OFL.txt +93 -0
- package/skills/canvas-design/canvas-fonts/BricolageGrotesque-Regular.ttf +0 -0
- package/skills/canvas-design/canvas-fonts/CrimsonPro-Bold.ttf +0 -0
- package/skills/canvas-design/canvas-fonts/CrimsonPro-Italic.ttf +0 -0
- package/skills/canvas-design/canvas-fonts/CrimsonPro-OFL.txt +93 -0
- package/skills/canvas-design/canvas-fonts/CrimsonPro-Regular.ttf +0 -0
- package/skills/canvas-design/canvas-fonts/DMMono-OFL.txt +93 -0
- package/skills/canvas-design/canvas-fonts/DMMono-Regular.ttf +0 -0
- package/skills/canvas-design/canvas-fonts/EricaOne-OFL.txt +94 -0
- package/skills/canvas-design/canvas-fonts/EricaOne-Regular.ttf +0 -0
- package/skills/canvas-design/canvas-fonts/GeistMono-Bold.ttf +0 -0
- package/skills/canvas-design/canvas-fonts/GeistMono-OFL.txt +93 -0
- package/skills/canvas-design/canvas-fonts/GeistMono-Regular.ttf +0 -0
- package/skills/canvas-design/canvas-fonts/Gloock-OFL.txt +93 -0
- package/skills/canvas-design/canvas-fonts/Gloock-Regular.ttf +0 -0
- package/skills/canvas-design/canvas-fonts/IBMPlexMono-Bold.ttf +0 -0
- package/skills/canvas-design/canvas-fonts/IBMPlexMono-OFL.txt +93 -0
- package/skills/canvas-design/canvas-fonts/IBMPlexMono-Regular.ttf +0 -0
- package/skills/canvas-design/canvas-fonts/IBMPlexSerif-Bold.ttf +0 -0
- package/skills/canvas-design/canvas-fonts/IBMPlexSerif-BoldItalic.ttf +0 -0
- package/skills/canvas-design/canvas-fonts/IBMPlexSerif-Italic.ttf +0 -0
- package/skills/canvas-design/canvas-fonts/IBMPlexSerif-Regular.ttf +0 -0
- package/skills/canvas-design/canvas-fonts/InstrumentSans-Bold.ttf +0 -0
- package/skills/canvas-design/canvas-fonts/InstrumentSans-BoldItalic.ttf +0 -0
- package/skills/canvas-design/canvas-fonts/InstrumentSans-Italic.ttf +0 -0
- package/skills/canvas-design/canvas-fonts/InstrumentSans-OFL.txt +93 -0
- package/skills/canvas-design/canvas-fonts/InstrumentSans-Regular.ttf +0 -0
- package/skills/canvas-design/canvas-fonts/InstrumentSerif-Italic.ttf +0 -0
- package/skills/canvas-design/canvas-fonts/InstrumentSerif-Regular.ttf +0 -0
- package/skills/canvas-design/canvas-fonts/Italiana-OFL.txt +93 -0
- package/skills/canvas-design/canvas-fonts/Italiana-Regular.ttf +0 -0
- package/skills/canvas-design/canvas-fonts/JetBrainsMono-Bold.ttf +0 -0
- package/skills/canvas-design/canvas-fonts/JetBrainsMono-OFL.txt +93 -0
- package/skills/canvas-design/canvas-fonts/JetBrainsMono-Regular.ttf +0 -0
- package/skills/canvas-design/canvas-fonts/Jura-Light.ttf +0 -0
- package/skills/canvas-design/canvas-fonts/Jura-Medium.ttf +0 -0
- package/skills/canvas-design/canvas-fonts/Jura-OFL.txt +93 -0
- package/skills/canvas-design/canvas-fonts/LibreBaskerville-OFL.txt +93 -0
- package/skills/canvas-design/canvas-fonts/LibreBaskerville-Regular.ttf +0 -0
- package/skills/canvas-design/canvas-fonts/Lora-Bold.ttf +0 -0
- package/skills/canvas-design/canvas-fonts/Lora-BoldItalic.ttf +0 -0
- package/skills/canvas-design/canvas-fonts/Lora-Italic.ttf +0 -0
- package/skills/canvas-design/canvas-fonts/Lora-OFL.txt +93 -0
- package/skills/canvas-design/canvas-fonts/Lora-Regular.ttf +0 -0
- package/skills/canvas-design/canvas-fonts/NationalPark-Bold.ttf +0 -0
- package/skills/canvas-design/canvas-fonts/NationalPark-OFL.txt +93 -0
- package/skills/canvas-design/canvas-fonts/NationalPark-Regular.ttf +0 -0
- package/skills/canvas-design/canvas-fonts/NothingYouCouldDo-OFL.txt +93 -0
- package/skills/canvas-design/canvas-fonts/NothingYouCouldDo-Regular.ttf +0 -0
- package/skills/canvas-design/canvas-fonts/Outfit-Bold.ttf +0 -0
- package/skills/canvas-design/canvas-fonts/Outfit-OFL.txt +93 -0
- package/skills/canvas-design/canvas-fonts/Outfit-Regular.ttf +0 -0
- package/skills/canvas-design/canvas-fonts/PixelifySans-Medium.ttf +0 -0
- package/skills/canvas-design/canvas-fonts/PixelifySans-OFL.txt +93 -0
- package/skills/canvas-design/canvas-fonts/PoiretOne-OFL.txt +93 -0
- package/skills/canvas-design/canvas-fonts/PoiretOne-Regular.ttf +0 -0
- package/skills/canvas-design/canvas-fonts/RedHatMono-Bold.ttf +0 -0
- package/skills/canvas-design/canvas-fonts/RedHatMono-OFL.txt +93 -0
- package/skills/canvas-design/canvas-fonts/RedHatMono-Regular.ttf +0 -0
- package/skills/canvas-design/canvas-fonts/Silkscreen-OFL.txt +93 -0
- package/skills/canvas-design/canvas-fonts/Silkscreen-Regular.ttf +0 -0
- package/skills/canvas-design/canvas-fonts/SmoochSans-Medium.ttf +0 -0
- package/skills/canvas-design/canvas-fonts/SmoochSans-OFL.txt +93 -0
- package/skills/canvas-design/canvas-fonts/Tektur-Medium.ttf +0 -0
- package/skills/canvas-design/canvas-fonts/Tektur-OFL.txt +93 -0
- package/skills/canvas-design/canvas-fonts/Tektur-Regular.ttf +0 -0
- package/skills/canvas-design/canvas-fonts/WorkSans-Bold.ttf +0 -0
- package/skills/canvas-design/canvas-fonts/WorkSans-BoldItalic.ttf +0 -0
- package/skills/canvas-design/canvas-fonts/WorkSans-Italic.ttf +0 -0
- package/skills/canvas-design/canvas-fonts/WorkSans-OFL.txt +93 -0
- package/skills/canvas-design/canvas-fonts/WorkSans-Regular.ttf +0 -0
- package/skills/canvas-design/canvas-fonts/YoungSerif-OFL.txt +93 -0
- package/skills/canvas-design/canvas-fonts/YoungSerif-Regular.ttf +0 -0
- package/skills/changelog-generator/SKILL.md +110 -0
- package/skills/claude-api/LICENSE.txt +202 -0
- package/skills/claude-api/SKILL.md +546 -0
- package/skills/claude-api/csharp/claude-api/README.md +362 -0
- package/skills/claude-api/csharp/claude-api/batches.md +14 -0
- package/skills/claude-api/csharp/claude-api/files-api.md +23 -0
- package/skills/claude-api/csharp/claude-api/streaming.md +28 -0
- package/skills/claude-api/csharp/claude-api/tool-use.md +164 -0
- package/skills/claude-api/curl/examples.md +256 -0
- package/skills/claude-api/curl/managed-agents.md +340 -0
- package/skills/claude-api/go/claude-api/README.md +188 -0
- package/skills/claude-api/go/claude-api/files-api.md +21 -0
- package/skills/claude-api/go/claude-api/streaming.md +43 -0
- package/skills/claude-api/go/claude-api/tool-use.md +220 -0
- package/skills/claude-api/go/managed-agents/README.md +564 -0
- package/skills/claude-api/java/claude-api/README.md +238 -0
- package/skills/claude-api/java/claude-api/files-api.md +25 -0
- package/skills/claude-api/java/claude-api/streaming.md +24 -0
- package/skills/claude-api/java/claude-api/tool-use.md +228 -0
- package/skills/claude-api/java/managed-agents/README.md +443 -0
- package/skills/claude-api/php/claude-api/README.md +174 -0
- package/skills/claude-api/php/claude-api/batches.md +15 -0
- package/skills/claude-api/php/claude-api/files-api.md +11 -0
- package/skills/claude-api/php/claude-api/streaming.md +27 -0
- package/skills/claude-api/php/claude-api/tool-use.md +253 -0
- package/skills/claude-api/php/managed-agents/README.md +443 -0
- package/skills/claude-api/python/claude-api/README.md +565 -0
- package/skills/claude-api/python/claude-api/batches.md +198 -0
- package/skills/claude-api/python/claude-api/files-api.md +170 -0
- package/skills/claude-api/python/claude-api/streaming.md +179 -0
- package/skills/claude-api/python/claude-api/tool-use.md +629 -0
- package/skills/claude-api/python/managed-agents/README.md +335 -0
- package/skills/claude-api/ruby/claude-api/README.md +134 -0
- package/skills/claude-api/ruby/claude-api/streaming.md +16 -0
- package/skills/claude-api/ruby/claude-api/tool-use.md +41 -0
- package/skills/claude-api/ruby/managed-agents/README.md +394 -0
- package/skills/claude-api/shared/agent-design.md +101 -0
- package/skills/claude-api/shared/anthropic-cli.md +246 -0
- package/skills/claude-api/shared/claude-platform-on-aws.md +59 -0
- package/skills/claude-api/shared/error-codes.md +257 -0
- package/skills/claude-api/shared/live-sources.md +143 -0
- package/skills/claude-api/shared/managed-agents-api-reference.md +448 -0
- package/skills/claude-api/shared/managed-agents-client-patterns.md +217 -0
- package/skills/claude-api/shared/managed-agents-core.md +319 -0
- package/skills/claude-api/shared/managed-agents-environments.md +219 -0
- package/skills/claude-api/shared/managed-agents-events.md +270 -0
- package/skills/claude-api/shared/managed-agents-memory.md +199 -0
- package/skills/claude-api/shared/managed-agents-multiagent.md +125 -0
- package/skills/claude-api/shared/managed-agents-onboarding.md +82 -0
- package/skills/claude-api/shared/managed-agents-outcomes.md +108 -0
- package/skills/claude-api/shared/managed-agents-overview.md +71 -0
- package/skills/claude-api/shared/managed-agents-scheduled-deployments.md +146 -0
- package/skills/claude-api/shared/managed-agents-self-hosted-sandboxes.md +174 -0
- package/skills/claude-api/shared/managed-agents-tools.md +371 -0
- package/skills/claude-api/shared/managed-agents-webhooks.md +143 -0
- package/skills/claude-api/shared/model-migration.md +1548 -0
- package/skills/claude-api/shared/models.md +138 -0
- package/skills/claude-api/shared/platform-availability.md +97 -0
- package/skills/claude-api/shared/prompt-caching.md +235 -0
- package/skills/claude-api/shared/token-counting.md +56 -0
- package/skills/claude-api/shared/tool-use-concepts.md +514 -0
- package/skills/claude-api/typescript/claude-api/README.md +405 -0
- package/skills/claude-api/typescript/claude-api/batches.md +106 -0
- package/skills/claude-api/typescript/claude-api/files-api.md +98 -0
- package/skills/claude-api/typescript/claude-api/streaming.md +178 -0
- package/skills/claude-api/typescript/claude-api/tool-use.md +589 -0
- package/skills/claude-api/typescript/managed-agents/README.md +358 -0
- package/skills/code-security-auditor/SKILL.md +164 -0
- package/skills/code-security-auditor/references/package_checks.md +59 -0
- package/skills/competitive-ads-extractor/SKILL.md +298 -0
- package/skills/content-research-writer/SKILL.md +538 -0
- package/skills/developer-growth-analysis/SKILL.md +322 -0
- package/skills/dispatching-parallel-agents/SKILL.md +167 -0
- package/skills/doc-coauthoring/SKILL.md +375 -0
- package/skills/docx/LICENSE.txt +30 -0
- package/skills/docx/SKILL.md +91 -0
- package/skills/docx/scripts/__init__.py +1 -0
- package/skills/docx/scripts/accept_changes.py +135 -0
- package/skills/docx/scripts/comment.py +368 -0
- package/skills/docx/scripts/merge_runs.py +310 -0
- package/skills/docx/scripts/office/helpers/__init__.py +111 -0
- package/skills/docx/scripts/office/helpers/pptx_chart.py +170 -0
- package/skills/docx/scripts/office/helpers/pptx_slide.py +60 -0
- package/skills/docx/scripts/office/helpers/pptx_theme.py +114 -0
- package/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-chart.xsd +1499 -0
- package/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-chartDrawing.xsd +146 -0
- package/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-diagram.xsd +1085 -0
- package/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-lockedCanvas.xsd +11 -0
- package/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-main.xsd +3081 -0
- package/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-picture.xsd +23 -0
- package/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-spreadsheetDrawing.xsd +185 -0
- package/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-wordprocessingDrawing.xsd +287 -0
- package/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/pml.xsd +1676 -0
- package/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-additionalCharacteristics.xsd +28 -0
- package/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-bibliography.xsd +144 -0
- package/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-commonSimpleTypes.xsd +174 -0
- package/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-customXmlDataProperties.xsd +25 -0
- package/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-customXmlSchemaProperties.xsd +18 -0
- package/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesCustom.xsd +59 -0
- package/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesExtended.xsd +56 -0
- package/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesVariantTypes.xsd +195 -0
- package/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-math.xsd +582 -0
- package/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-relationshipReference.xsd +25 -0
- package/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/sml.xsd +4439 -0
- package/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-main.xsd +570 -0
- package/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-officeDrawing.xsd +509 -0
- package/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-presentationDrawing.xsd +12 -0
- package/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-spreadsheetDrawing.xsd +108 -0
- package/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-wordprocessingDrawing.xsd +96 -0
- package/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/wml.xsd +3646 -0
- package/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/xml.xsd +116 -0
- package/skills/docx/scripts/office/schemas/ecma/fouth-edition/opc-contentTypes.xsd +42 -0
- package/skills/docx/scripts/office/schemas/ecma/fouth-edition/opc-coreProperties.xsd +50 -0
- package/skills/docx/scripts/office/schemas/ecma/fouth-edition/opc-digSig.xsd +49 -0
- package/skills/docx/scripts/office/schemas/ecma/fouth-edition/opc-relationships.xsd +33 -0
- package/skills/docx/scripts/office/schemas/mce/mc.xsd +75 -0
- package/skills/docx/scripts/office/schemas/microsoft/wml-2010.xsd +560 -0
- package/skills/docx/scripts/office/schemas/microsoft/wml-2012.xsd +67 -0
- package/skills/docx/scripts/office/schemas/microsoft/wml-2018.xsd +14 -0
- package/skills/docx/scripts/office/schemas/microsoft/wml-cex-2018.xsd +20 -0
- package/skills/docx/scripts/office/schemas/microsoft/wml-cid-2016.xsd +13 -0
- package/skills/docx/scripts/office/schemas/microsoft/wml-sdtdatahash-2020.xsd +4 -0
- package/skills/docx/scripts/office/schemas/microsoft/wml-symex-2015.xsd +8 -0
- package/skills/docx/scripts/office/soffice.py +192 -0
- package/skills/docx/scripts/office/validate.py +173 -0
- package/skills/docx/scripts/office/validators/__init__.py +15 -0
- package/skills/docx/scripts/office/validators/base.py +875 -0
- package/skills/docx/scripts/office/validators/docx.py +466 -0
- package/skills/docx/scripts/office/validators/pptx.py +441 -0
- package/skills/docx/scripts/office/validators/redlining.py +299 -0
- package/skills/docx/scripts/templates/comments.xml +3 -0
- package/skills/docx/scripts/templates/commentsExtended.xml +3 -0
- package/skills/docx/scripts/templates/commentsExtensible.xml +3 -0
- package/skills/docx/scripts/templates/commentsIds.xml +3 -0
- package/skills/docx/scripts/templates/people.xml +3 -0
- package/skills/domain-name-brainstormer/SKILL.md +217 -0
- package/skills/executing-plans/SKILL.md +64 -0
- package/skills/file-organizer/SKILL.md +433 -0
- package/skills/finishing-a-development-branch/SKILL.md +201 -0
- package/skills/frontend-design/LICENSE.txt +177 -0
- package/skills/frontend-design/SKILL.md +55 -0
- package/skills/image-enhancer/SKILL.md +106 -0
- package/skills/internal-comms/LICENSE.txt +202 -0
- package/skills/internal-comms/SKILL.md +32 -0
- package/skills/internal-comms/examples/3p-updates.md +47 -0
- package/skills/internal-comms/examples/company-newsletter.md +65 -0
- package/skills/internal-comms/examples/faq-answers.md +30 -0
- package/skills/internal-comms/examples/general-comms.md +16 -0
- package/skills/invoice-organizer/SKILL.md +452 -0
- package/skills/lead-research-assistant/SKILL.md +205 -0
- package/skills/mcp-builder/LICENSE.txt +202 -0
- package/skills/mcp-builder/SKILL.md +236 -0
- package/skills/mcp-builder/reference/evaluation.md +602 -0
- package/skills/mcp-builder/reference/mcp_best_practices.md +249 -0
- package/skills/mcp-builder/reference/node_mcp_server.md +970 -0
- package/skills/mcp-builder/reference/python_mcp_server.md +719 -0
- package/skills/mcp-builder/scripts/connections.py +151 -0
- package/skills/mcp-builder/scripts/evaluation.py +373 -0
- package/skills/mcp-builder/scripts/example_evaluation.xml +22 -0
- package/skills/mcp-builder/scripts/requirements.txt +2 -0
- package/skills/meeting-insights-analyzer/SKILL.md +327 -0
- package/skills/pdf/LICENSE.txt +30 -0
- package/skills/pdf/SKILL.md +314 -0
- package/skills/pdf/forms.md +294 -0
- package/skills/pdf/reference.md +612 -0
- package/skills/pdf/scripts/check_bounding_boxes.py +65 -0
- package/skills/pdf/scripts/check_fillable_fields.py +11 -0
- package/skills/pdf/scripts/convert_pdf_to_images.py +33 -0
- package/skills/pdf/scripts/create_validation_image.py +37 -0
- package/skills/pdf/scripts/extract_form_field_info.py +122 -0
- package/skills/pdf/scripts/extract_form_structure.py +115 -0
- package/skills/pdf/scripts/fill_fillable_fields.py +98 -0
- package/skills/pdf/scripts/fill_pdf_form_with_annotations.py +107 -0
- package/skills/pptx/LICENSE.txt +30 -0
- package/skills/pptx/SKILL.md +238 -0
- package/skills/pptx/scripts/__init__.py +0 -0
- package/skills/pptx/scripts/add_slide.py +367 -0
- package/skills/pptx/scripts/clean.py +309 -0
- package/skills/pptx/scripts/office/helpers/__init__.py +111 -0
- package/skills/pptx/scripts/office/helpers/pptx_chart.py +170 -0
- package/skills/pptx/scripts/office/helpers/pptx_slide.py +60 -0
- package/skills/pptx/scripts/office/helpers/pptx_theme.py +114 -0
- package/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-chart.xsd +1499 -0
- package/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-chartDrawing.xsd +146 -0
- package/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-diagram.xsd +1085 -0
- package/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-lockedCanvas.xsd +11 -0
- package/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-main.xsd +3081 -0
- package/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-picture.xsd +23 -0
- package/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-spreadsheetDrawing.xsd +185 -0
- package/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-wordprocessingDrawing.xsd +287 -0
- package/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/pml.xsd +1676 -0
- package/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-additionalCharacteristics.xsd +28 -0
- package/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-bibliography.xsd +144 -0
- package/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-commonSimpleTypes.xsd +174 -0
- package/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-customXmlDataProperties.xsd +25 -0
- package/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-customXmlSchemaProperties.xsd +18 -0
- package/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesCustom.xsd +59 -0
- package/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesExtended.xsd +56 -0
- package/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesVariantTypes.xsd +195 -0
- package/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-math.xsd +582 -0
- package/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-relationshipReference.xsd +25 -0
- package/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/sml.xsd +4439 -0
- package/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-main.xsd +570 -0
- package/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-officeDrawing.xsd +509 -0
- package/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-presentationDrawing.xsd +12 -0
- package/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-spreadsheetDrawing.xsd +108 -0
- package/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-wordprocessingDrawing.xsd +96 -0
- package/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/wml.xsd +3646 -0
- package/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/xml.xsd +116 -0
- package/skills/pptx/scripts/office/schemas/ecma/fouth-edition/opc-contentTypes.xsd +42 -0
- package/skills/pptx/scripts/office/schemas/ecma/fouth-edition/opc-coreProperties.xsd +50 -0
- package/skills/pptx/scripts/office/schemas/ecma/fouth-edition/opc-digSig.xsd +49 -0
- package/skills/pptx/scripts/office/schemas/ecma/fouth-edition/opc-relationships.xsd +33 -0
- package/skills/pptx/scripts/office/schemas/mce/mc.xsd +75 -0
- package/skills/pptx/scripts/office/schemas/microsoft/wml-2010.xsd +560 -0
- package/skills/pptx/scripts/office/schemas/microsoft/wml-2012.xsd +67 -0
- package/skills/pptx/scripts/office/schemas/microsoft/wml-2018.xsd +14 -0
- package/skills/pptx/scripts/office/schemas/microsoft/wml-cex-2018.xsd +20 -0
- package/skills/pptx/scripts/office/schemas/microsoft/wml-cid-2016.xsd +13 -0
- package/skills/pptx/scripts/office/schemas/microsoft/wml-sdtdatahash-2020.xsd +4 -0
- package/skills/pptx/scripts/office/schemas/microsoft/wml-symex-2015.xsd +8 -0
- package/skills/pptx/scripts/office/soffice.py +192 -0
- package/skills/pptx/scripts/office/validate.py +173 -0
- package/skills/pptx/scripts/office/validators/__init__.py +15 -0
- package/skills/pptx/scripts/office/validators/base.py +875 -0
- package/skills/pptx/scripts/office/validators/docx.py +466 -0
- package/skills/pptx/scripts/office/validators/pptx.py +441 -0
- package/skills/pptx/scripts/office/validators/redlining.py +299 -0
- package/skills/pptx/scripts/thumbnail.py +311 -0
- package/skills/raffle-winner-picker/SKILL.md +165 -0
- package/skills/receiving-code-review/SKILL.md +205 -0
- package/skills/requesting-code-review/SKILL.md +95 -0
- package/skills/requesting-code-review/code-reviewer.md +172 -0
- package/skills/skill-creator/LICENSE.txt +202 -0
- package/skills/skill-creator/SKILL.md +485 -0
- package/skills/skill-creator/agents/analyzer.md +274 -0
- package/skills/skill-creator/agents/comparator.md +202 -0
- package/skills/skill-creator/agents/grader.md +223 -0
- package/skills/skill-creator/assets/eval_review.html +146 -0
- package/skills/skill-creator/eval-viewer/generate_review.py +471 -0
- package/skills/skill-creator/eval-viewer/viewer.html +1325 -0
- package/skills/skill-creator/references/schemas.md +430 -0
- package/skills/skill-creator/scripts/__init__.py +0 -0
- package/skills/skill-creator/scripts/aggregate_benchmark.py +401 -0
- package/skills/skill-creator/scripts/generate_report.py +326 -0
- package/skills/skill-creator/scripts/improve_description.py +247 -0
- package/skills/skill-creator/scripts/package_skill.py +136 -0
- package/skills/skill-creator/scripts/quick_validate.py +103 -0
- package/skills/skill-creator/scripts/run_eval.py +310 -0
- package/skills/skill-creator/scripts/run_loop.py +328 -0
- package/skills/skill-creator/scripts/utils.py +47 -0
- package/skills/skill-share/SKILL.md +80 -0
- package/skills/slack-gif-creator/LICENSE.txt +202 -0
- package/skills/slack-gif-creator/SKILL.md +254 -0
- package/skills/slack-gif-creator/core/easing.py +234 -0
- package/skills/slack-gif-creator/core/frame_composer.py +176 -0
- package/skills/slack-gif-creator/core/gif_builder.py +269 -0
- package/skills/slack-gif-creator/core/validators.py +136 -0
- package/skills/slack-gif-creator/requirements.txt +4 -0
- package/skills/staff-engineer-review/SKILL.md +172 -0
- package/skills/subagent-driven-development/SKILL.md +503 -0
- package/skills/subagent-driven-development/implementer-prompt.md +142 -0
- package/skills/subagent-driven-development/re-review-prompt.md +106 -0
- package/skills/subagent-driven-development/scripts/review-package +46 -0
- package/skills/subagent-driven-development/scripts/sdd-workspace +40 -0
- package/skills/subagent-driven-development/scripts/task-brief +41 -0
- package/skills/subagent-driven-development/task-reviewer-prompt.md +185 -0
- package/skills/systematic-debugging/CREATION-LOG.md +119 -0
- package/skills/systematic-debugging/SKILL.md +283 -0
- package/skills/systematic-debugging/condition-based-waiting-example.ts +158 -0
- package/skills/systematic-debugging/condition-based-waiting.md +115 -0
- package/skills/systematic-debugging/defense-in-depth.md +122 -0
- package/skills/systematic-debugging/find-polluter.sh +72 -0
- package/skills/systematic-debugging/root-cause-tracing.md +169 -0
- package/skills/systematic-debugging/test-academic.md +14 -0
- package/skills/systematic-debugging/test-pressure-1.md +58 -0
- package/skills/systematic-debugging/test-pressure-2.md +68 -0
- package/skills/systematic-debugging/test-pressure-3.md +69 -0
- package/skills/test-driven-development/SKILL.md +320 -0
- package/skills/test-driven-development/writing-good-tests.md +198 -0
- package/skills/theme-factory/LICENSE.txt +202 -0
- package/skills/theme-factory/SKILL.md +59 -0
- package/skills/theme-factory/theme-showcase.pdf +0 -0
- package/skills/theme-factory/themes/arctic-frost.md +19 -0
- package/skills/theme-factory/themes/botanical-garden.md +19 -0
- package/skills/theme-factory/themes/desert-rose.md +19 -0
- package/skills/theme-factory/themes/forest-canopy.md +19 -0
- package/skills/theme-factory/themes/golden-hour.md +19 -0
- package/skills/theme-factory/themes/midnight-galaxy.md +19 -0
- package/skills/theme-factory/themes/modern-minimalist.md +19 -0
- package/skills/theme-factory/themes/ocean-depths.md +19 -0
- package/skills/theme-factory/themes/sunset-boulevard.md +19 -0
- package/skills/theme-factory/themes/tech-innovation.md +19 -0
- package/skills/using-git-worktrees/SKILL.md +167 -0
- package/skills/using-superpowers/SKILL.md +62 -0
- package/skills/using-superpowers/references/antigravity-tools.md +23 -0
- package/skills/using-superpowers/references/codex-tools.md +39 -0
- package/skills/using-superpowers/references/gemini-tools.md +63 -0
- package/skills/using-superpowers/references/pi-tools.md +16 -0
- package/skills/verification-before-completion/SKILL.md +120 -0
- package/skills/video-downloader/SKILL.md +112 -0
- package/skills/web-artifacts-builder/LICENSE.txt +202 -0
- package/skills/web-artifacts-builder/SKILL.md +74 -0
- package/skills/web-artifacts-builder/scripts/bundle-artifact.sh +54 -0
- package/skills/web-artifacts-builder/scripts/init-artifact.sh +322 -0
- package/skills/web-artifacts-builder/scripts/shadcn-components.tar.gz +0 -0
- package/skills/webapp-testing/LICENSE.txt +202 -0
- package/skills/webapp-testing/SKILL.md +96 -0
- package/skills/webapp-testing/examples/console_logging.py +35 -0
- package/skills/webapp-testing/examples/element_discovery.py +40 -0
- package/skills/webapp-testing/examples/static_html_automation.py +33 -0
- package/skills/webapp-testing/scripts/with_server.py +106 -0
- package/skills/writing-plans/SKILL.md +168 -0
- package/skills/writing-plans/plan-document-reviewer-prompt.md +49 -0
- package/skills/writing-skills/SKILL.md +679 -0
- package/skills/writing-skills/anthropic-best-practices.md +1150 -0
- package/skills/writing-skills/examples/CLAUDE_MD_TESTING.md +189 -0
- package/skills/writing-skills/graphviz-conventions.dot +172 -0
- package/skills/writing-skills/persuasion-principles.md +187 -0
- package/skills/writing-skills/render-graphs.js +168 -0
- package/skills/writing-skills/testing-skills-with-subagents.md +384 -0
- package/skills/xlsx/LICENSE.txt +30 -0
- package/skills/xlsx/SKILL.md +99 -0
- package/skills/xlsx/scripts/office/helpers/__init__.py +111 -0
- package/skills/xlsx/scripts/office/helpers/pptx_chart.py +170 -0
- package/skills/xlsx/scripts/office/helpers/pptx_slide.py +60 -0
- package/skills/xlsx/scripts/office/helpers/pptx_theme.py +114 -0
- package/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-chart.xsd +1499 -0
- package/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-chartDrawing.xsd +146 -0
- package/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-diagram.xsd +1085 -0
- package/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-lockedCanvas.xsd +11 -0
- package/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-main.xsd +3081 -0
- package/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-picture.xsd +23 -0
- package/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-spreadsheetDrawing.xsd +185 -0
- package/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-wordprocessingDrawing.xsd +287 -0
- package/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/pml.xsd +1676 -0
- package/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-additionalCharacteristics.xsd +28 -0
- package/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-bibliography.xsd +144 -0
- package/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-commonSimpleTypes.xsd +174 -0
- package/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-customXmlDataProperties.xsd +25 -0
- package/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-customXmlSchemaProperties.xsd +18 -0
- package/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesCustom.xsd +59 -0
- package/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesExtended.xsd +56 -0
- package/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesVariantTypes.xsd +195 -0
- package/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-math.xsd +582 -0
- package/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-relationshipReference.xsd +25 -0
- package/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/sml.xsd +4439 -0
- package/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-main.xsd +570 -0
- package/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-officeDrawing.xsd +509 -0
- package/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-presentationDrawing.xsd +12 -0
- package/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-spreadsheetDrawing.xsd +108 -0
- package/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-wordprocessingDrawing.xsd +96 -0
- package/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/wml.xsd +3646 -0
- package/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/xml.xsd +116 -0
- package/skills/xlsx/scripts/office/schemas/ecma/fouth-edition/opc-contentTypes.xsd +42 -0
- package/skills/xlsx/scripts/office/schemas/ecma/fouth-edition/opc-coreProperties.xsd +50 -0
- package/skills/xlsx/scripts/office/schemas/ecma/fouth-edition/opc-digSig.xsd +49 -0
- package/skills/xlsx/scripts/office/schemas/ecma/fouth-edition/opc-relationships.xsd +33 -0
- package/skills/xlsx/scripts/office/schemas/mce/mc.xsd +75 -0
- package/skills/xlsx/scripts/office/schemas/microsoft/wml-2010.xsd +560 -0
- package/skills/xlsx/scripts/office/schemas/microsoft/wml-2012.xsd +67 -0
- package/skills/xlsx/scripts/office/schemas/microsoft/wml-2018.xsd +14 -0
- package/skills/xlsx/scripts/office/schemas/microsoft/wml-cex-2018.xsd +20 -0
- package/skills/xlsx/scripts/office/schemas/microsoft/wml-cid-2016.xsd +13 -0
- package/skills/xlsx/scripts/office/schemas/microsoft/wml-sdtdatahash-2020.xsd +4 -0
- package/skills/xlsx/scripts/office/schemas/microsoft/wml-symex-2015.xsd +8 -0
- package/skills/xlsx/scripts/office/soffice.py +192 -0
- package/skills/xlsx/scripts/office/validate.py +173 -0
- package/skills/xlsx/scripts/office/validators/__init__.py +15 -0
- package/skills/xlsx/scripts/office/validators/base.py +875 -0
- package/skills/xlsx/scripts/office/validators/docx.py +466 -0
- package/skills/xlsx/scripts/office/validators/pptx.py +441 -0
- package/skills/xlsx/scripts/office/validators/redlining.py +299 -0
- package/skills/xlsx/scripts/recalc.py +308 -0
- package/src/account/account.ts +1 -2
- package/src/account/repo.ts +2 -1
- package/src/acp/content.ts +1 -1
- package/src/acp/directory.ts +2 -2
- package/src/acp/event.ts +1 -1
- package/src/acp/session.ts +2 -2
- package/src/agent/agent.ts +62 -31
- package/src/agent/subagent-permissions.ts +1 -1
- package/src/cli/cmd/account.ts +2 -1
- package/src/cli/cmd/debug/agent.handler.ts +1 -1
- package/src/cli/cmd/export.ts +1 -1
- package/src/cli/cmd/github.handler.ts +4 -2
- package/src/cli/cmd/mcp.ts +2 -2
- package/src/cli/cmd/run/footer.prompt.tsx +7 -2
- package/src/cli/cmd/stats.ts +1 -1
- package/src/cli/network.ts +1 -1
- package/src/config/config.ts +3 -5
- package/src/config/plugin.ts +1 -1
- package/src/control-plane/workspace.ts +3 -2
- package/src/effect/app-node-builder-v1.ts +1 -1
- package/src/effect/instance-state.ts +2 -1
- package/src/effect/runner.ts +2 -1
- package/src/effect/runtime-flags.ts +2 -1
- package/src/image/image.ts +1 -1
- package/src/installation/index.ts +4 -8
- package/src/lsp/diagnostic.ts +1 -1
- package/src/mcp/catalog.ts +1 -1
- package/src/mcp/index.ts +2 -2
- package/src/mcp/oauth-provider.ts +1 -1
- package/src/permission/index.ts +7 -3
- package/src/plugin/index.ts +7 -3
- package/src/plugin/loader.ts +1 -1
- package/src/plugin/tui/runtime.ts +1 -1
- package/src/project/bootstrap-service.ts +2 -1
- package/src/project/project.ts +3 -2
- package/src/project/vcs.ts +1 -1
- package/src/provider/error.ts +1 -1
- package/src/provider/provider.ts +3 -2
- package/src/question/index.ts +1 -1
- package/src/server/auth.ts +2 -1
- package/src/server/routes/instance/httpapi/groups/metadata.ts +1 -1
- package/src/server/routes/instance/httpapi/handlers/control-plane.ts +2 -1
- package/src/server/routes/instance/httpapi/handlers/control.ts +2 -2
- package/src/server/routes/instance/httpapi/handlers/experimental.ts +2 -1
- package/src/server/routes/instance/httpapi/handlers/global.ts +2 -1
- package/src/server/routes/instance/httpapi/handlers/mcp.ts +2 -1
- package/src/server/routes/instance/httpapi/handlers/permission.ts +1 -1
- package/src/server/routes/instance/httpapi/handlers/project-copy.ts +1 -1
- package/src/server/routes/instance/httpapi/handlers/provider.ts +3 -2
- package/src/server/routes/instance/httpapi/handlers/pty.ts +1 -1
- package/src/server/routes/instance/httpapi/handlers/question.ts +1 -1
- package/src/server/routes/instance/httpapi/handlers/session.ts +5 -5
- package/src/server/routes/instance/httpapi/handlers/sync.ts +2 -2
- package/src/server/routes/instance/httpapi/handlers/tui.ts +1 -1
- package/src/server/routes/instance/httpapi/handlers/workspace.ts +2 -1
- package/src/server/routes/instance/httpapi/lifecycle.ts +2 -1
- package/src/server/routes/instance/httpapi/middleware/instance-context.ts +1 -1
- package/src/server/routes/instance/httpapi/middleware/proxy.ts +2 -1
- package/src/server/routes/instance/httpapi/server.ts +2 -1
- package/src/server/shared/fence.ts +1 -1
- package/src/server/shared/ui.ts +2 -1
- package/src/session/compaction.ts +5 -4
- package/src/session/instruction.ts +1 -1
- package/src/session/llm/native-runtime.ts +2 -1
- package/src/session/llm/request.ts +2 -2
- package/src/session/llm.ts +2 -2
- package/src/session/message-v2.ts +5 -16
- package/src/session/overflow.ts +2 -2
- package/src/session/prompt.ts +4 -3
- package/src/session/reminders.ts +2 -2
- package/src/session/revert.ts +1 -1
- package/src/session/run-state.ts +4 -3
- package/src/session/session.ts +2 -1
- package/src/session/status.ts +1 -1
- package/src/session/summary.ts +1 -1
- package/src/session/system.ts +1 -1
- package/src/session/todo.ts +1 -1
- package/src/session/tools.ts +6 -6
- package/src/share/session.ts +1 -1
- package/src/share/share-next.ts +1 -1
- package/src/tool/computer.ts +195 -136
- package/src/tool/edit.ts +1 -1
- package/src/tool/mcp-websearch.ts +2 -1
- package/src/tool/plan.ts +1 -1
- package/src/tool/registry.ts +2 -2
- package/src/tool/task.ts +1 -1
- package/src/tool/tool.ts +2 -2
- package/src/util/bom.ts +1 -1
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main" xmlns:s="http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes" xmlns:w16="http://schemas.microsoft.com/office/word/2018/wordml" elementFormDefault="qualified" attributeFormDefault="qualified" blockDefault="#all" xmlns="http://schemas.microsoft.com/office/word/2018/wordml/cex" targetNamespace="http://schemas.microsoft.com/office/word/2018/wordml/cex">
|
|
2
|
+
<xsd:import id="w16" namespace="http://schemas.microsoft.com/office/word/2018/wordml" schemaLocation="wml-2018.xsd"/>
|
|
3
|
+
<xsd:import id="w" namespace="http://schemas.openxmlformats.org/wordprocessingml/2006/main" schemaLocation="../ISO-IEC29500-4_2016/wml.xsd"/>
|
|
4
|
+
<xsd:import id="s" namespace="http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes" schemaLocation="../ISO-IEC29500-4_2016/shared-commonSimpleTypes.xsd"/>
|
|
5
|
+
<xsd:complexType name="CT_CommentsExtensible">
|
|
6
|
+
<xsd:sequence>
|
|
7
|
+
<xsd:element name="commentExtensible" type="CT_CommentExtensible" minOccurs="0" maxOccurs="unbounded"/>
|
|
8
|
+
<xsd:element name="extLst" type="w16:CT_ExtensionList" minOccurs="0" maxOccurs="1"/>
|
|
9
|
+
</xsd:sequence>
|
|
10
|
+
</xsd:complexType>
|
|
11
|
+
<xsd:complexType name="CT_CommentExtensible">
|
|
12
|
+
<xsd:sequence>
|
|
13
|
+
<xsd:element name="extLst" type="w16:CT_ExtensionList" minOccurs="0" maxOccurs="1"/>
|
|
14
|
+
</xsd:sequence>
|
|
15
|
+
<xsd:attribute name="durableId" type="w:ST_LongHexNumber" use="required"/>
|
|
16
|
+
<xsd:attribute name="dateUtc" type="w:ST_DateTime" use="optional"/>
|
|
17
|
+
<xsd:attribute name="intelligentPlaceholder" type="s:ST_OnOff" use="optional"/>
|
|
18
|
+
</xsd:complexType>
|
|
19
|
+
<xsd:element name="commentsExtensible" type="CT_CommentsExtensible"/>
|
|
20
|
+
</xsd:schema>
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:w12="http://schemas.openxmlformats.org/wordprocessingml/2006/main" elementFormDefault="qualified" attributeFormDefault="qualified" blockDefault="#all" xmlns="http://schemas.microsoft.com/office/word/2016/wordml/cid" targetNamespace="http://schemas.microsoft.com/office/word/2016/wordml/cid">
|
|
2
|
+
<xsd:import id="w12" namespace="http://schemas.openxmlformats.org/wordprocessingml/2006/main" schemaLocation="../ISO-IEC29500-4_2016/wml.xsd"/>
|
|
3
|
+
<xsd:complexType name="CT_CommentsIds">
|
|
4
|
+
<xsd:sequence>
|
|
5
|
+
<xsd:element name="commentId" type="CT_CommentId" minOccurs="0" maxOccurs="unbounded"/>
|
|
6
|
+
</xsd:sequence>
|
|
7
|
+
</xsd:complexType>
|
|
8
|
+
<xsd:complexType name="CT_CommentId">
|
|
9
|
+
<xsd:attribute name="paraId" type="w12:ST_LongHexNumber" use="required"/>
|
|
10
|
+
<xsd:attribute name="durableId" type="w12:ST_LongHexNumber" use="required"/>
|
|
11
|
+
</xsd:complexType>
|
|
12
|
+
<xsd:element name="commentsIds" type="CT_CommentsIds"/>
|
|
13
|
+
</xsd:schema>
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:w12="http://schemas.openxmlformats.org/wordprocessingml/2006/main" elementFormDefault="qualified" attributeFormDefault="qualified" blockDefault="#all" xmlns="http://schemas.microsoft.com/office/word/2020/wordml/sdtdatahash" targetNamespace="http://schemas.microsoft.com/office/word/2020/wordml/sdtdatahash">
|
|
2
|
+
<xsd:import id="w12" namespace="http://schemas.openxmlformats.org/wordprocessingml/2006/main" schemaLocation="../ISO-IEC29500-4_2016/wml.xsd"/>
|
|
3
|
+
<xsd:attribute name="storeItemChecksum" type="w12:ST_String"/>
|
|
4
|
+
</xsd:schema>
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:w12="http://schemas.openxmlformats.org/wordprocessingml/2006/main" elementFormDefault="qualified" attributeFormDefault="qualified" blockDefault="#all" xmlns="http://schemas.microsoft.com/office/word/2015/wordml/symex" targetNamespace="http://schemas.microsoft.com/office/word/2015/wordml/symex">
|
|
2
|
+
<xsd:import id="w12" namespace="http://schemas.openxmlformats.org/wordprocessingml/2006/main" schemaLocation="../ISO-IEC29500-4_2016/wml.xsd"/>
|
|
3
|
+
<xsd:complexType name="CT_SymEx">
|
|
4
|
+
<xsd:attribute name="font" type="w12:ST_String"/>
|
|
5
|
+
<xsd:attribute name="char" type="w12:ST_LongHexNumber"/>
|
|
6
|
+
</xsd:complexType>
|
|
7
|
+
<xsd:element name="symEx" type="CT_SymEx"/>
|
|
8
|
+
</xsd:schema>
|
|
@@ -0,0 +1,192 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Helper for running LibreOffice (soffice) in environments where AF_UNIX
|
|
3
|
+
sockets may be blocked (e.g., sandboxed VMs). Detects the restriction
|
|
4
|
+
at runtime and applies an LD_PRELOAD shim if needed.
|
|
5
|
+
|
|
6
|
+
Usage:
|
|
7
|
+
from office.soffice import run_soffice
|
|
8
|
+
|
|
9
|
+
result = run_soffice(["--headless", "--convert-to", "pdf", "input.docx"])
|
|
10
|
+
|
|
11
|
+
Call soffice through run_soffice, not through subprocess with get_soffice_env():
|
|
12
|
+
the env dict carries the shim but names no user profile, and a non-root sandbox
|
|
13
|
+
cannot bootstrap the default one -- soffice aborts with "User installation could
|
|
14
|
+
not be completed" and converts nothing. get_soffice_env() stays public for the
|
|
15
|
+
callers that build their own argv (they must pass -env:UserInstallation too).
|
|
16
|
+
"""
|
|
17
|
+
|
|
18
|
+
import contextlib
|
|
19
|
+
import os
|
|
20
|
+
import socket
|
|
21
|
+
import subprocess
|
|
22
|
+
import tempfile
|
|
23
|
+
from collections.abc import Iterable
|
|
24
|
+
from pathlib import Path
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
def get_soffice_env() -> dict:
|
|
28
|
+
env = os.environ.copy()
|
|
29
|
+
env["SAL_USE_VCLPLUGIN"] = "svp"
|
|
30
|
+
|
|
31
|
+
if _needs_shim():
|
|
32
|
+
shim = _ensure_shim()
|
|
33
|
+
env["LD_PRELOAD"] = str(shim)
|
|
34
|
+
|
|
35
|
+
return env
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
def run_soffice(args: Iterable[str], **kwargs) -> subprocess.CompletedProcess:
|
|
39
|
+
args = list(args)
|
|
40
|
+
with contextlib.ExitStack() as stack:
|
|
41
|
+
if not any(str(a).startswith("-env:UserInstallation") for a in args):
|
|
42
|
+
profile = stack.enter_context(
|
|
43
|
+
tempfile.TemporaryDirectory(prefix="lo_profile_", ignore_cleanup_errors=True)
|
|
44
|
+
)
|
|
45
|
+
args = [f"-env:UserInstallation={Path(profile).as_uri()}"] + args
|
|
46
|
+
return subprocess.run(["soffice"] + args, env=get_soffice_env(), **kwargs)
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
_SHIM_SO = Path(tempfile.gettempdir()) / "lo_socket_shim.so"
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
def _needs_shim() -> bool:
|
|
54
|
+
try:
|
|
55
|
+
s = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM)
|
|
56
|
+
s.close()
|
|
57
|
+
return False
|
|
58
|
+
except OSError:
|
|
59
|
+
return True
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
def _ensure_shim() -> Path:
|
|
63
|
+
if _SHIM_SO.exists():
|
|
64
|
+
return _SHIM_SO
|
|
65
|
+
|
|
66
|
+
src = Path(tempfile.gettempdir()) / "lo_socket_shim.c"
|
|
67
|
+
src.write_text(_SHIM_SOURCE)
|
|
68
|
+
subprocess.run(
|
|
69
|
+
["gcc", "-shared", "-fPIC", "-o", str(_SHIM_SO), str(src), "-ldl"],
|
|
70
|
+
check=True,
|
|
71
|
+
capture_output=True,
|
|
72
|
+
)
|
|
73
|
+
src.unlink()
|
|
74
|
+
return _SHIM_SO
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
_SHIM_SOURCE = r"""
|
|
79
|
+
#define _GNU_SOURCE
|
|
80
|
+
#include <dlfcn.h>
|
|
81
|
+
#include <errno.h>
|
|
82
|
+
#include <signal.h>
|
|
83
|
+
#include <stdio.h>
|
|
84
|
+
#include <stdlib.h>
|
|
85
|
+
#include <sys/socket.h>
|
|
86
|
+
#include <unistd.h>
|
|
87
|
+
|
|
88
|
+
static int (*real_socket)(int, int, int);
|
|
89
|
+
static int (*real_socketpair)(int, int, int, int[2]);
|
|
90
|
+
static int (*real_listen)(int, int);
|
|
91
|
+
static int (*real_accept)(int, struct sockaddr *, socklen_t *);
|
|
92
|
+
static int (*real_close)(int);
|
|
93
|
+
static int (*real_read)(int, void *, size_t);
|
|
94
|
+
|
|
95
|
+
/* Per-FD bookkeeping (FDs >= 1024 are passed through unshimmed). */
|
|
96
|
+
static int is_shimmed[1024];
|
|
97
|
+
static int peer_of[1024];
|
|
98
|
+
static int wake_r[1024]; /* accept() blocks reading this */
|
|
99
|
+
static int wake_w[1024]; /* close() writes to this */
|
|
100
|
+
static int listener_fd = -1; /* FD that received listen() */
|
|
101
|
+
|
|
102
|
+
__attribute__((constructor))
|
|
103
|
+
static void init(void) {
|
|
104
|
+
real_socket = dlsym(RTLD_NEXT, "socket");
|
|
105
|
+
real_socketpair = dlsym(RTLD_NEXT, "socketpair");
|
|
106
|
+
real_listen = dlsym(RTLD_NEXT, "listen");
|
|
107
|
+
real_accept = dlsym(RTLD_NEXT, "accept");
|
|
108
|
+
real_close = dlsym(RTLD_NEXT, "close");
|
|
109
|
+
real_read = dlsym(RTLD_NEXT, "read");
|
|
110
|
+
for (int i = 0; i < 1024; i++) {
|
|
111
|
+
peer_of[i] = -1;
|
|
112
|
+
wake_r[i] = -1;
|
|
113
|
+
wake_w[i] = -1;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
/* ---- socket ---------------------------------------------------------- */
|
|
118
|
+
int socket(int domain, int type, int protocol) {
|
|
119
|
+
if (domain == AF_UNIX) {
|
|
120
|
+
int fd = real_socket(domain, type, protocol);
|
|
121
|
+
if (fd >= 0) return fd;
|
|
122
|
+
/* socket(AF_UNIX) blocked – fall back to socketpair(). */
|
|
123
|
+
int sv[2];
|
|
124
|
+
if (real_socketpair(domain, type, protocol, sv) == 0) {
|
|
125
|
+
if (sv[0] >= 0 && sv[0] < 1024) {
|
|
126
|
+
is_shimmed[sv[0]] = 1;
|
|
127
|
+
peer_of[sv[0]] = sv[1];
|
|
128
|
+
int wp[2];
|
|
129
|
+
if (pipe(wp) == 0) {
|
|
130
|
+
wake_r[sv[0]] = wp[0];
|
|
131
|
+
wake_w[sv[0]] = wp[1];
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
return sv[0];
|
|
135
|
+
}
|
|
136
|
+
errno = EPERM;
|
|
137
|
+
return -1;
|
|
138
|
+
}
|
|
139
|
+
return real_socket(domain, type, protocol);
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
/* ---- listen ---------------------------------------------------------- */
|
|
143
|
+
int listen(int sockfd, int backlog) {
|
|
144
|
+
if (sockfd >= 0 && sockfd < 1024 && is_shimmed[sockfd]) {
|
|
145
|
+
listener_fd = sockfd;
|
|
146
|
+
return 0;
|
|
147
|
+
}
|
|
148
|
+
return real_listen(sockfd, backlog);
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
/* ---- accept ---------------------------------------------------------- */
|
|
152
|
+
int accept(int sockfd, struct sockaddr *addr, socklen_t *addrlen) {
|
|
153
|
+
if (sockfd >= 0 && sockfd < 1024 && is_shimmed[sockfd]) {
|
|
154
|
+
/* Block until close() writes to the wake pipe. */
|
|
155
|
+
if (wake_r[sockfd] >= 0) {
|
|
156
|
+
char buf;
|
|
157
|
+
real_read(wake_r[sockfd], &buf, 1);
|
|
158
|
+
}
|
|
159
|
+
errno = ECONNABORTED;
|
|
160
|
+
return -1;
|
|
161
|
+
}
|
|
162
|
+
return real_accept(sockfd, addr, addrlen);
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
/* ---- close ----------------------------------------------------------- */
|
|
166
|
+
int close(int fd) {
|
|
167
|
+
if (fd >= 0 && fd < 1024 && is_shimmed[fd]) {
|
|
168
|
+
int was_listener = (fd == listener_fd);
|
|
169
|
+
is_shimmed[fd] = 0;
|
|
170
|
+
|
|
171
|
+
if (wake_w[fd] >= 0) { /* unblock accept() */
|
|
172
|
+
char c = 0;
|
|
173
|
+
write(wake_w[fd], &c, 1);
|
|
174
|
+
real_close(wake_w[fd]);
|
|
175
|
+
wake_w[fd] = -1;
|
|
176
|
+
}
|
|
177
|
+
if (wake_r[fd] >= 0) { real_close(wake_r[fd]); wake_r[fd] = -1; }
|
|
178
|
+
if (peer_of[fd] >= 0) { real_close(peer_of[fd]); peer_of[fd] = -1; }
|
|
179
|
+
|
|
180
|
+
if (was_listener)
|
|
181
|
+
_exit(0); /* conversion done – exit */
|
|
182
|
+
}
|
|
183
|
+
return real_close(fd);
|
|
184
|
+
}
|
|
185
|
+
"""
|
|
186
|
+
|
|
187
|
+
|
|
188
|
+
|
|
189
|
+
if __name__ == "__main__":
|
|
190
|
+
import sys
|
|
191
|
+
result = run_soffice(sys.argv[1:])
|
|
192
|
+
sys.exit(result.returncode)
|
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Command line tool to validate Office document XML files against XSD schemas and tracked changes.
|
|
3
|
+
|
|
4
|
+
Usage:
|
|
5
|
+
python validate.py <path> [--original <original_file>] [--auto-repair] [--author NAME]
|
|
6
|
+
|
|
7
|
+
The first argument can be either:
|
|
8
|
+
- An unpacked directory containing the Office document XML files
|
|
9
|
+
- A packed Office file (.docx/.pptx/.xlsx or .dotx/.potx/.xltx template) which will be unpacked to a temp directory
|
|
10
|
+
|
|
11
|
+
Auto-repair fixes:
|
|
12
|
+
- paraId/durableId values that exceed OOXML limits
|
|
13
|
+
- Missing xml:space="preserve" on w:t elements with whitespace
|
|
14
|
+
"""
|
|
15
|
+
|
|
16
|
+
import argparse
|
|
17
|
+
import sys
|
|
18
|
+
import tempfile
|
|
19
|
+
import zipfile
|
|
20
|
+
from pathlib import Path
|
|
21
|
+
|
|
22
|
+
import defusedxml.ElementTree as ET
|
|
23
|
+
from defusedxml.common import DefusedXmlException
|
|
24
|
+
|
|
25
|
+
from helpers import OOXML_FAMILY, rezip, safe_extract
|
|
26
|
+
from validators import DOCXSchemaValidator, PPTXSchemaValidator, RedliningValidator
|
|
27
|
+
|
|
28
|
+
WORD_NS = "http://schemas.openxmlformats.org/wordprocessingml/2006/main"
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
def _fail(message: str):
|
|
32
|
+
print(f"Error: {message}", file=sys.stderr)
|
|
33
|
+
sys.exit(2)
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
def _has_tracked_changes(unpacked_dir: Path) -> bool:
|
|
37
|
+
document = unpacked_dir / "word" / "document.xml"
|
|
38
|
+
if not document.is_file():
|
|
39
|
+
return False
|
|
40
|
+
try:
|
|
41
|
+
root = ET.parse(document).getroot()
|
|
42
|
+
except (ET.ParseError, DefusedXmlException):
|
|
43
|
+
return False
|
|
44
|
+
tracked = {f"{{{WORD_NS}}}ins", f"{{{WORD_NS}}}del"}
|
|
45
|
+
return any(elem.tag in tracked for elem in root.iter())
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
def main():
|
|
49
|
+
parser = argparse.ArgumentParser(description="Validate Office document XML files")
|
|
50
|
+
parser.add_argument(
|
|
51
|
+
"path",
|
|
52
|
+
help="Path to unpacked directory or packed Office file (.docx/.pptx/.xlsx or .dotx/.potx/.xltx)",
|
|
53
|
+
)
|
|
54
|
+
parser.add_argument(
|
|
55
|
+
"--original",
|
|
56
|
+
required=False,
|
|
57
|
+
default=None,
|
|
58
|
+
help="Path to original file (.docx/.pptx/.xlsx or .dotx/.potx/.xltx). If omitted, all XSD errors are reported and redlining validation is skipped.",
|
|
59
|
+
)
|
|
60
|
+
parser.add_argument(
|
|
61
|
+
"-v",
|
|
62
|
+
"--verbose",
|
|
63
|
+
action="store_true",
|
|
64
|
+
help="Enable verbose output",
|
|
65
|
+
)
|
|
66
|
+
parser.add_argument(
|
|
67
|
+
"--auto-repair",
|
|
68
|
+
action="store_true",
|
|
69
|
+
help="Automatically repair common issues (hex IDs, whitespace preservation). "
|
|
70
|
+
"Modifies the input in place: repairs to a packed file are written back to it.",
|
|
71
|
+
)
|
|
72
|
+
parser.add_argument(
|
|
73
|
+
"--author",
|
|
74
|
+
default=None,
|
|
75
|
+
help="The name you are redlining under. Passing it turns on the "
|
|
76
|
+
"tracked-change check: any text differing from --original without a "
|
|
77
|
+
"<w:ins>/<w:del> recording it is reported. Untracked edits carry no "
|
|
78
|
+
"author, so the check covers them whoever made them — the name marks "
|
|
79
|
+
"the run as redlining work and is not used to filter. Requires "
|
|
80
|
+
"--original; docx only.",
|
|
81
|
+
)
|
|
82
|
+
args = parser.parse_args()
|
|
83
|
+
|
|
84
|
+
if args.author is not None and not args.original:
|
|
85
|
+
_fail("--author requires --original")
|
|
86
|
+
|
|
87
|
+
path = Path(args.path)
|
|
88
|
+
if not path.exists():
|
|
89
|
+
_fail(f"{path} does not exist")
|
|
90
|
+
|
|
91
|
+
original_file = None
|
|
92
|
+
if args.original:
|
|
93
|
+
original_file = Path(args.original)
|
|
94
|
+
if not original_file.is_file():
|
|
95
|
+
_fail(f"{original_file} is not a file")
|
|
96
|
+
if original_file.suffix.lower() not in OOXML_FAMILY:
|
|
97
|
+
_fail(f"{original_file} must be one of: {', '.join(sorted(OOXML_FAMILY))}")
|
|
98
|
+
|
|
99
|
+
family = OOXML_FAMILY.get((original_file or path).suffix.lower())
|
|
100
|
+
if family is None:
|
|
101
|
+
_fail(
|
|
102
|
+
f"Cannot determine file type from {path}. Use --original or provide one of: {', '.join(sorted(OOXML_FAMILY))}."
|
|
103
|
+
)
|
|
104
|
+
|
|
105
|
+
if args.author is not None and family != "docx":
|
|
106
|
+
_fail(f"--author only applies to docx files, not {family}")
|
|
107
|
+
|
|
108
|
+
packed_file = None
|
|
109
|
+
temp_dir_ctx = None
|
|
110
|
+
if path.is_file() and path.suffix.lower() in OOXML_FAMILY:
|
|
111
|
+
packed_file = path
|
|
112
|
+
temp_dir_ctx = tempfile.TemporaryDirectory()
|
|
113
|
+
unpacked_dir = Path(temp_dir_ctx.name)
|
|
114
|
+
try:
|
|
115
|
+
with zipfile.ZipFile(path, "r") as zf:
|
|
116
|
+
safe_extract(zf, unpacked_dir)
|
|
117
|
+
except (zipfile.BadZipFile, ValueError, OSError) as e:
|
|
118
|
+
_fail(f"cannot unpack {path}: {e}")
|
|
119
|
+
else:
|
|
120
|
+
if not path.is_dir():
|
|
121
|
+
_fail(f"{path} is not a directory or Office file")
|
|
122
|
+
unpacked_dir = path
|
|
123
|
+
|
|
124
|
+
match family:
|
|
125
|
+
case "docx":
|
|
126
|
+
validators = [
|
|
127
|
+
DOCXSchemaValidator(unpacked_dir, original_file, verbose=args.verbose),
|
|
128
|
+
]
|
|
129
|
+
if args.author is not None:
|
|
130
|
+
validators.append(
|
|
131
|
+
RedliningValidator(unpacked_dir, original_file, verbose=args.verbose)
|
|
132
|
+
)
|
|
133
|
+
elif original_file and _has_tracked_changes(unpacked_dir):
|
|
134
|
+
print(
|
|
135
|
+
"Note: this document has tracked changes; they were not "
|
|
136
|
+
"checked against the original (pass --author to check)."
|
|
137
|
+
)
|
|
138
|
+
case "pptx":
|
|
139
|
+
validators = [
|
|
140
|
+
PPTXSchemaValidator(unpacked_dir, original_file, verbose=args.verbose),
|
|
141
|
+
]
|
|
142
|
+
case "xlsx":
|
|
143
|
+
exts = ", ".join(k for k, v in sorted(OOXML_FAMILY.items()) if v == "xlsx")
|
|
144
|
+
print(
|
|
145
|
+
f"No XSD schema validation is performed for xlsx-family files ({exts}). "
|
|
146
|
+
"For formula-error checking, use scripts/recalc.py instead."
|
|
147
|
+
)
|
|
148
|
+
sys.exit(0)
|
|
149
|
+
case _:
|
|
150
|
+
print(f"Error: Validation not supported for file type {family}")
|
|
151
|
+
sys.exit(1)
|
|
152
|
+
|
|
153
|
+
if args.auto_repair:
|
|
154
|
+
total_repairs = sum(v.repair() for v in validators)
|
|
155
|
+
if total_repairs:
|
|
156
|
+
print(f"Auto-repaired {total_repairs} issue(s)")
|
|
157
|
+
if packed_file is not None:
|
|
158
|
+
rezip(unpacked_dir, packed_file)
|
|
159
|
+
print(f"Wrote repaired file to {packed_file}")
|
|
160
|
+
|
|
161
|
+
success = all([v.validate() for v in validators])
|
|
162
|
+
|
|
163
|
+
if temp_dir_ctx is not None:
|
|
164
|
+
temp_dir_ctx.cleanup()
|
|
165
|
+
|
|
166
|
+
if success:
|
|
167
|
+
print("All validations PASSED!")
|
|
168
|
+
|
|
169
|
+
sys.exit(0 if success else 1)
|
|
170
|
+
|
|
171
|
+
|
|
172
|
+
if __name__ == "__main__":
|
|
173
|
+
main()
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Validation modules for Word document processing.
|
|
3
|
+
"""
|
|
4
|
+
|
|
5
|
+
from .base import BaseSchemaValidator
|
|
6
|
+
from .docx import DOCXSchemaValidator
|
|
7
|
+
from .pptx import PPTXSchemaValidator
|
|
8
|
+
from .redlining import RedliningValidator
|
|
9
|
+
|
|
10
|
+
__all__ = [
|
|
11
|
+
"BaseSchemaValidator",
|
|
12
|
+
"DOCXSchemaValidator",
|
|
13
|
+
"PPTXSchemaValidator",
|
|
14
|
+
"RedliningValidator",
|
|
15
|
+
]
|