{"_id":"@bustly/skill-runtime-commerce-core-ops","name":"@bustly/skill-runtime-commerce-core-ops","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@bustly/skill-runtime-commerce-core-ops","version":"0.1.0","description":"Bustly Commerce Core Ops Runtime - Unified operations for Shopify, BigCommerce, WooCommerce, and Magento","type":"module","main":"scripts/run.js","bin":{"bustly-skill-commerce":"scripts/run.js"},"scripts":{"start":"node scripts/run.js"},"keywords":["shopify","bigcommerce","woocommerce","magento","commerce","e-commerce"],"author":{"name":"Bustly"},"license":"MIT","engines":{"node":">=18.0.0"},"_id":"@bustly/skill-runtime-commerce-core-ops@0.1.0","gitHead":"6cdcd31a1c41d7dc6bd3597442c85ce1764bc60a","_nodeVersion":"22.12.0","_npmVersion":"10.9.0","dist":{"integrity":"sha512-ZFuBIJVsgT2quirhM0cRb4cNSsn1tA/dw3bY5QmTRFuyBTGFLzNyLJIDcSSfzFT8NX7j8TdCs9p9oAUxPWOx9w==","shasum":"47a1c81c09fd8310e14ed29f276e6e04db890b3d","tarball":"https://registry.npmjs.org/@bustly/skill-runtime-commerce-core-ops/-/skill-runtime-commerce-core-ops-0.1.0.tgz","fileCount":7,"unpackedSize":126392,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIEffhGKsllRB0hiKwDJDjOxH6AuDmH/RfhSlCJ+TxlW/AiAYp+PHZwB5qWUDFg+asTJ2SmGTfl5FEAyy6Dx5nh9QJw=="}]},"_npmUser":{"name":"jerry-hu","email":"1001jerryhu@gmail.com"},"directories":{},"maintainers":[{"name":"jerry-hu","email":"1001jerryhu@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/skill-runtime-commerce-core-ops_0.1.0_1773917312193_0.24340896193874517"},"_hasShrinkwrap":false}},"time":{"created":"2026-03-19T10:48:32.117Z","0.1.0":"2026-03-19T10:48:32.357Z","modified":"2026-03-19T10:48:32.537Z"},"maintainers":[{"name":"jerry-hu","email":"1001jerryhu@gmail.com"}],"description":"Bustly Commerce Core Ops Runtime - Unified operations for Shopify, BigCommerce, WooCommerce, and Magento","keywords":["shopify","bigcommerce","woocommerce","magento","commerce","e-commerce"],"author":{"name":"Bustly"},"license":"MIT","readme":"# commerce_core_ops\n\nUnified commerce skill for `bustly-skills`.\n\nThis skill consolidates the fragmented commerce surface into one operator-facing entrypoint:\n\n- data reads\n- product writes\n\nPlatforms:\n\n- Shopify\n- BigCommerce\n- WooCommerce\n- Magento\n\n## Standard command surface\n\nPreferred command contract:\n\n```bash\nbustly ops commerce <command>\n```\n\nRepo-local fallback:\n\n```bash\nnode scripts/bustly-ops.js ops commerce <command>\n```\n\nDirect implementation fallback:\n\n```bash\nnode skills/ops/commerce_core_ops/scripts/run.js <command>\n```\n\n## Discovery commands\n\n```bash\nbustly ops commerce help\nbustly ops commerce providers\nbustly ops commerce connections\nbustly ops commerce auth\n```\n\n## Examples\n\n```bash\n# Read Shopify orders\nbustly ops commerce read --platform shopify --entity orders --limit 50\n\n# Read WooCommerce orders\nbustly ops commerce read:entity --platform woocommerce --entity orders --limit 50 --since 2026-01-01\n\n# Update a Shopify product\nbustly ops commerce write:product --platform shopify --op update --payload '{\"id\":\"gid://shopify/Product/123\",\"title\":\"New Title\"}'\n```\n\n## Environment\n\nPreferred env vars:\n\n- `BUSTLY_SUPABASE_URL`\n- `BUSTLY_SUPABASE_ANON_KEY`\n- `BUSTLY_SUPABASE_ACCESS_TOKEN`\n- `BUSTLY_WORKSPACE_ID`\n- `BUSTLY_USER_ID`\n\n`~/.bustly/bustlyOauth.json` is auto-detected with both new and legacy shapes:\n\n- New: `supabase.url` / `supabase.anonKey` + `user.userAccessToken` / `user.workspaceId`\n- Legacy: `bustlySearchData.SEARCH_DATA_*`\n\n## Design Scope\n\n- Read directly from platform APIs (not semantic warehouse tables)\n- Write products through platform adapters with one CLI interface\n- Enforce JWT, workspace membership, workspace active status, and billing-window checks\n- All four platforms read/write via `/functions/v1/commerce-core-ops` (`DIRECT_READ` / `DIRECT_WRITE`)\n\nNo custom sync workflow commands in this skill.\n\n## References\n\n- `./SKILL.md`\n- `./references/contracts.md`\n- `./references/edge-function-commerce-core-ops.ts`\n- `../../gateway/supabase/functions/commerce-core-ops/index.ts`\n","readmeFilename":"README.md","_rev":"1-14d62428377c6b8b8a57658ea74a3784"}