feat(knowledge): add @crewcircle/knowledge package with external distribution - #26
Merged
Merged
Conversation
…ribution - Add complete @crewcircle/knowledge package with: - Core types, KnowledgeGraph facade, provider interfaces - MockProvider (in-memory for tests) - EmbeddedProvider (Cognee SQLite+LanceDB+Kuzu for local dev) - PostgresProvider (pgvector + Apache AGE + RLS for production) - Internal domain (standards, decisions, retrospectives, projects) - External domain (TaxFlow, CrewCircle per-app graphs) - R2BackupService for Cloudflare R2 backups - Add external distribution setup: - publishConfig with npm registry, provenance - .npmrc for @crewcircle scope - Changesets for automated versioning/changelog - GitHub Actions CI (typecheck, lint, test, build) - GitHub Actions Release (version + publish on tag) - Release script and documentation - Integrate with admin dashboard: - Knowledge nav item in sidebar - /admin/knowledge page with stats, search, provider status
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
…ith dynamic import in providers/index.ts
… from working dir
…for knowledge package
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds the complete
@crewcircle/knowledgepackage with full external distribution setup via npm.Changes
Package (
packages/knowledge/)MockProvider- In-memory for tests (63 passing tests)EmbeddedProvider- Cognee embedded (SQLite + LanceDB + Kuzu) for local devPostgresProvider- pgvector + Apache AGE + RLS for productionDistribution Setup
publishConfigwith npm registry + provenance attestation.npmrcfor@crewcirclescope./scripts/release.sh [patch|minor|major]Admin Dashboard Integration
/admin/knowledgepage with stat cards, search UI, provider statusTesting
How to Release
External Usage
After first publish: