@litfamily/litcodex 1.0.1 → 1.0.2

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.
Files changed (110) hide show
  1. package/README.md +18 -21
  2. package/dist/cli.d.ts +1 -1
  3. package/dist/cli.js +2 -38
  4. package/dist/install/generated-skill-payload-hashes.d.ts +1 -6
  5. package/dist/install/generated-skill-payload-hashes.js +1 -6
  6. package/dist/install/skill-catalog.d.ts +1 -1
  7. package/dist/install/skill-catalog.js +1 -6
  8. package/dist/install/skill-resource-hashes.d.ts +1 -1
  9. package/dist/install/skill-resource-hashes.js +1 -1
  10. package/marketplace/plugins/litcodex/.codex-plugin/plugin.json +1 -1
  11. package/marketplace/plugins/litcodex/components/auto-update/package.json +1 -1
  12. package/marketplace/plugins/litcodex/components/comment-checker/package.json +1 -1
  13. package/marketplace/plugins/litcodex/components/git-bash/package.json +1 -1
  14. package/marketplace/plugins/litcodex/components/lit-loop/dist/cli.js +3 -20
  15. package/marketplace/plugins/litcodex/components/lit-loop/dist/codex-hook.js +1 -8
  16. package/marketplace/plugins/litcodex/components/lit-loop/dist/hook-cli.d.ts +2 -1
  17. package/marketplace/plugins/litcodex/components/lit-loop/dist/hook-cli.js +4 -27
  18. package/marketplace/plugins/litcodex/components/lit-loop/dist/markers.d.ts +0 -2
  19. package/marketplace/plugins/litcodex/components/lit-loop/dist/markers.js +0 -2
  20. package/marketplace/plugins/litcodex/components/lit-loop/dist/modes.d.ts +1 -3
  21. package/marketplace/plugins/litcodex/components/lit-loop/dist/modes.js +1 -10
  22. package/marketplace/plugins/litcodex/components/lit-loop/package.json +1 -1
  23. package/marketplace/plugins/litcodex/components/lsp/package.json +1 -1
  24. package/marketplace/plugins/litcodex/components/rules/dist/static-injection.js +2 -2
  25. package/marketplace/plugins/litcodex/components/rules/package.json +1 -1
  26. package/marketplace/plugins/litcodex/components/start-work-continuation/package.json +1 -1
  27. package/marketplace/plugins/litcodex/components/telemetry/package.json +1 -1
  28. package/marketplace/plugins/litcodex/components/wikify-knowledge/package.json +1 -1
  29. package/marketplace/plugins/litcodex/skills/browser-drive/scripts/capability-probe.mjs +13 -5
  30. package/node_modules/@litcodex/lit-loop/README.md +1 -7
  31. package/node_modules/@litcodex/lit-loop/dist/cli.js +3 -20
  32. package/node_modules/@litcodex/lit-loop/dist/codex-hook.js +1 -8
  33. package/node_modules/@litcodex/lit-loop/dist/hook-cli.d.ts +2 -1
  34. package/node_modules/@litcodex/lit-loop/dist/hook-cli.js +4 -27
  35. package/node_modules/@litcodex/lit-loop/dist/markers.d.ts +0 -2
  36. package/node_modules/@litcodex/lit-loop/dist/markers.js +0 -2
  37. package/node_modules/@litcodex/lit-loop/dist/modes.d.ts +1 -3
  38. package/node_modules/@litcodex/lit-loop/dist/modes.js +1 -10
  39. package/node_modules/@litcodex/lit-loop/package.json +1 -1
  40. package/node_modules/@litcodex/lit-loop/skills/browser-drive/scripts/capability-probe.mjs +13 -5
  41. package/package.json +2 -2
  42. package/readme-assets/badge-version.svg +1 -1
  43. package/readme-assets/cover-motion.webp +0 -0
  44. package/marketplace/plugins/litcodex/components/lit-loop/directives/skill-observer.md +0 -105
  45. package/marketplace/plugins/litcodex/components/lit-loop/dist/skill-loop/apply.d.ts +0 -16
  46. package/marketplace/plugins/litcodex/components/lit-loop/dist/skill-loop/apply.js +0 -227
  47. package/marketplace/plugins/litcodex/components/lit-loop/dist/skill-loop/config.d.ts +0 -13
  48. package/marketplace/plugins/litcodex/components/lit-loop/dist/skill-loop/config.js +0 -12
  49. package/marketplace/plugins/litcodex/components/lit-loop/dist/skill-loop/curator.d.ts +0 -14
  50. package/marketplace/plugins/litcodex/components/lit-loop/dist/skill-loop/curator.js +0 -112
  51. package/marketplace/plugins/litcodex/components/lit-loop/dist/skill-loop/hook.d.ts +0 -19
  52. package/marketplace/plugins/litcodex/components/lit-loop/dist/skill-loop/hook.js +0 -435
  53. package/marketplace/plugins/litcodex/components/lit-loop/dist/skill-loop/ownership.d.ts +0 -6
  54. package/marketplace/plugins/litcodex/components/lit-loop/dist/skill-loop/ownership.js +0 -145
  55. package/marketplace/plugins/litcodex/components/lit-loop/dist/skill-loop/paths.d.ts +0 -18
  56. package/marketplace/plugins/litcodex/components/lit-loop/dist/skill-loop/paths.js +0 -43
  57. package/marketplace/plugins/litcodex/components/lit-loop/dist/skill-loop/review.d.ts +0 -28
  58. package/marketplace/plugins/litcodex/components/lit-loop/dist/skill-loop/review.js +0 -702
  59. package/marketplace/plugins/litcodex/components/lit-loop/dist/skill-loop/store.d.ts +0 -32
  60. package/marketplace/plugins/litcodex/components/lit-loop/dist/skill-loop/store.js +0 -667
  61. package/marketplace/plugins/litcodex/components/lit-loop/dist/skill-loop/transaction.d.ts +0 -26
  62. package/marketplace/plugins/litcodex/components/lit-loop/dist/skill-loop/transaction.js +0 -524
  63. package/marketplace/plugins/litcodex/components/lit-loop/dist/skill-loop/types.d.ts +0 -81
  64. package/marketplace/plugins/litcodex/components/lit-loop/dist/skill-loop/types.js +0 -246
  65. package/marketplace/plugins/litcodex/components/lit-loop/dist/skill-loop/usage.d.ts +0 -6
  66. package/marketplace/plugins/litcodex/components/lit-loop/dist/skill-loop/usage.js +0 -119
  67. package/marketplace/plugins/litcodex/components/lit-loop/dist/skill-loop-cli.d.ts +0 -8
  68. package/marketplace/plugins/litcodex/components/lit-loop/dist/skill-loop-cli.js +0 -111
  69. package/marketplace/plugins/litcodex/components/lit-loop/dist/skill-observer-cli.d.ts +0 -3
  70. package/marketplace/plugins/litcodex/components/lit-loop/dist/skill-observer-cli.js +0 -116
  71. package/marketplace/plugins/litcodex/components/lit-loop/dist/skill-observer-route.d.ts +0 -6
  72. package/marketplace/plugins/litcodex/components/lit-loop/dist/skill-observer-route.js +0 -12
  73. package/marketplace/plugins/litcodex/components/lit-loop/dist/skill-observer.d.ts +0 -18
  74. package/marketplace/plugins/litcodex/components/lit-loop/dist/skill-observer.js +0 -946
  75. package/marketplace/plugins/litcodex/skills/skill-observer/SKILL.md +0 -215
  76. package/marketplace/plugins/litcodex/skills/skill-observer/agents/openai.yaml +0 -6
  77. package/marketplace/plugins/litcodex/skills/skill-observer/references/review-contract.md +0 -77
  78. package/node_modules/@litcodex/lit-loop/directives/skill-observer.md +0 -105
  79. package/node_modules/@litcodex/lit-loop/dist/skill-loop/apply.d.ts +0 -16
  80. package/node_modules/@litcodex/lit-loop/dist/skill-loop/apply.js +0 -227
  81. package/node_modules/@litcodex/lit-loop/dist/skill-loop/config.d.ts +0 -13
  82. package/node_modules/@litcodex/lit-loop/dist/skill-loop/config.js +0 -12
  83. package/node_modules/@litcodex/lit-loop/dist/skill-loop/curator.d.ts +0 -14
  84. package/node_modules/@litcodex/lit-loop/dist/skill-loop/curator.js +0 -112
  85. package/node_modules/@litcodex/lit-loop/dist/skill-loop/hook.d.ts +0 -19
  86. package/node_modules/@litcodex/lit-loop/dist/skill-loop/hook.js +0 -435
  87. package/node_modules/@litcodex/lit-loop/dist/skill-loop/ownership.d.ts +0 -6
  88. package/node_modules/@litcodex/lit-loop/dist/skill-loop/ownership.js +0 -145
  89. package/node_modules/@litcodex/lit-loop/dist/skill-loop/paths.d.ts +0 -18
  90. package/node_modules/@litcodex/lit-loop/dist/skill-loop/paths.js +0 -43
  91. package/node_modules/@litcodex/lit-loop/dist/skill-loop/review.d.ts +0 -28
  92. package/node_modules/@litcodex/lit-loop/dist/skill-loop/review.js +0 -702
  93. package/node_modules/@litcodex/lit-loop/dist/skill-loop/store.d.ts +0 -32
  94. package/node_modules/@litcodex/lit-loop/dist/skill-loop/store.js +0 -667
  95. package/node_modules/@litcodex/lit-loop/dist/skill-loop/transaction.d.ts +0 -26
  96. package/node_modules/@litcodex/lit-loop/dist/skill-loop/transaction.js +0 -524
  97. package/node_modules/@litcodex/lit-loop/dist/skill-loop/types.d.ts +0 -81
  98. package/node_modules/@litcodex/lit-loop/dist/skill-loop/types.js +0 -246
  99. package/node_modules/@litcodex/lit-loop/dist/skill-loop/usage.d.ts +0 -6
  100. package/node_modules/@litcodex/lit-loop/dist/skill-loop/usage.js +0 -119
  101. package/node_modules/@litcodex/lit-loop/dist/skill-loop-cli.d.ts +0 -8
  102. package/node_modules/@litcodex/lit-loop/dist/skill-loop-cli.js +0 -111
  103. package/node_modules/@litcodex/lit-loop/dist/skill-observer-cli.d.ts +0 -3
  104. package/node_modules/@litcodex/lit-loop/dist/skill-observer-cli.js +0 -116
  105. package/node_modules/@litcodex/lit-loop/dist/skill-observer-route.d.ts +0 -6
  106. package/node_modules/@litcodex/lit-loop/dist/skill-observer-route.js +0 -12
  107. package/node_modules/@litcodex/lit-loop/dist/skill-observer.d.ts +0 -18
  108. package/node_modules/@litcodex/lit-loop/dist/skill-observer.js +0 -946
  109. package/node_modules/@litcodex/lit-loop/skills/skill-observer/SKILL.md +0 -215
  110. package/node_modules/@litcodex/lit-loop/skills/skill-observer/references/review-contract.md +0 -77
@@ -1,32 +0,0 @@
1
- import { type SkillLoopPaths } from "./paths.js";
2
- import { type SkillLedgerEntry, type SkillProposal, type SkillSnapshotItem, type SkillUsageSidecar } from "./types.js";
3
- export interface SkillLoopStoreOptions {
4
- readonly env?: NodeJS.ProcessEnv | undefined;
5
- }
6
- export declare function ensureWorkspaceState(paths: SkillLoopPaths): void;
7
- export declare function ensureAgentRoot(paths: SkillLoopPaths): void;
8
- export declare function atomicWrite(path: string, bytes: string | Buffer, mode?: number): void;
9
- export declare function fsyncDirectory(path: string): void;
10
- export declare function withSkillLoopLock<T>(paths: SkillLoopPaths, work: () => T): T;
11
- export declare function withAgentMutationLock<T>(paths: SkillLoopPaths, work: () => T): T;
12
- export declare function assertAgentMutationLockHeld(paths: SkillLoopPaths): void;
13
- export declare function writeProposalRecord(paths: SkillLoopPaths, proposal: SkillProposal): void;
14
- export declare function readProposalRecord(paths: SkillLoopPaths, id: string): SkillProposal;
15
- export declare function storeProposal(workspaceRoot: string, value: unknown, options?: SkillLoopStoreOptions): SkillProposal;
16
- export declare function storeProposalBatch(workspaceRoot: string, values: readonly unknown[], options?: SkillLoopStoreOptions): SkillProposal[];
17
- export declare function assertNoCanonicalSkillCollision(paths: SkillLoopPaths, skillId: string): void;
18
- export declare function assertTargetNotPinned(paths: SkillLoopPaths, skillId: string): void;
19
- export declare function listProposals(workspaceRoot: string, options?: SkillLoopStoreOptions): SkillProposal[];
20
- export declare function validateLedgerEntry(value: unknown): SkillLedgerEntry;
21
- export declare function appendLedgerEntry(paths: SkillLoopPaths, entry: SkillLedgerEntry): void;
22
- export declare function readLedger(workspaceRoot: string, options?: SkillLoopStoreOptions): SkillLedgerEntry[];
23
- export declare function storeBlob(paths: SkillLoopPaths, bytes: Buffer): SkillSnapshotItem["blob"];
24
- export declare function readBlob(paths: SkillLoopPaths, item: SkillSnapshotItem): Buffer;
25
- export declare function validateSnapshotBlobs(paths: SkillLoopPaths, snapshot: readonly SkillSnapshotItem[]): void;
26
- export declare function snapshotSkill(paths: SkillLoopPaths, skillId: string): SkillSnapshotItem[];
27
- export declare function snapshotDirectory(paths: SkillLoopPaths, directory: string): SkillSnapshotItem[];
28
- export declare function snapshotsEqual(left: readonly SkillSnapshotItem[], right: readonly SkillSnapshotItem[]): boolean;
29
- export declare function writeSnapshotToDirectory(paths: SkillLoopPaths, snapshot: readonly SkillSnapshotItem[], directory: string): void;
30
- export declare function replaceSkillWithSnapshot(paths: SkillLoopPaths, skillId: string, snapshot: readonly SkillSnapshotItem[]): void;
31
- export declare function readUsage(paths: SkillLoopPaths): SkillUsageSidecar | null;
32
- export declare function writeUsage(paths: SkillLoopPaths, sidecar: SkillUsageSidecar): void;