Files
context-bridge/cli/lib/commands/view.js
Your Name 2d84f62407 docs: complete Context Bridge launch coordination by Epimetheus
Agent Coordination:
- Epimetheus (Architect) identity assigned and registered
- Connected to PS-SHA-∞ memory system (4,059 entries)
- Task claimed from marketplace
- Broadcasting to other agents

Launch Documentation Created:
- PUBLISH_TO_NPM.md - Complete npm publishing guide
- STRIPE_LIVE_SETUP.md - Stripe live mode setup guide
- AGENT_COORDINATION_REPORT.md - Full status and next steps
- EPIMETHEUS_SESSION_COMPLETE.md - Session summary
- Added all previous documentation to repo

Launch Status: 98% Complete
Blocked on: User actions (npm login + Stripe products)
Ready: Screenshots, testing, submissions, announcements

Next Steps:
1. User: npm login && npm publish (10 min)
2. User: Create Stripe products (5 min)
3. Capture 5 screenshots (15 min)
4. Manual testing on 4 platforms (20 min)
5. Submit to Chrome Web Store (30 min)
6. Launch announcements (10 min)

Total time to launch: ~90 minutes

Agent Body: qwen2.5-coder:7b (open source)
Memory Hash: 4e3d2012
Collaboration: ACTIVE

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-14 12:35:50 -06:00

44 lines
1.2 KiB
JavaScript

const chalk = require('chalk');
const ora = require('ora');
const { getConfig } = require('../config');
const { getGist } = require('../gist');
async function view(options) {
const config = getConfig();
if (!config.token) {
console.log(chalk.yellow('⚠ Not authenticated. Run:'), chalk.cyan('context login\n'));
return;
}
if (!config.gistId) {
console.log(chalk.yellow('⚠ No context initialized. Run:'), chalk.cyan('context init\n'));
return;
}
const spinner = ora('Fetching context...').start();
try {
const gist = await getGist();
spinner.stop();
if (options.raw) {
console.log(gist.content);
} else {
console.log(chalk.bold.cyan('\n📄 Your Context\n'));
console.log(chalk.gray('─'.repeat(60)));
console.log(gist.content);
console.log(chalk.gray('─'.repeat(60)));
console.log(chalk.gray(`\nLast updated: ${new Date(gist.updatedAt).toLocaleString()}`));
console.log(chalk.gray(`Revisions: ${gist.revisions}`));
console.log(chalk.gray(`URL: ${gist.url}\n`));
}
} catch (error) {
spinner.fail(chalk.red('Failed to fetch context'));
console.log(chalk.red(`Error: ${error.message}\n`));
process.exit(1);
}
}
module.exports = view;