epistemic-technology_co-int.../src
Mike Thicke ebccc7cf5e Fix lint issues from community plugin review
Address the source-code issues flagged by the Obsidian community plugin
review tool (https://community.obsidian.md/account/plugins/co-intelligence):

- Add `App.commands` module augmentation so `executeCommandById` is typed
  rather than an unsafe-any call.
- Cast `processFrontMatter` callbacks to `CoiNoteFrontmatter` (with
  `linked-tags` added to the type) instead of indexing `any` frontmatter.
- Derive provider name in model-service from the registered `Model.provider`
  rather than introspecting the SDK's `LanguageModel.provider`, and type the
  `generateText` params via `Parameters<typeof generateText>[0]`.
- Type the regex `replace` callback args in ChatInterface and notes.ts.
- Drop the dead `triggerChange` prop from UserInput and its call site.
- Rename unused params with `_` prefix and configure
  `@typescript-eslint/no-unused-vars` with `argsIgnorePattern: "^_"`.
- Replace `document.createElementNS`/`createElement` and `el.createEl("div")`
  with Obsidian's `createSvg`, `createDiv`, `createSpan` helpers in settings
  and the suggestion modals.
- Narrow `state.state?.file` from `any` before passing to a string parameter,
  and capture `this.app` outside the monkey-patched closure.
2026-05-12 16:10:25 -04:00
..
commands Fix lint issues from community plugin review 2026-05-12 16:10:25 -04:00
components Fix lint issues from community plugin review 2026-05-12 16:10:25 -04:00
services Fix lint issues from community plugin review 2026-05-12 16:10:25 -04:00
utils Fix lint issues from community plugin review 2026-05-12 16:10:25 -04:00
ChatView.tsx Fix lint issues from community plugin review 2026-05-12 16:10:25 -04:00
CoiChatApp.tsx Fix lint issues from Obsidian plugin review bot 2026-02-13 16:15:21 -05:00
CoIntelligencePlugin.tsx Fix lint issues from community plugin review 2026-05-12 16:10:25 -04:00
obsidian.d.ts Include tags in model context 2025-05-20 17:45:33 -04:00
settings.ts Fix lint issues from community plugin review 2026-05-12 16:10:25 -04:00
styles.css Store API keys in SecretStorage instead of plugin data 2026-04-13 20:56:38 +00:00
types-extended.ts Fix lint issues from community plugin review 2026-05-12 16:10:25 -04:00
types.ts Fix lint issues from community plugin review 2026-05-12 16:10:25 -04:00
versions.json Update required Obsidian version and add versions.json 2025-06-23 15:07:58 -04:00
vite-env.d.ts Improve conformity to Obsidian plugin norms 2025-07-22 23:36:39 -04:00