egregore-artifacts 0.10.0 → 0.10.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.
@@ -51,10 +51,7 @@ function badge(text, opts = {}) {
51
51
 
52
52
  export function emissaryTemplate(em) {
53
53
  const sections = [];
54
- const launchUrl = em.raw_url || em.render_url || '';
55
- const launchPrompt = launchUrl
56
- ? `Run this Egregore ${em.kind || 'packet'} packet for me: ${launchUrl}`
57
- : '';
54
+ const shareLink = em.render_url || em.raw_url || '';
58
55
 
59
56
  // ── Header — sigil + label, title, author + badges ────────────
60
57
  const distLabel = em.distribution_mode === 'directed' ? 'directed' : 'public link';
@@ -119,36 +116,30 @@ export function emissaryTemplate(em) {
119
116
  fontSize: '15px', fontWeight: 600, marginBottom: '6px',
120
117
  fontFamily: fonts.sans,
121
118
  },
122
- }, 'Engage this emissary'),
119
+ }, 'Open this emissary'),
123
120
  h('div', { style: { color: 'var(--muted)', fontSize: '14px' } },
124
- 'Copy the launch prompt into Claude, ChatGPT, Codex, or another AI harness. ',
125
- 'If you paste only the link, the assistant may ask whether you want to run it.'),
126
- launchPrompt && h('div', {
121
+ 'Paste the link into Claude, ChatGPT, Codex, or another AI harness. ',
122
+ 'With the receiver skill installed, your agent opens the emissary; otherwise it asks first.'),
123
+ shareLink && h('div', {
127
124
  style: {
128
125
  marginTop: '10px', padding: '8px 12px',
129
126
  background: 'var(--subtle-fill)', borderRadius: '6px',
130
127
  fontFamily: fonts.mono, fontSize: '13px', wordBreak: 'break-all',
131
128
  },
132
- }, launchPrompt),
133
- launchPrompt && h('div', { className: 'eg-copy-row' },
134
- h('button', {
129
+ }, shareLink),
130
+ h('div', { className: 'eg-copy-row' },
131
+ shareLink && h('button', {
135
132
  type: 'button',
136
133
  className: 'eg-copy-button',
137
- 'data-copy-text': launchPrompt,
138
- 'data-copy-label': 'Copy as prompt',
139
- }, 'Copy as prompt'),
134
+ 'data-copy-text': shareLink,
135
+ 'data-copy-label': 'Copy link',
136
+ }, 'Copy link'),
140
137
  em.raw_url && h('button', {
141
138
  type: 'button',
142
139
  className: 'eg-copy-button',
143
140
  'data-copy-text': em.raw_url,
144
141
  'data-copy-label': 'Copy JSON link',
145
142
  }, 'Copy JSON link'),
146
- em.render_url && h('button', {
147
- type: 'button',
148
- className: 'eg-copy-button',
149
- 'data-copy-text': em.render_url,
150
- 'data-copy-label': 'Copy page link',
151
- }, 'Copy page link'),
152
143
  ),
153
144
  )
154
145
  );
@@ -161,11 +152,11 @@ export function emissaryTemplate(em) {
161
152
  fontSize: '15px', fontWeight: 600, marginBottom: '6px',
162
153
  fontFamily: fonts.sans,
163
154
  },
164
- }, 'About Egregore packets'),
155
+ }, 'About Egregore emissaries'),
165
156
  h('div', { style: { color: 'var(--muted)', fontSize: '14px', lineHeight: 1.55 } },
166
- 'An Egregore packet is a user-shared task bundle: purpose, intake questions, ',
157
+ 'An Egregore emissary is a user-shared task bundle: purpose, intake questions, ',
167
158
  'and an output spec. This preview shows the author, verification badge, ',
168
- 'visibility, kind, creation date, expiry, and structured JSON source. The packet ',
159
+ 'visibility, kind, creation date, expiry, and structured JSON source. The ',
169
160
  'source is available as JSON for AI tools that can read it. Egregore is ',
170
161
  h('a', {
171
162
  href: 'https://github.com/egregore-labs/egregore',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "egregore-artifacts",
3
- "version": "0.10.0",
3
+ "version": "0.10.1",
4
4
  "description": "Generate branded HTML artifacts from Egregore data",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -34,5 +34,10 @@
34
34
  "html",
35
35
  "branded",
36
36
  "claude-code"
37
- ]
37
+ ],
38
+ "repository": {
39
+ "type": "git",
40
+ "url": "git+https://github.com/Curve-Labs/egregore.git",
41
+ "directory": "packages/egregore-artifacts"
42
+ }
38
43
  }