Logo Om Auto Upgrade 0.6.7 To 0.7.0

Om Auto Upgrade 0.6.7 To 0.7.0

Tổ chứcPhổ biến
open-mercato
om-auto-upgrade-0.6.7-to-0.7.0

Di chuyển mã Open Mercato ở dự án phụ thuộc từ phiên bản 0.6.7 lên 0.7.0 với các chỉnh sửa chính xác cho TanStack, nhóm cài đặt và biến môi trường đã bị xóa; rà soát các thay đổi về xác thực, tìm kiếm, workflow, facts, Redis, webhook và security header; xác thực ứng dụng; đồng thời báo cáo những việc cần xử lý thủ công. Dùng khi cần "nâng cấp Open Mercato lên 0.7.0", "di chuyển từ 0.6.7 lên 0.7.0", "áp dụng ghi chú nâng cấp 0.7.0" hoặc "zaktualizuj Open Mercato do 0.7.0".

Add to TypingMind

Tổng quan

Nhà phát hànhopen-mercato
Kho mãopen-mercato
Tên kỹ năngom-auto-upgrade-0.6.7-to-0.7.0
Sao
1.8K
Bản fork
415
Tệp đi kèm
Chỉ có hướng dẫn
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • Hướng dẫn có đủ mọi thứ cần thiết

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được open-mercato công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Om Auto Upgrade 0.6.7 To 0.7.0 trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/open-mercato/open-mercato/tree/main/packages/create-app/agentic/shared/ai/skills/om-auto-upgrade-0.6.7-to-0.7.0
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/open-mercato/open-mercato.git /tmp/open-mercato
mkdir -p .claude/skills
cp -r /tmp/open-mercato/packages/create-app/agentic/shared/ai/skills/om-auto-upgrade-0.6.7-to-0.7.0 .claude/skills/om-auto-upgrade-0.6.7-to-0.7.0
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Om Auto Upgrade 0.6.7 To 0.7.0 trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Om Auto Upgrade 0.6.7 To 0.7.0 ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Om Auto Upgrade 0.6.7 To 0.7.0 với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Auto upgrade 0.6.7 to 0.7.0

Apply the mechanical parts of the Open Mercato 0.6.7 → 0.7.0 upgrade to a downstream app. Treat the matching section of UPGRADE_NOTES.md as the source of truth and leave every intent-sensitive change as an explicit manual finding.

Scope

Operate on a standalone app or downstream repository that depends on @open-mercato/*. Never modify the framework monorepo, framework-owned packages/, dependency pins, lockfiles, generated output, vendored dependencies, or secrets. Run after the user has selected and installed 0.7.0.

Arguments

  • --path <dir>: downstream repository root; defaults to the current directory.
  • --dry-run: detect, classify, and report without editing files or running mutating commands.
  • --only <id[,id...]>: limit work to named checks.
  • --skip <id[,id...]>: omit named checks and record the omission in the report.

Reject unknown flags and combining --only with --skip.

Upgrade checks

IDClassificationDetectAction
passkey-mfa-assertionDetect and reportCallers that post { credentialId, challenge }, or a bare credential id, to POST /api/security/mfa/verify or POST /api/security/sudo/verify, and custom passkey enrollment pathsReport the removed payload shape and require the object returned by startAuthentication() as payload.response; carry the operator actions for credentials enrolled through the still-open attestation shortcut (#5296) and never delete or reset MFA rows automatically
jwt-secret-requiredDetect and report${JWT_SECRET:-…} defaults in compose files, JWT_SECRET or JWT_<AUDIENCE>_SECRET values that are absent, shorter than 32 characters, or a published placeholder, and JWT_LEGACY_GRACE_MINUTES set without JWT_LEGACY_CUTOVER_ATReport the required operator steps before the production rollout, including the legacy-token cutover decision; never generate, print, or write a secret value into a repository file
standalone-ds-i18n-gatesDetect and reportStandalone apps missing scripts/ds-check.mjs, scripts/i18n-check-hardcoded.mjs, the matching package.json scripts, the typecheck memory headroom, or yarn ds:check in .ai/agentic.config.json validation.commandsReport the copy-and-register steps against the current template and the reasoned .ds-check-ignore baseline; keep yarn i18n:check-hardcoded advisory and never add a hard-failing gate to a user's config unprompted
module-fact-sheet-directoriesAutomatic when exact; otherwise reportLiteral .ai/guides/modules/<id>.md or .ai/guides/reference-modules/<id>.md reads in harness scripts, skills, or docsRewrite only an exact flat-sheet path to the <id>/index.md form; report globs, manifest-driven readers, and any consumer that enumerated the flat layout
user-confirmation-semanticsDetect and reportUser creation, setup, or update code that writes isConfirmed: falseReport each write whose users are still expected to authenticate; do not invent a replacement field
audit-log-context-shapeDetect and reportCommand interceptors returning metadata.context, and consumers that assume keys are absent from ActionLog.context_jsonExplain the new metadata.logContext input and shallow-merge precedence; do not rewrite ownership-sensitive logging code
global-search-aclDetect and reportClients of /api/search/search/global authorized only by search.view, custom search.ts entities without aclFeatures, and custom-entity search consumersReport the required search.global grant and per-entity view features; include the post-upgrade role-ACL sync command as manual work
hybrid-search-aclDetect and reportCallers of GET /api/search/search authorized only by search.view, and custom search.ts entities that declare no aclFeaturesReport the per-entity view features those callers now need and the fail-closed behaviour for entity types without aclFeatures; point at OM_SEARCH_DEBUG=true for the dropped-type diagnosis and never widen a role's grants automatically
preset-search-moduleNo code actionExisting crm or empty apps whose module registry omits searchExplain that only new scaffolds changed and show the optional module registration for apps that want Cmd+K search
data-sync-batch-tracesDetect and reportAdapter streamImport/streamExport implementations that return a synchronous iterable of promises, hand-rolled per-batch spans, and saved traces or dashboards that assumed sync work nested under the triggering requestReport the enforced genuine AsyncIterable contract, the now-redundant adapter span, and the new data_sync.*.batch root traces reached through a span link; never rewrite an adapter's iteration protocol automatically
tanstack-table-v9Automatic when exact; otherwise reportRoot imports of ColumnDef, useReactTable, row-model factories, renamed state/function types, and Jest transform allowlistsRewrite only an exact single-specifier type import of ColumnDef to LegacyColumnDef as ColumnDef from @tanstack/react-table/legacy; report combined imports, hooks, generics, renamed types, and Jest config for review
ioredis-resp2Detect and reportDirect ioredis construction that does not use shared connection helpers or REDIS_WIRE_PROTOCOLReport the client and require an explicit RESP2 decision; never inject connection options blindly
sales-line-default-orderNo code actionConsumers of order-line or quote-line list endpoints that pass no explicit sortExplain the new line_number ASC, id ASC default, cache-TTL caveat, and ?sortField=id compatibility choice
workflow-unresolved-templatesDetect and reportSource-controlled UPDATE_ENTITY inputs or EMIT_EVENT payloads containing literal {{...}} templatesReport candidates that may intentionally pass braces through and require review of stored workflow definitions; never escape or relocate templates automatically
credential-free-integrationsNo code actionIntegrations or bundles declaring an effective credentials schema with fields: []Explain that they now resolve as configured and that inherited bundle credentials still win
removed-example-injection-flagAutomatic when exact; otherwise reportNEXT_PUBLIC_OM_EXAMPLE_INJECTION_WIDGETS_ENABLED in environment files, deployment config, source, or copied example injection registriesRemove only an exact assignment line in a regular .env* file without displaying its value; report every other occurrence and every conditional registry for manual simplification
module-facts-v2Detect and reportDirect readers of .ai/guides/module-facts.json, explicit factsContractVersion: 1, pinned contribution IDs/modes, and extension-table workaroundsReport migration to the v2 sidecar/default extractor contract and require consumers to repin intentionally; do not rewrite fact IDs or explicit extension tables
settings-section-group-idAutomatic when exact; otherwise reportInjected groupId values and buildSettingsSections order maps keyed by rendered-label slugsReplace only the exact groupId: 'module-configs' or double-quoted equivalent with settings.sections.moduleConfigs, preserving quote style; report every other slug and sectionOrder key
webhook-body-limitsNo code actionPublic webhook deployments and custom payment handler registrationsReport the 1 MiB global ceiling, the InboxOps override, proxy-limit alignment, and provider verification required before opting payment handlers into maxBodyBytes
standalone-security-headersDetect and reportStandalone next.config.* files missing the current CSP and attachment sandbox headersPoint to the latest template and require a manual merge that preserves provider origins and the attachment sandbox; never replace a whole Next.js config
sidebar-preference-nullDetect and reportCallers of loadSidebarPreference from @open-mercato/core/modules/auth/services/sidebarPreferencesServiceReport the findSidebarPreference replacement and its null contract, and warn that feeding the fabricated default object back into applySidebarPreference erases the role layer; leave intentional default-object callers to (await findSidebarPreference(em, scope)) ?? normalizeSidebarSettings(null)

Workflow

1. Gate the target

Resolve --path, require a regular package.json, and confirm at least one dependency or development dependency starts with @open-mercato/. Refuse to run when the target has the framework monorepo signature, including its core and shared workspace packages.

Inspect installed and pinned Open Mercato versions. Continue when they resolve to 0.7.0; otherwise warn with the detected versions and require explicit user confirmation before edits. A dry run may continue without confirmation.

Exclude .git/, node_modules/, .yarn/, .next/, dist/, build/, coverage/, .mercato/generated/, generated registries, vendor directories, and framework-owned packages from every scan. Follow symlinks neither while scanning nor editing. Never print environment-variable values or other secret-bearing content.

2. Build and show the plan

Run every selected detection before editing. Report each match as {checkId, file, line, classification, proposedAction}. For environment matches, report only the variable name, file, and line number, never the value. Show totals by check and distinguish exact automatic matches from manual candidates.

For tanstack-table-v9, an automatic match is exactly one type-only import whose only specifier is ColumnDef; preserve indentation, quote style, and semicolon style. For settings-section-group-id, require the literal groupId property and the exact module-configs value. For removed-example-injection-flag, require a single exact assignment line in a regular .env* file. For module-fact-sheet-directories, require a literal flat sheet path — a glob, a manifest-driven read, or any consumer that enumerated the flat layout is a manual candidate. Downgrade every broader or ambiguous shape to detect-and-report.

With --dry-run, print the complete plan, all no-code-action reminders, and unresolved manual work, then stop without edits, package-manager commands, generation, tests, or builds.

3. Apply bounded edits

Ask for confirmation of the displayed plan. Apply one minimal, idempotent edit per exact match:

  • Repoint the exact ColumnDef type import to LegacyColumnDef as ColumnDef at the legacy entry point.
  • Replace the exact settings groupId slug with settings.sections.moduleConfigs.
  • Delete only the exact removed-flag assignment line from a .env* file without reading its value into the report.
  • Repoint the exact flat module fact-sheet path to its <id>/index.md form.

Preserve file encoding, line endings, and unrelated formatting. Re-scan after editing: exact old shapes must be absent, while every manual candidate remains listed. Never perform repository-wide string replacement.

4. Verify

Use the package manager and scripts declared by the downstream app; do not assume monorepo-only commands exist. Run, in order when present:

  1. the configured generation script;
  2. the configured typecheck script;
  3. the smallest affected test script, otherwise the configured test script;
  4. the configured build script.

Stop at the first new failure caused by an automatic edit, revert only that edit, and move the match to manual follow-up. Preserve and report pre-existing failures rather than rewriting unrelated code or weakening checks.

5. Report

Report:

  • the target path and detected Open Mercato versions;
  • the complete pre-edit plan and user confirmation;
  • every edited file grouped by automatic check ID;
  • every detect-and-report finding, with exact file and line;
  • every no-code-action reminder, no-match check, and skipped check;
  • validation commands and outcomes;
  • unresolved operational work: the JWT_SECRET and legacy-token cutover decision, passkey credentials enrolled through the attestation shortcut, role-ACL sync for the global and hybrid search gates, stored workflow review, Redis protocol choice, webhook/proxy ceilings, design-system and i18n gate adoption, and standalone header adoption where applicable.

If no code changes were required, still report that all twenty-one upgrade categories ran. Recommend reviewing the complete 0.6.7 → 0.7.0 section of UPGRADE_NOTES.md before deployment.

Rules

  • Every automatic edit must be exact, bounded, minimal, and idempotent.
  • Never change dependency versions, lockfiles, generated output, vendor files, framework-owned packages, or secrets.
  • Never display environment values while removing the obsolete example-injection flag.
  • Never broaden auth grants, invent ACL features, rewrite stored workflow intent, repin generated fact IDs, or weaken CSP automatically.
  • Never generate, print, or persist a JWT_SECRET, and never delete or reset a user's MFA credentials while reporting the passkey change.
  • Never weaken typecheck, tests, or build to make the upgrade appear green.
  • Always show the edit plan before mutation and the exact changed-file list afterward.

Câu hỏi thường gặp

Kỹ năng AI Om Auto Upgrade 0.6.7 To 0.7.0 làm được gì?

Di chuyển mã Open Mercato ở dự án phụ thuộc từ phiên bản 0.6.7 lên 0.7.0 với các chỉnh sửa chính xác cho TanStack, nhóm cài đặt và biến môi trường đã bị xóa; rà soát các thay đổi về xác thực, tìm kiếm, workflow, facts, Redis, webhook và security header; xác thực ứng dụng; đồng thời báo cáo những việc cần xử lý thủ công. Dùng khi cần "nâng cấp Open Mercato lên 0.7.0", "di chuyển từ 0.6.7 lên 0.7.0", "áp dụng ghi chú nâng cấp 0.7.0" hoặc "zaktualizuj Open Mercato do 0.7.0".

Vì sao nên dùng Om Auto Upgrade 0.6.7 To 0.7.0 trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Om Auto Upgrade 0.6.7 To 0.7.0 là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Om Auto Upgrade 0.6.7 To 0.7.0 trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/open-mercato/open-mercato/tree/main/packages/create-app/agentic/shared/ai/skills/om-auto-upgrade-0.6.7-to-0.7.0. TypingMind đọc tệp SKILL.md rồi cài đặt kỹ năng để bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Om Auto Upgrade 0.6.7 To 0.7.0?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Om Auto Upgrade 0.6.7 To 0.7.0 với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Om Auto Upgrade 0.6.7 To 0.7.0 với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Om Auto Upgrade 0.6.7 To 0.7.0 có miễn phí không?

Có. Kỹ năng này được open-mercato phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇