@01.software/init
Advanced tools
+35
-14
@@ -519,4 +519,8 @@ #!/usr/bin/env node | ||
| { | ||
| filename: "01software-field-config.md", | ||
| content: `Configure field visibility for this tenant using MCP tools. | ||
| dirName: "01software-field-config", | ||
| content: `--- | ||
| name: 01software-field-config | ||
| description: Configure field visibility for this tenant \u2014 hide unused collections and fields via MCP | ||
| disable-model-invocation: true | ||
| --- | ||
@@ -537,5 +541,10 @@ Steps: | ||
| { | ||
| filename: "01software-query.md", | ||
| content: `Query collections using the MCP \`query-collection\` tool or CLI. | ||
| dirName: "01software-query", | ||
| content: `--- | ||
| name: 01software-query | ||
| description: Query 01.software collections via MCP or CLI with filter, sort, and pagination examples | ||
| --- | ||
| Query collections using the MCP \`query-collection\` tool or CLI. | ||
| MCP examples: | ||
@@ -563,5 +572,10 @@ - List products: \`query-collection\` with collection="products", limit=10 | ||
| { | ||
| filename: "01software-order-flow.md", | ||
| content: `Complete order flow from creation to fulfillment. | ||
| dirName: "01software-order-flow", | ||
| content: `--- | ||
| name: 01software-order-flow | ||
| description: Order lifecycle reference \u2014 create, pay, fulfill, and return flows for 01.software | ||
| --- | ||
| Complete order flow from creation to fulfillment. | ||
| States: pending \u2192 paid \u2192 preparing \u2192 shipped \u2192 delivered \u2192 confirmed | ||
@@ -580,5 +594,10 @@ | ||
| { | ||
| filename: "01software-schema.md", | ||
| content: `Inspect collection schemas to understand available fields. | ||
| dirName: "01software-schema", | ||
| content: `--- | ||
| name: 01software-schema | ||
| description: Inspect 01.software collection schemas and available fields via MCP or CLI | ||
| --- | ||
| Inspect collection schemas to understand available fields. | ||
| MCP: use \`get-collection-fields\` with collectionSlug | ||
@@ -827,5 +846,5 @@ | ||
| const softwareDir = path2.join(claudeDir, "01software"); | ||
| const commandsDir = path2.join(claudeDir, "commands"); | ||
| const skillsDir = path2.join(claudeDir, "skills"); | ||
| fs2.mkdirSync(softwareDir, { recursive: true }); | ||
| fs2.mkdirSync(commandsDir, { recursive: true }); | ||
| fs2.mkdirSync(skillsDir, { recursive: true }); | ||
| const contextPath = path2.join(softwareDir, "context.md"); | ||
@@ -850,9 +869,11 @@ const contextExists = fs2.existsSync(contextPath); | ||
| } | ||
| for (const { filename, content } of getSkillFiles()) { | ||
| const skillPath = path2.join(commandsDir, filename); | ||
| for (const { dirName, content } of getSkillFiles()) { | ||
| const skillDir = path2.join(skillsDir, dirName); | ||
| const skillPath = path2.join(skillDir, "SKILL.md"); | ||
| if (!fs2.existsSync(skillPath)) { | ||
| fs2.mkdirSync(skillDir, { recursive: true }); | ||
| fs2.writeFileSync(skillPath, content); | ||
| console.log(pc2.green(" Created"), `.claude/commands/${filename}`); | ||
| console.log(pc2.green(" Created"), `.claude/skills/${dirName}/SKILL.md`); | ||
| } else { | ||
| console.log(pc2.yellow(" Skipped"), `.claude/commands/${filename}`, pc2.dim("(already exists)")); | ||
| console.log(pc2.yellow(" Skipped"), `.claude/skills/${dirName}/SKILL.md`, pc2.dim("(already exists)")); | ||
| } | ||
@@ -859,0 +880,0 @@ } |
+1
-1
| { | ||
| "name": "@01.software/init", | ||
| "version": "0.2.1", | ||
| "version": "0.2.2", | ||
| "description": "Initialize 01.software SDK in your project (Next.js, React, Vanilla JS, Node.js, Edge)", | ||
@@ -5,0 +5,0 @@ "type": "module", |
Sorry, the diff of this file is too big to display
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
103877
1.36%989
1.85%