@ampless/plugin-ai-actions 0.1.0-beta.0 → 0.1.0-beta.1

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/README.ja.md CHANGED
@@ -83,7 +83,7 @@ inline-script capability の新設か plugin asset 配信の仕組みが無い
83
83
 
84
84
  (読みやすさのために改行・インデントを加えています。実際の出力に要素間の空白はありません。)
85
85
 
86
- - クラス名(`ampless-ai-actions` / `ampless-ai-actions-md` / `ampless-ai-actions-claude` / `ampless-ai-actions-chatgpt` / `ampless-ai-actions-sep`)はテーマ CSS のための安定したフックです。デフォルト CSS は注入しません。
86
+ - クラス名(`ampless-ai-actions` / `ampless-ai-actions-md` / `ampless-ai-actions-claude` / `ampless-ai-actions-chatgpt` / `ampless-ai-actions-sep`)はテーマ CSS のための安定したフックです。site テンプレートの `globals.css` に控えめな既定スタイル(ピル型リンク)が同梱されます。ゼロ詳細度(`:where()`)なので、テーマ CSS で自由に上書きできます。
87
87
  - ラベル("View as Markdown" / "Open in Claude" / "Open in ChatGPT")は v1 では英語固定です。ロケール対応は要望が出てから検討します。
88
88
  - 「Markdown で表示」リンクは `site.url` が設定されていても常に**相対パス**(`/<slug>.md`)です — ページがどのドメインで配信されていても機能します。
89
89
  - Claude/ChatGPT リンクは外部サービスに渡すため**絶対 URL** が必要です。実効 `site.url` が空の場合、有効化していてもこの 2 リンクは省略され、「Markdown で表示」のみ描画されます。
@@ -97,5 +97,5 @@ inline-script capability の新設か plugin asset 配信の仕組みが無い
97
97
 
98
98
  - **Copy Markdown(クリップボード)** — 上記[「Copy Markdown」ボタンが無い理由](#copy-markdown-ボタンが無い理由)を参照。
99
99
  - **MCP 接続情報** — サイトの MCP endpoint を案内するリンク / QR コードは、将来の公開読み取り専用 MCP サーバーの提供後に検討予定です。
100
- - **テーマ CSS** — 安定したクラス名は提供しますが、デフォルト CSS は注入しません。
100
+ - **テーマ固有の CSS** — プラグイン自体はテーマごとのスタイルを持ちません。site テンプレートの `globals.css` にニュートラルな既定スタイル(ピル型リンク)がゼロ詳細度(`:where()`)で同梱されるのみで、それ以上の見た目は安定クラス名を使ったテーマ CSS の担当です。
101
101
  - **ロケール別ラベル** — 未対応です。リンクテキストは英語固定で、プラグインを複数回登録しても解決になりません(全 instance が同じ position バケットに描画されるため、テーマがロケール別のスロットを選べません)。要望が出た時点で検討します。
package/README.md CHANGED
@@ -83,7 +83,7 @@ Without an inline-script capability or a plugin asset delivery mechanism, there'
83
83
 
84
84
  (Whitespace added above for readability — the actual output has no whitespace between elements.)
85
85
 
86
- - The class names (`ampless-ai-actions`, `ampless-ai-actions-md`, `ampless-ai-actions-claude`, `ampless-ai-actions-chatgpt`, `ampless-ai-actions-sep`) are stable hooks for theme CSS. No default styling is injected.
86
+ - The class names (`ampless-ai-actions`, `ampless-ai-actions-md`, `ampless-ai-actions-claude`, `ampless-ai-actions-chatgpt`, `ampless-ai-actions-sep`) are stable hooks for theme CSS. A modest default style (pill-shaped links) ships in the site template's `globals.css`, at zero specificity (`:where()`) so theme CSS can freely override it.
87
87
  - Labels ("View as Markdown", "Open in Claude", "Open in ChatGPT") are fixed English strings in v1 — locale-aware labels are deferred until requested.
88
88
  - The "View as Markdown" link is always **relative** (`/<slug>.md`), even when `site.url` is configured — it works regardless of the domain the page is served from.
89
89
  - The Claude/ChatGPT links require an **absolute** `.md` URL (external services need a full URL). When the effective `site.url` is empty, those two links are omitted even if enabled — only "View as Markdown" renders.
@@ -97,5 +97,5 @@ Without an inline-script capability or a plugin asset delivery mechanism, there'
97
97
 
98
98
  - **Copy Markdown (clipboard)** — see [Why no "Copy Markdown" button](#why-no-copy-markdown-button) above.
99
99
  - **MCP connection info** — a link/QR code pointing readers at the site's MCP endpoint is planned for a later phase, once the public read-only MCP server ships.
100
- - **Theme CSS** — stable class names are provided; no default CSS is injected.
100
+ - **Theme-specific CSS** — the plugin ships no per-theme styling. A neutral default (pill-shaped links) comes from the site template's `globals.css` at zero specificity (`:where()`); anything beyond that is up to theme CSS via the stable class names.
101
101
  - **Locale-aware labels** — not supported. Link text is a fixed English string, and registering the plugin multiple times does not help: all instances render into the same position bucket, so themes cannot pick a per-locale slot. Deferred until requested.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ampless/plugin-ai-actions",
3
- "version": "0.1.0-beta.0",
3
+ "version": "0.1.0-beta.1",
4
4
  "description": "AI actions plugin for ampless — injects a View as Markdown link (and optional opt-in Open in Claude / Open in ChatGPT links) after (or before) the post content",
5
5
  "license": "MIT",
6
6
  "type": "module",