@getbourdon/participants 0.5.5 → 0.6.0

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/dist/index.d.ts CHANGED
@@ -39,8 +39,13 @@ export { ClaudeDesktopCoworkParticipant } from "./readers/claude-desktop-cowork.
39
39
  export { CopilotVscodeParticipant } from "./readers/copilot-vscode.js";
40
40
  export { DEFAULT_RECENT_THREAD_LIMIT, DEFAULT_TITLE_LIMIT, parseSessionIndex, recentSessionThreads, resolveCodexHome, sessionThreadTitles, } from "./readers/codex-sessions.js";
41
41
  export type { RecentThread } from "./readers/codex-sessions.js";
42
+ export { CROSS_AGENT_LOCK_NAME, LIST_ALL, LIST_APPROVED, LIST_OFF, MAX_LOCK_BYTES, MAX_PATH_HINT_CHARS, MAX_SKILL_REFS, MAX_SKIPPED_FILES, ORIGIN_AUTHORED, ORIGIN_INSTALLED, SCOPE_PROJECT, SCOPE_USER, SKILL_PROJECTS_ENV, SKILL_READERS, SKILL_REF_VISIBILITY, SKILLS_ADVERTISE_ENV, SKILLS_NO_ADVERTISE_ENV, STORE_AGENT, STORE_CROSS_AGENT, VIA_COPY, VIA_LINK, advertisedSkills, claudeCodeSkillSources, codexSkillSources, crossAgentSkillSources, cursorSkillSources, localSkills, originFromLockEntry, readInstallLock, resolveAdvertisedFolder, scanSkillSources, skillSourcesForAgent, skillProjects, skillsAdvertisingEnabled, skillsListingMode, userHome, type LocalSkill, type ScanSkillSourcesOptions, type SkillAdvertiser, type SkillFolderFilter, type SkillScanReport, type SkillSource, type SkillSourceOptions, type SkillsListingMode, type SkippedSkill, } from "./skills.js";
43
+ export { KIND_SKILL, MAX_SHARES_BYTES, SHARE_ACTOR, SHARES_FILENAME, SHARES_VERSION, SkillShareError, addShare, defaultSharesLibrary, loadShares, removeShares, shareAppliesTo, shareFolderKey, shareKey, shareSourceKey, shareToDict, sharesPath, type AddShareOptions, type SkillShare, } from "./skill-shares.js";
44
+ export { MAX_REFERENCE_FILE_BYTES, MAX_REFERENCE_FILES, MAX_SKILL_BODY_BYTES, MAX_SKILL_TOTAL_BYTES, SKILL_BODY_NAME, SKIP_REASONS, SkillContentError, TEXT_FILE_SUFFIXES, codePointSlice, computeContentSha256, parseFrontMatter, pyStrip, readSkillFolder, scanLocalSkill, type LocalSkillScan, type SkillContent, type SkillFrontMatter, type SkippedFile, } from "./skill-index.js";
45
+ export { DEFAULT_SKILL_VISIBILITY, FILES_DIRNAME, INDEX_ROW_NAME, InvalidSkillRowError, MAX_INDEX_ROW_BYTES, SKILL_INDEX_SPEC_VERSION, SKILL_STORE_WRITE_POLICY, SKILLS_DIRNAME, SkillIndexError, SkillIndexRow, SkillNameCollisionError, SkillNotFoundError, SkillVersionConflictError, VERSIONS_DIRNAME, getSkillRow, listSkillRows, listSkillVersions, loadIndexRow, promoteSkill, readSharedSkill, setSkillValidTo, skillDir, skillsRoot, suggestAvailableName, validateIndexRow, validateSkillName, verifySharedSkill, writeIndexRow, type PromoteSkillOptions, type PromotionResult, } from "./skill-store.js";
46
+ export { BALLOT_OPTIONS, CONTENT_DIRNAME, PROPOSALS_DIRNAME, PROPOSER_QUARANTINED, PROPOSER_TRUSTED, ProposalDigestMismatchError, ProposalNotFoundError as SkillProposalNotFoundError, ProposalStateError, RECORD_NAME, SKILL_PROPOSAL_LIMITS, STATUS_APPROVED, STATUS_PENDING, STATUS_REJECTED, SkillProposalError, advisoryTally, approveProposal, collisionFor, createProposal, isProposalId, listProposals, loadProposal, openAdvisoryBallot, proposalFromDict, proposalSummary, proposalToDict, proposalsRoot, readProposalContent, rejectProposal, retireSharedSkill, rollbackSharedSkill, type AdvisoryTally, type ApprovalResult, type ApproveProposalOptions, type CreateProposalOptions, type RejectProposalOptions, type RollbackResult, type SkillProposal, } from "./skill-proposals.js";
42
47
  export { FIRST_PARTY, discoverParticipants, resolvePluginParticipants, type ParticipantCtor, } from "./registry.js";
43
- export { Visibility, applyVisibility, filterForFederation, toDict, validateManifest, type EntityModel, type L5ManifestModel, type SessionModel, type VisibilityPolicyModel, } from "@getbourdon/l5";
48
+ export { Visibility, applyVisibility, filterForFederation, toDict, validateManifest, type EntityModel, type L5ManifestModel, type SessionModel, type SkillRefModel, type VisibilityPolicyModel, } from "@getbourdon/l5";
44
49
  export { ExportStoreParticipant, isoDate, parseVisibility, safeStr, safeStrList, type ExportStoreConfig, } from "./export-store-base.js";
45
50
  export { BOLT_CONFIG, BoltParticipant } from "./readers/bolt.js";
46
51
  export { LOVABLE_CONFIG, LovableParticipant } from "./readers/lovable.js";
package/dist/index.js CHANGED
@@ -47,6 +47,15 @@ export { CopilotVscodeParticipant } from "./readers/copilot-vscode.js";
47
47
  // Codex session-index title lookup (NOT the full codex reader — only the
48
48
  // tray/presence `session_id -> thread_name` surface).
49
49
  export { DEFAULT_RECENT_THREAD_LIMIT, DEFAULT_TITLE_LIMIT, parseSessionIndex, recentSessionThreads, resolveCodexHome, sessionThreadTitles, } from "./readers/codex-sessions.js";
50
+ // Skill readers (plan 005: advertise local skills as L5 SkillRefs, discovery only).
51
+ export { CROSS_AGENT_LOCK_NAME, LIST_ALL, LIST_APPROVED, LIST_OFF, MAX_LOCK_BYTES, MAX_PATH_HINT_CHARS, MAX_SKILL_REFS, MAX_SKIPPED_FILES, ORIGIN_AUTHORED, ORIGIN_INSTALLED, SCOPE_PROJECT, SCOPE_USER, SKILL_PROJECTS_ENV, SKILL_READERS, SKILL_REF_VISIBILITY, SKILLS_ADVERTISE_ENV, SKILLS_NO_ADVERTISE_ENV, STORE_AGENT, STORE_CROSS_AGENT, VIA_COPY, VIA_LINK, advertisedSkills, claudeCodeSkillSources, codexSkillSources, crossAgentSkillSources, cursorSkillSources, localSkills, originFromLockEntry, readInstallLock, resolveAdvertisedFolder, scanSkillSources, skillSourcesForAgent, skillProjects, skillsAdvertisingEnabled, skillsListingMode, userHome, } from "./skills.js";
52
+ // Per-skill share approvals: which local skills a participant may list.
53
+ export { KIND_SKILL, MAX_SHARES_BYTES, SHARE_ACTOR, SHARES_FILENAME, SHARES_VERSION, SkillShareError, addShare, defaultSharesLibrary, loadShares, removeShares, shareAppliesTo, shareFolderKey, shareKey, shareSourceKey, shareToDict, sharesPath, } from "./skill-shares.js";
54
+ export { MAX_REFERENCE_FILE_BYTES, MAX_REFERENCE_FILES, MAX_SKILL_BODY_BYTES, MAX_SKILL_TOTAL_BYTES, SKILL_BODY_NAME, SKIP_REASONS, SkillContentError, TEXT_FILE_SUFFIXES, codePointSlice, computeContentSha256, parseFrontMatter, pyStrip, readSkillFolder, scanLocalSkill, } from "./skill-index.js";
55
+ // The shared skill store (plan 005: <library>/skills, written only by promotion).
56
+ export { DEFAULT_SKILL_VISIBILITY, FILES_DIRNAME, INDEX_ROW_NAME, InvalidSkillRowError, MAX_INDEX_ROW_BYTES, SKILL_INDEX_SPEC_VERSION, SKILL_STORE_WRITE_POLICY, SKILLS_DIRNAME, SkillIndexError, SkillIndexRow, SkillNameCollisionError, SkillNotFoundError, SkillVersionConflictError, VERSIONS_DIRNAME, getSkillRow, listSkillRows, listSkillVersions, loadIndexRow, promoteSkill, readSharedSkill, setSkillValidTo, skillDir, skillsRoot, suggestAvailableName, validateIndexRow, validateSkillName, verifySharedSkill, writeIndexRow, } from "./skill-store.js";
57
+ // Skill proposals (plan 005, phase 4: the human approval gate before promotion).
58
+ export { BALLOT_OPTIONS, CONTENT_DIRNAME, PROPOSALS_DIRNAME, PROPOSER_QUARANTINED, PROPOSER_TRUSTED, ProposalDigestMismatchError, ProposalNotFoundError as SkillProposalNotFoundError, ProposalStateError, RECORD_NAME, SKILL_PROPOSAL_LIMITS, STATUS_APPROVED, STATUS_PENDING, STATUS_REJECTED, SkillProposalError, advisoryTally, approveProposal, collisionFor, createProposal, isProposalId, listProposals, loadProposal, openAdvisoryBallot, proposalFromDict, proposalSummary, proposalToDict, proposalsRoot, readProposalContent, rejectProposal, retireSharedSkill, rollbackSharedSkill, } from "./skill-proposals.js";
50
59
  // Discovery (static registry).
51
60
  export { FIRST_PARTY, discoverParticipants, resolvePluginParticipants, } from "./registry.js";
52
61
  // Re-exported from @getbourdon/l5 for convenience (the L5 model + serialization