@businesskit/agent 1.0.4 → 1.0.7
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/.claude-plugin/plugin.json +1 -1
- package/.cursor-plugin/plugin.json +25 -0
- package/.cursorrules +10 -0
- package/.superconsole-plugin/plugin.json +62 -0
- package/AGENTS.md +105 -63
- package/CLAUDE.md +11 -84
- package/GEMINI.md +11 -34
- package/README.md +95 -154
- package/assets/logo.svg +3 -0
- package/bin/businesskit.js +45 -18
- package/commands/add-contact.md +47 -0
- package/commands/add-inventory-from-invoice.md +80 -0
- package/commands/adjust-stock.md +46 -0
- package/commands/brief.md +12 -0
- package/commands/capabilities.md +33 -0
- package/commands/chase.md +12 -0
- package/commands/check-stock.md +43 -0
- package/commands/create-component.md +109 -0
- package/commands/create-invoice.md +69 -0
- package/commands/create-new-bill.md +65 -0
- package/commands/create-page.md +124 -0
- package/commands/crm.md +13 -0
- package/commands/followups.md +13 -0
- package/commands/list-components.md +41 -0
- package/commands/list-content.md +46 -0
- package/commands/list-pages.md +45 -0
- package/commands/pipeline.md +13 -0
- package/commands/publish-page.md +64 -0
- package/commands/send-invoice.md +42 -0
- package/commands/seo-audit.md +36 -0
- package/commands/update-agent.md +33 -0
- package/commands/update-contact.md +46 -0
- package/commands/update-content.md +48 -0
- package/commands/update-page.md +56 -0
- package/commands/update-price.md +47 -0
- package/commands/write-blog.md +56 -0
- package/commands/write-docs.md +90 -0
- package/commands/write-guide.md +51 -0
- package/commands/write-newsletter.md +50 -0
- package/dist/server.js +4099 -0
- package/mcp_config.json +12 -0
- package/package.json +54 -25
- package/plugin.json +32 -0
- package/scripts/setup.sh +169 -0
- package/scripts/setup.ts +129 -0
- package/scripts/update.sh +56 -0
- package/server.json +21 -0
- package/skills/README.md +20 -27
- package/skills/billing/SKILL.md +64 -0
- package/skills/brand/SKILL.md +30 -86
- package/skills/cms/SKILL.md +111 -0
- package/skills/cms/references/cms-hubs.md +84 -0
- package/skills/cms/references/html-blocks.md +177 -0
- package/skills/copywriting/SKILL.md +1 -1
- package/skills/crm/SKILL.md +24 -0
- package/skills/docs/SKILL.md +65 -0
- package/skills/docs/references/how-to.md +155 -0
- package/skills/inbox/SKILL.md +49 -0
- package/skills/inventory/SKILL.md +69 -0
- package/skills/pages/SKILL.md +214 -0
- package/skills/pages/references/sections-catalog.json +1183 -0
- package/skills/social/SKILL.md +84 -211
- package/skills/social/evals/evals.json +66 -0
- package/skills/social/evals/rubric.md +26 -0
- package/skills/social/examples/repurposing-blog-to-social.md +93 -0
- package/skills/social/examples/weekly-content-calendar.md +30 -0
- package/skills/social/linkedin/SKILL.md +107 -0
- package/skills/social/linkedin/evals/evals.json +106 -0
- package/skills/social/linkedin/evals/rubric.md +28 -0
- package/skills/social/linkedin/examples/gasp-weekly-sprint.md +24 -0
- package/skills/social/linkedin/examples/growth-posts-by-format.md +140 -0
- package/skills/social/linkedin/references/gasp-funnel-and-calibration.md +90 -0
- package/skills/social/linkedin/references/six-growth-formats.md +114 -0
- package/skills/social/references/platforms.md +76 -0
- package/skills/social/references/post-templates.md +105 -0
- package/skills/social/references/reverse-engineering.md +62 -0
- package/src/data/sections-catalog.json +950 -0
- package/src/db.ts +170 -0
- package/src/server.ts +75 -0
- package/src/tools/content.ts +326 -0
- package/src/tools/crm.ts +1416 -0
- package/src/tools/domains.ts +89 -0
- package/src/tools/inbox.ts +270 -0
- package/src/tools/index.ts +116 -0
- package/src/tools/pages.ts +1217 -0
- package/src/tools/shop.ts +771 -0
- package/src/tools/system.ts +94 -0
- package/src/tools/types.ts +17 -0
- package/templates/antigravity.json +8 -0
- package/templates/claude-code.mcp.json +8 -0
- package/templates/cursor.mcp.json +8 -0
- package/templates/vscode.mcp.json +9 -0
- package/.claude/commands/analytics.md +0 -7
- package/.claude/commands/blog-writer.md +0 -9
- package/.claude/commands/cbo.md +0 -7
- package/.claude/commands/ceo.md +0 -10
- package/.claude/commands/cmo.md +0 -7
- package/.claude/commands/compress.md +0 -73
- package/.claude/commands/coo.md +0 -11
- package/.claude/commands/copywriter.md +0 -15
- package/.claude/commands/course-creator.md +0 -9
- package/.claude/commands/crm.md +0 -591
- package/.claude/commands/deep.md +0 -50
- package/.claude/commands/docs-writer.md +0 -8
- package/.claude/commands/forms-builder.md +0 -10
- package/.claude/commands/ingest.md +0 -110
- package/.claude/commands/jobs-manager.md +0 -8
- package/.claude/commands/kb.md +0 -107
- package/.claude/commands/newsletter-writer.md +0 -9
- package/.claude/commands/preserve.md +0 -64
- package/.claude/commands/resume.md +0 -67
- package/.claude/commands/scheduler.md +0 -8
- package/.claude/commands/seo.md +0 -60
- package/.claude/commands/social.md +0 -51
- package/.claude/commands/store-manager.md +0 -11
- package/.claude/settings.json +0 -16
- package/.claude/settings.local.json +0 -11
- package/.env.example +0 -12
- package/.mcp.json +0 -3
- package/HEARTBEAT.md +0 -105
- package/PLAN.md +0 -345
- package/PRD-Agent-Composition.md +0 -149
- package/PRD-Agent-Harness.md +0 -316
- package/REFERENCE.md +0 -160
- package/SOUL.md +0 -148
- package/SYSTEM.md +0 -71
- package/agents/_base.ts +0 -371
- package/agents/analytics/SOUL.md +0 -11
- package/agents/analytics/analytics.ts +0 -405
- package/agents/business/SOUL.md +0 -11
- package/agents/business/business.ts +0 -109
- package/agents/ceo/SOUL.md +0 -15
- package/agents/ceo/ceo.ts +0 -146
- package/agents/content/SOUL.md +0 -11
- package/agents/content/content.ts +0 -379
- package/agents/copywriting/SOUL.md +0 -11
- package/agents/copywriting/copywriting.ts +0 -89
- package/agents/courses/SOUL.md +0 -11
- package/agents/courses/courses.ts +0 -451
- package/agents/docs/SOUL.md +0 -11
- package/agents/docs/docs.ts +0 -77
- package/agents/forms/SOUL.md +0 -11
- package/agents/forms/forms.ts +0 -364
- package/agents/hiring/SOUL.md +0 -11
- package/agents/hiring/hiring.ts +0 -314
- package/agents/marketing/SOUL.md +0 -15
- package/agents/marketing/marketing.ts +0 -109
- package/agents/newsletter/SOUL.md +0 -11
- package/agents/newsletter/newsletter.ts +0 -91
- package/agents/operations/SOUL.md +0 -11
- package/agents/operations/operations.ts +0 -157
- package/agents/sales/SOUL.md +0 -44
- package/agents/sales/sales.ts +0 -883
- package/agents/scheduler/SOUL.md +0 -11
- package/agents/scheduler/scheduler.ts +0 -68
- package/agents/seo/SOUL.md +0 -11
- package/agents/seo/seo.ts +0 -288
- package/agents/social/SOUL.md +0 -11
- package/agents/social/social.ts +0 -744
- package/agents/store/SOUL.md +0 -11
- package/agents/store/store.ts +0 -514
- package/cli.ts +0 -144
- package/context/about-me.md +0 -96
- package/context/brand-voice.md +0 -127
- package/context/brand.md +0 -80
- package/context/business.md +0 -66
- package/context/working-style.md +0 -87
- package/lib/analytics.ts +0 -81
- package/lib/cms.ts +0 -88
- package/lib/db.adapter.ts +0 -30
- package/lib/db.ts +0 -63
- package/lib/enums.ts +0 -25
- package/lib/groups.ts +0 -122
- package/lib/id.ts +0 -43
- package/lib/kb.ts +0 -337
- package/lib/memory.ts +0 -219
- package/lib/pattern-detector.ts +0 -169
- package/lib/profile.ts +0 -155
- package/lib/schema.ts +0 -2015
- package/lib/slug.ts +0 -30
- package/lib/validate.ts +0 -33
- package/setup.ts +0 -141
- package/skills/agents/SKILL.md +0 -56
- package/skills/analytics/SKILL.md +0 -52
- package/skills/blog-writer/SKILL.md +0 -452
- package/skills/ceo/SKILL.md +0 -25
- package/skills/cmo/SKILL.md +0 -8
- package/skills/schema/SKILL.md +0 -86
- package/skills/store/SKILL.md +0 -62
- package/tsconfig.json +0 -14
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
// src/tools/system.ts
|
|
2
|
+
// Platform Introspection & Profile Management MCP Tools
|
|
3
|
+
|
|
4
|
+
import { getActiveProfileId, setActiveProfileId, query, isDbConfigured } from '../db.js';
|
|
5
|
+
import type { ToolDefinition, ToolContext } from './types.js';
|
|
6
|
+
|
|
7
|
+
export const systemTools: ToolDefinition[] = [
|
|
8
|
+
{
|
|
9
|
+
name: 'system_get_capabilities',
|
|
10
|
+
domain: 'system',
|
|
11
|
+
description:
|
|
12
|
+
'Discover all available BusinessKit platform capabilities, domains, tool counts, and features. Call when the user asks what abilities, tools, or domains exist.',
|
|
13
|
+
inputSchema: {
|
|
14
|
+
type: 'object',
|
|
15
|
+
properties: {
|
|
16
|
+
domain: { type: 'string', description: "Optional domain filter (e.g. 'shop', 'crm', 'content', 'pages', 'domains')" },
|
|
17
|
+
},
|
|
18
|
+
},
|
|
19
|
+
handler: async (args: Record<string, any>, _ctx: ToolContext) => {
|
|
20
|
+
const filter = args.domain?.toLowerCase()?.trim();
|
|
21
|
+
const domains = [
|
|
22
|
+
{ name: 'shop', description: 'Shop, inventory restock, purchase invoices, billing, and stock ledger' },
|
|
23
|
+
{ name: 'crm', description: 'Customer relationship management, leads, contacts, and outreach' },
|
|
24
|
+
{
|
|
25
|
+
name: 'content',
|
|
26
|
+
description: 'Multi-hub CMS content publishing (blog, docs, guides, notes, newsletter) with rich HTML',
|
|
27
|
+
},
|
|
28
|
+
{ name: 'pages', description: 'Website pages, landing pages, site content, and publishing' },
|
|
29
|
+
{ name: 'domains', description: 'Domain portfolio management, RDAP status, expiry tracking, and renewal reminders' },
|
|
30
|
+
{ name: 'inbox', description: 'Unified inbox — thread triage, labelling, reply drafting, scheduling, and archiving' },
|
|
31
|
+
{ name: 'system', description: 'Platform introspection, profile switching, and agent system utilities' },
|
|
32
|
+
];
|
|
33
|
+
|
|
34
|
+
const matchingDomains = filter && filter !== 'all' ? domains.filter((d) => d.name === filter) : domains;
|
|
35
|
+
|
|
36
|
+
return {
|
|
37
|
+
platform: 'BusinessKit',
|
|
38
|
+
architecture: 'Model Context Protocol (MCP) stdio JSON-RPC server',
|
|
39
|
+
active_domains: matchingDomains,
|
|
40
|
+
database_connected: isDbConfigured(),
|
|
41
|
+
total_tools: 36,
|
|
42
|
+
};
|
|
43
|
+
},
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
name: 'profile_list',
|
|
47
|
+
domain: 'system',
|
|
48
|
+
description: 'List all business/organization profiles available in the active database and check which one is active.',
|
|
49
|
+
inputSchema: {
|
|
50
|
+
type: 'object',
|
|
51
|
+
properties: {},
|
|
52
|
+
},
|
|
53
|
+
handler: async (_args: Record<string, any>, ctx: ToolContext) => {
|
|
54
|
+
let profiles: any[] = [];
|
|
55
|
+
if (isDbConfigured()) {
|
|
56
|
+
try {
|
|
57
|
+
profiles = await query<{ id: string; title?: string; slug?: string }>('SELECT id, title, slug FROM profiles LIMIT 50');
|
|
58
|
+
} catch (err) {
|
|
59
|
+
console.error('[Profile] Profiles query error:', err);
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
return {
|
|
64
|
+
active_profile: ctx.profileId,
|
|
65
|
+
available_profiles: profiles.length > 0 ? profiles : [{ id: ctx.profileId, title: 'Default Business' }],
|
|
66
|
+
total: profiles.length > 0 ? profiles.length : 1,
|
|
67
|
+
};
|
|
68
|
+
},
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
name: 'profile_switch',
|
|
72
|
+
domain: 'system',
|
|
73
|
+
description: 'Switch the active business/organization profile for this MCP session.',
|
|
74
|
+
inputSchema: {
|
|
75
|
+
type: 'object',
|
|
76
|
+
properties: {
|
|
77
|
+
profile_id: { type: 'string', description: 'The profile ID to switch to' },
|
|
78
|
+
},
|
|
79
|
+
required: ['profile_id'],
|
|
80
|
+
},
|
|
81
|
+
handler: async (args: Record<string, any>, _ctx: ToolContext) => {
|
|
82
|
+
const newProfileId = String(args.profile_id).trim();
|
|
83
|
+
if (!newProfileId) {
|
|
84
|
+
throw new Error('profile_id is required');
|
|
85
|
+
}
|
|
86
|
+
setActiveProfileId(newProfileId);
|
|
87
|
+
return {
|
|
88
|
+
success: true,
|
|
89
|
+
active_profile: newProfileId,
|
|
90
|
+
status: 'switched',
|
|
91
|
+
};
|
|
92
|
+
},
|
|
93
|
+
},
|
|
94
|
+
];
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// src/tools/types.ts
|
|
2
|
+
// Shared types for BusinessKit MCP tools
|
|
3
|
+
|
|
4
|
+
export interface ToolDefinition {
|
|
5
|
+
name: string;
|
|
6
|
+
domain: string;
|
|
7
|
+
description: string;
|
|
8
|
+
inputSchema: Record<string, any>;
|
|
9
|
+
handler: (args: Record<string, any>, ctx: ToolContext) => Promise<any>;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
export interface ToolContext {
|
|
13
|
+
profileId: string;
|
|
14
|
+
userId?: string;
|
|
15
|
+
agentName?: string;
|
|
16
|
+
mediaAttachmentId?: string;
|
|
17
|
+
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
# /analytics-agent — Analytics Snapshot
|
|
2
|
-
|
|
3
|
-
1. `analyticsAgent.snapshot()` -> full picture: traffic, revenue, products, links, forms
|
|
4
|
-
2. `analyticsAgent.revenueReport()` -> product revenue breakdown
|
|
5
|
-
3. `analyticsAgent.trafficReport()` -> clicks by day, country, referrer, top links
|
|
6
|
-
|
|
7
|
-
ATLAS is read-only. Use `/ceo` for strategy derived from this data.
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
# /blog-writer — Write Blog Post
|
|
2
|
-
|
|
3
|
-
1. Load brand context. Check last 3 posts for tone.
|
|
4
|
-
2. Ask: title (required), key points or full content, publish now or draft?
|
|
5
|
-
3. Auto-generate 155-char excerpt for SEO.
|
|
6
|
-
4. `blake.create({ title, content, excerpt, publish })`
|
|
7
|
-
5. Confirm: title, slug, status.
|
|
8
|
-
|
|
9
|
-
After: `/seo-agent` to audit SEO | `/social-agent` to distribute if published.
|
package/.claude/commands/cbo.md
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
# /cbo — CBO Revenue Report
|
|
2
|
-
|
|
3
|
-
1. `rex.revenueReport()` → total, trend, top products, by-type breakdown, strategy
|
|
4
|
-
2. `rex.pricingAudit()` → all product prices
|
|
5
|
-
3. `rex.conversionAnalysis()` → product clicks vs purchases
|
|
6
|
-
|
|
7
|
-
Handoff: update price → LEO | new product type → LEO | copy refresh → COPY
|
package/.claude/commands/ceo.md
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
# /ceo — CEO Briefing
|
|
2
|
-
|
|
3
|
-
1. `aria.weeklyBriefing()` → revenue, traffic, inventory, top products, recommendations
|
|
4
|
-
2. Display cleanly. Ask: send to n8n? → `aria.sendBriefing()`
|
|
5
|
-
|
|
6
|
-
Handoff after briefing:
|
|
7
|
-
- Drafts pending -> `/coo` (OTTO)
|
|
8
|
-
- Revenue low -> `/cbo` (REX)
|
|
9
|
-
- No content plan -> `/cmo` (NOVA)
|
|
10
|
-
- Need content created -> `/blog-writer`, `/course-creator`, or `/store-manager`
|
package/.claude/commands/cmo.md
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
# /cmo — CMO Content Calendar
|
|
2
|
-
|
|
3
|
-
1. `nova.contentCalendar(4)` → 4-week blog/newsletter/social plan
|
|
4
|
-
2. `nova.growthAudit()` → content gaps and conversion rate
|
|
5
|
-
3. Ask: start executing? Route each item to the right creator agent.
|
|
6
|
-
|
|
7
|
-
Handoff: blog -> `/blog-writer` | newsletter -> `/newsletter-writer` | course -> `/course-creator` | product -> `/store-manager`
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: Compress session context into a structured log before /compact
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
# /compress — Compress and Save Session
|
|
6
|
-
|
|
7
|
-
Save what matters before running /compact. Uses pi's proven compaction format.
|
|
8
|
-
|
|
9
|
-
## Steps
|
|
10
|
-
|
|
11
|
-
1. Ask the user what to keep (or infer from conversation):
|
|
12
|
-
|
|
13
|
-
```
|
|
14
|
-
What should I save? (numbers, comma-separated — or 'all')
|
|
15
|
-
1. Goal and what we were trying to accomplish
|
|
16
|
-
2. Decisions made and why
|
|
17
|
-
3. Agent actions taken (posts published, contacts added, etc)
|
|
18
|
-
4. Files or DB rows changed
|
|
19
|
-
5. Next steps
|
|
20
|
-
6. Open questions
|
|
21
|
-
```
|
|
22
|
-
|
|
23
|
-
2. Ask: "Anything specific to highlight? (or 'skip')"
|
|
24
|
-
|
|
25
|
-
3. Suggest a topic from the conversation: "Suggested: [slug]. Accept or rename:"
|
|
26
|
-
|
|
27
|
-
4. Write to `CC-Session-Logs/YYYY-MM-DD-HH-MM-[topic].md`:
|
|
28
|
-
|
|
29
|
-
```markdown
|
|
30
|
-
# [topic]
|
|
31
|
-
Date: [ISO timestamp]
|
|
32
|
-
Agent: [which agent was active]
|
|
33
|
-
|
|
34
|
-
## Goal
|
|
35
|
-
[What we were trying to accomplish — 1-2 sentences]
|
|
36
|
-
|
|
37
|
-
## Constraints & Preferences
|
|
38
|
-
- [user said: always/never do X]
|
|
39
|
-
- [preference discovered this session]
|
|
40
|
-
|
|
41
|
-
## Progress
|
|
42
|
-
### Done
|
|
43
|
-
- [specific action with IDs or file paths]
|
|
44
|
-
- [DB writes: table, id, what changed]
|
|
45
|
-
|
|
46
|
-
### In Progress
|
|
47
|
-
- [anything mid-way]
|
|
48
|
-
|
|
49
|
-
## Next Steps
|
|
50
|
-
1. [most important — be specific]
|
|
51
|
-
2. [second]
|
|
52
|
-
|
|
53
|
-
## Open Questions
|
|
54
|
-
- [unresolved]
|
|
55
|
-
|
|
56
|
-
---
|
|
57
|
-
Raw Log
|
|
58
|
-
[optional: paste key exchanges for searchability]
|
|
59
|
-
```
|
|
60
|
-
|
|
61
|
-
1. Log to agent_memory:
|
|
62
|
-
|
|
63
|
-
```ts
|
|
64
|
-
import { logMemory } from './lib/memory.ts'
|
|
65
|
-
await logMemory('session', 'Compressed: [topic]', { file: 'CC-Session-Logs/...' })
|
|
66
|
-
```
|
|
67
|
-
|
|
68
|
-
2. Tell user: "Saved to [filename]. Run /compact now."
|
|
69
|
-
|
|
70
|
-
## Key rule
|
|
71
|
-
|
|
72
|
-
/resume reads ONLY the sections above "---\nRaw Log" — make them dense and actionable.
|
|
73
|
-
Raw log is for search, never loaded into context.
|
package/.claude/commands/coo.md
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
# /coo — COO Pipeline & Scheduling
|
|
2
|
-
|
|
3
|
-
1. `coo.draftPipeline()` -> show all drafts across every content type
|
|
4
|
-
2. `coo.publishQueue()` -> preview content due to go live right now
|
|
5
|
-
3. Ask: run the queue? -> `coo.runPublishQueue()` -> flips published=1, notifies n8n
|
|
6
|
-
4. Ask: schedule something? -> `coo.schedule(table, id, new Date('...'))`
|
|
7
|
-
|
|
8
|
-
Pipeline view groups by type: blog posts, products, pages, jobs, forms.
|
|
9
|
-
Shows: title, scheduled date, how long it's been a draft.
|
|
10
|
-
|
|
11
|
-
Handoff: content needs edits before publish -> route to the right creator agent.
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
# /copywriter — Copywriter
|
|
2
|
-
|
|
3
|
-
Handles: landing pages, about pages, product descriptions, profile bio/tagline, link copy.
|
|
4
|
-
|
|
5
|
-
1. Ask: what needs writing? (page | product description | bio | tagline | link)
|
|
6
|
-
2. Load brand context -> match voice from `profile.bio` and `profile.tagline`
|
|
7
|
-
3. Route to the right method:
|
|
8
|
-
- New landing/about page -> `copywriter.createPage({ title, slug, hero_section, cta_section, ... })`
|
|
9
|
-
- Product description -> `copywriter.updateProductCopy(productId, { description, excerpt, button_text })`
|
|
10
|
-
- Profile bio/tagline -> `copywriter.updateProfileCopy({ bio, tagline, title })`
|
|
11
|
-
4. Ask: publish the page now or save as draft?
|
|
12
|
-
5. Confirm: what was written, where it lives, URL
|
|
13
|
-
|
|
14
|
-
Pages: check `copywriter.listPages()` first to avoid duplicates.
|
|
15
|
-
Profile copy updates take effect immediately on the public profile.
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
# /course-creator — Create Course
|
|
2
|
-
|
|
3
|
-
1. Ask: title, price (dollars), description, lesson count
|
|
4
|
-
2. Per lesson: title, content or video_url, duration_minutes, free_preview?
|
|
5
|
-
3. `sage.create({ title, price_cents, description })` → get courseId
|
|
6
|
-
4. `sage.addLesson(courseId, lesson)` for each lesson
|
|
7
|
-
5. Confirm: slug, total_lessons, price.
|
|
8
|
-
|
|
9
|
-
Students/progress: `sage.getStudents(courseId)`
|